LESSON 1

Technical Documentation Fundamentals

Understand who documentation is for, the four kinds of documentation, what makes it good, and how to plan a documentation set with a gap analysis.

Introduction

The release candidate from the previous course has passed its quality gates. Now imagine handing it over. A pilot customer’s developer wants to send feedback to the API. A new engineer joins on Monday. An administrator wants to import a spreadsheet. An on-call engineer is paged at night.

Each of them has a question, and each will find an answer somewhere: in the documentation, in the code, in a chat message to whoever remembers, or by guessing. This lesson is about making the first option the best one, starting with a plan rather than with writing.

Learning Objectives

  • Explain why documentation is a product with readers, not a by-product of development.
  • Identify audiences and the questions each one brings.
  • Distinguish tutorials, how-to guides, reference, and explanation, and know when each is needed.
  • Describe the qualities of good documentation.
  • Build a documentation inventory and a gap analysis.
  • Describe where AI helps and where it does not in documentation.

1. Why Documentation Matters

Undocumented knowledge has a cost, even though it never appears on an invoice:

  • Onboarding time. Every new engineer repeats the same discoveries.
  • Interruptions. The people who know the answers are asked again and again.
  • Bus factor. When one person holds critical knowledge, that person’s absence is a project risk.
  • Integration friction. External developers abandon APIs they cannot figure out in the first hour.
  • Slow incidents. At night, nobody has time to reverse-engineer how a component works.
  • Repeated mistakes. Decisions made for good reasons get reversed by people who never learned the reasons.

Documentation also has a cost: writing it, reviewing it, and keeping it true. Wrong documentation is worse than none, because readers trust it. The goal is therefore not “more documentation” but the right documentation, for identified readers, kept accurate.

2. Audiences and Their Questions

Start with readers. A document written for “everyone” usually serves nobody.

Audience Typical questions Needs
New engineer How do I run it? How is it organized? How do I change it safely? README, developer guide, architecture overview
Integrating developer How do I authenticate? What does this endpoint return? What went wrong? API reference, quickstart, error catalog
End user (administrator, analyst) How do I import my data? What does this screen mean? Getting started, how-to guides, troubleshooting
On-call or operations engineer What is running where? How do I recover? Architecture views, runbooks, known issues
Product owner or stakeholder What does it do now? What are the limits? Release notes, known issues, capabilities summary
Security or compliance reviewer Where does data go? Who can access what? Architecture, data flow, decision records
Future maintainer Why was it built this way? Decision records, rationale

For each audience, write down their job to be done and their starting knowledge. A developer integrating the API knows HTTP and JSON but not SignalDesk’s vocabulary. An administrator knows what customer feedback is but not what a CSV encoding is.

If you completed the Product Discovery course, reuse the personas. They already describe your users.

3. Four Kinds of Documentation

A well-known framework (often called Diátaxis) separates documentation by the reader’s need. Mixing the kinds is one of the most common reasons documents feel confusing.

Kind Reader’s need Characteristics SignalDesk example
Tutorial “Teach me by doing” Guided lesson with a guaranteed successful result; for newcomers “Import your first feedback file”
How-to guide “Help me achieve a specific goal” Steps for a known task; assumes basic knowledge “How to fix rows rejected as duplicates”
Reference “Tell me the facts” Complete, accurate, structured, neutral; consulted, not read API endpoints, CSV column specification, error codes
Explanation “Help me understand” Context, reasons, trade-offs, concepts “How duplicate detection works and why”, architecture decisions

Practical consequences:

  • A tutorial should not stop to explain every concept. Link to the explanation.
  • Reference should not contain opinions or tutorials. It lists facts.
  • A how-to guide starts from a goal, not from a feature (“Import feedback,” not “The Import screen”).
  • Explanation is the kind most often missing, and its absence is why teams repeat their old arguments.

Each document should be mostly one kind. If a page tries to be all four, split it and cross-link.

4. What Good Documentation Looks Like

Quality What it means A test
Accurate What it says is true of the current system Follow it; run it; compare with the code or spec
Task-oriented Organized around what readers want to do Can you name the reader’s goal for each page?
Findable Readers reach it with the words they have Can a newcomer find the page in under a minute?
Complete enough Covers what the audience needs, and says what it omits Are the top ten questions answered?
Concise and clear Plain words, short sentences, one idea at a time Can a non-expert paraphrase it?
Consistent Same terms, structure, and tone throughout Does a glossary exist and get used?
Current Updated when the system changes Does it have an owner and a review date?
Verifiable Claims and examples can be checked, ideally automatically Is there a check that fails when it is wrong?

Accuracy and currency decide trust. A reader who discovers one wrong command stops trusting the rest. Much of this course concerns making accuracy checkable.

5. The Documentation Set for SignalDesk

Over the course you will build these documents. Each is a product with an audience.

Document set Main audience Kind(s) Lesson
Docs-as-code repository and pipeline Maintainers Reference, how-to 3
API documentation Integrating developers Reference, tutorial, how-to 4
Code documentation Engineers Reference, explanation 5
Architecture documentation Engineers, operators, reviewers Explanation, reference 6
Architecture Decision Records Maintainers, reviewers Explanation 7
README and developer guides New engineers Tutorial, how-to 8
User documentation End users, administrators Tutorial, how-to, reference 9
Maintenance plan Maintainers How-to, explanation 10

6. Inventory and Gap Analysis

Before writing, find out what you have. Many projects have more documentation than they realize, scattered across wikis, tickets, comments, and chat.

Build an inventory with these columns:

Column Purpose
Location Where it lives (repo path, wiki, ticket)
Audience Who it is for
Kind Tutorial, how-to, reference, explanation
Source of truth What it was derived from (code, spec, decision)
Last verified When someone confirmed it is true
Owner Who fixes it when it is wrong
Status Current, outdated, duplicate, missing

Then compare it with what each audience needs. A gap analysis lists, per audience, the top questions and whether a document answers them today. Prioritize gaps by how often the question is asked and how costly a wrong or missing answer is. An undocumented rollback procedure outranks a missing glossary entry.

Take your inputs from earlier courses: the SRS (what the system should do), the architecture documentation and decision records (how and why), the QA strategy and release assessment (how to test it and what is known to be broken), and the codebase itself.

7. Where AI Helps and Where It Does Not

Helps with

  • Producing outlines and first drafts from supplied sources.
  • Rewriting for clarity, tone, reading level, and consistency.
  • Acting as a naive reader who follows your instructions literally and reports where they fail.
  • Finding gaps, contradictions, and undefined terms across documents.
  • Drafting changelogs, summaries, and variants for different audiences.

Does not replace

  • Knowing what is actually true of your system today.
  • Explaining why a decision was made, when it was not written down anywhere.
  • Deciding what is safe, supported, or promised to customers.
  • Understanding what readers struggle with, which comes from watching them.
  • Accountability for the accuracy of what is published.

The central risk is plausible fiction. A model asked to document an API it has not seen will describe a sensible-looking API. A model given the code but not the intent will describe what the code does and invent a reason. Fluency hides both errors. The next lesson is devoted to controlling this.

8. Using AI to Build the Inventory and Gap Analysis

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Act as a documentation analyst for a software project.

Inputs:
- Repository file tree: [paste]
- Existing documentation files (or excerpts): [paste]
- Audiences and their jobs to be done: [paste]
- Earlier project artifacts (SRS, architecture overview, QA
  strategy, release assessment): [paste or summarize]

Tasks:
1. Produce an inventory table: location, audience, kind, apparent
   source of truth, and any sign of being outdated.
2. For each audience, list the ten questions they most likely have.
3. Mark each question as answered, partly answered, or unanswered,
   and cite where.
4. Identify duplicated or contradictory documents.
5. Propose a prioritized list of documents to write or fix, with
   reasons.

Do not claim a document exists unless it appears in the inputs.
Mark guesses as guesses.

Check the inventory against the actual repository. The model will sometimes “find” documents that do not exist or miss ones that do.

9. Practical Exercise

For SignalDesk (or your project):

  1. List your audiences and, for each, the job to be done and the starting knowledge. Reuse personas if you have them.
  2. For each audience, write the ten most likely questions.
  3. Build the inventory of everything that is already written down, wherever it lives.
  4. Run the gap analysis prompt, then verify it against the real repository and correct it.
  5. Classify each existing document by kind. Mark any that mixes kinds.
  6. Produce a prioritized documentation plan: which documents, for whom, in what order, and who owns each.
  7. Create a documentation workspace folder holding the audiences, inventory, gap analysis, and plan.

Verification

You are ready to continue when:

  • Every audience has a stated job to be done and a list of questions.
  • Every existing document is in the inventory with audience, kind, and status.
  • Gaps are prioritized by frequency and cost, not by convenience.
  • Each planned document has an audience, a kind, a source of truth, and a proposed owner.
  • You verified the AI-produced inventory against the real repository.

Key Takeaways

  • Documentation is a product for identified readers, not a by-product of development.
  • The four kinds (tutorial, how-to, reference, explanation) serve different needs; keep them separate.
  • Accuracy and currency create trust, and one wrong instruction damages all of it.
  • Plan from audiences and gaps, not from what is easy to write.
  • AI accelerates drafting and review; people hold the truth and the accountability.

What’s Next?

AI can write a page in seconds, which makes it more important to control what goes into the page. Next, we build a disciplined way to write documentation with AI: grounding drafts in sources, giving the model a style guide, and verifying every claim.