Tickd.ai
← The Tickd Guide

Ethics & Responsible Use

How to Ethically Use AI to Draft Technical Tutorials (Without Spreading Confident Nonsense)

The internet is drowning in broken, AI-generated code tutorials that waste developers' time. Here is a practical, rigorous framework for using LLMs to write technical content responsibly.

Updated 9/13/2026

The Epidemic of the Broken Hello World

We have all been there. You are trying to configure a slightly niche library—say, setting up a local SQLite vector extension—and you search for a quick guide. You find a beautifully formatted, highly detailed tutorial that looks like exactly what you need.

You copy the initialization code. You run it. It crashes with an obscure syntax error.

You search the documentation of the library, only to discover that the API method used in the tutorial doesn't exist, was deprecated in 2021, or belongs to an entirely different library with a similar name. The author of that tutorial didn't test their code. In fact, they didn't even write it. They asked an LLM to write a tutorial, pasted it onto their blog, and hit publish.

This isn't just lazy; it is an ethical failure. As technical writers and developers, our readers trust us with their most valuable asset: their time. Every time you publish a tutorial with unchecked, hallucinated AI code, you are stealing fifteen minutes of frustrating debugging time from every developer who lands on your page.

If we are going to use AI to write technical content, we have to establish a protocol that keeps our tutorials accurate, educational, and genuinely useful. Here is how to make a great tutorial tick without contributing to the mountain of confident nonsense currently polluting the web.

The Golden Rule: The Code Controls the Narrative

The fundamental mistake of AI-assisted writing is letting the LLM write the code and the prose simultaneously. If you prompt an LLM with: "Write a tutorial on how to build a CLI tool using Node.js and the Gemini API," it will generate a plausible-looking codebase and write a story around it. But because LLMs prioritise linguistic plausibility over logical execution, that code is a ticking time bomb of hallucinated parameters.

To write an ethical tutorial, you must flip this workflow on its head. The code must exist, run, and be verified in a real development environment before a single word of prose is generated.

Your development pipeline should look like this:

  1. Write the codebase first: Build the project locally in your IDE. Do not use AI to generate the core logic unsupervised.
  2. Verify with strict environments: If you are writing a tutorial for Node 20, run your code in a clean Docker container running Node 20. Ensure there are no global dependencies on your local machine making the code work by accident.
  3. Establish version control: Save your working project to a public repository.

Only when you have verified that your code compiles, runs, and achieves the desired result should you bring an AI into the loop. The AI's job is to explain your working code, not to invent code to fit an explanation.

Using LLMs to Explain, Not Invent

Once you have a working codebase, you can ethically leverage LLMs to help structure your tutorial and write clear explanations. You can use platforms like OpenAI or Claude as editorial partners.

When feeding your code to the LLM, pass the actual configuration files (like package.json or requirements.txt) along with the code. This ensures the model has context on exact version numbers and doesn't suggest outdated patterns.

Use a prompt that limits the model's creative freedom. For example:

`text I have written a working Python script that interfaces with the Gemini API to transcribe audio. The code runs perfectly.

Your task is to help me write the draft prose for a step-by-step tutorial.

CRITICAL DIRECTIVES: 1. Do not alter, edit, or simplify the provided code blocks in any way. They must be presented exactly as written. 2. When explaining how a function works, reference the exact line numbers and variable names used in the code. 3. If you do not understand why a specific parameter is used, ask me for clarification instead of guessing or inventing an explanation. 4. Avoid generic introductory filler. Start directly with the prerequisites. `

This prompt keeps the AI on a short leash. It prevents the model from "fixing" your code during the drafting phase—a common issue where LLMs will silently rewrite your working code into a non-functional, "cleaner" version because it fits their training data patterns better.

Pruning the AI "Fluff"

LLMs are incredibly polite, incredibly verbose, and incredibly predictable. If you let an LLM write your tutorial prose unchecked, your article will read like a generic corporate press release.

Watch out for—and aggressively delete—the following AI-isms:

  • The Mythic Journey: "In this tutorial, we will embark on a journey to explore the powerful capabilities of..." (Real developers just want to build the tool. Skip the journey.)
  • The Grandiose Conclusion: "In conclusion, this setup is a testament to the power of modern frameworks..." (It's a CLI tool, not the moon landing. Calm down.)
  • The Empty Transition: "Before we dive into the code, it is important to remember that..."

Real developer trust is built on brevity, clarity, and respect for the reader's intelligence. Keep your explanations direct. If you need help refining your prompt to maintain a sharp, human tone, take a look at our prompt generator tool for tips on writing concise system constraints.

Transparency: How to Disclose AI Assistance

Should you disclose that you used AI to help write your technical tutorial? Yes, but not in a way that suggests you didn't do the work.

An ethical disclosure shouldn't be a generic disclaimer at the bottom of the page that reads: "Some parts of this article were generated by AI." That tells the reader nothing and lowers their trust in your content.

Instead, be specific about your methodology. Here is a great example of an ethical, high-trust disclosure:

> "Author's Note: The codebase for this tutorial was built, tested, and verified locally by me in a clean Node 21 environment. I used Claude 3.5 Sonnet to help structure the step-by-step prose explanations of the code blocks to ensure the guide is clear and easy to follow."

This tells your readers that you did the heavy lifting, that you personally guarantee the code works, and that you used AI as a professional copyeditor—not as a ghostwriter of untested code.

If you ever experience issues with your LLM code-generation models failing to parse complex syntax patterns, check out Claude Support for troubleshooting API failures.

Writing technical content is a responsibility. By ensuring your code runs first, using AI only as an explainer, and being completely honest about your process, you can produce guides that respect your reader's time and elevate the standard of dev-to education.

ethicstechnical-writingcodingsoftware-development

Keep going

Build something with the prompt generator, decode the jargon in the glossary, or compare the tools on our platform deep-dives.