The journey
Stage 1 — Identify the documentation need and classify it
You identify a gap in the project’s documentation — something users need to know that isn’t written down, or is written in the wrong form. The agent activates new-guide, asks what the guide needs to cover, and helps classify it into the correct Diátaxis category.
You: Make the classification decision at the G-classify gate. This is the most consequential decision in the documentation session — the wrong category means the wrong structure, the wrong voice, and the wrong reader. If you’re unsure between how-to and tutorial, ask: is this reader learning, or is this reader doing? Learning → tutorial. Doing → how-to.
Stage 2 — Draft the guide
With the category confirmed, the agent scaffolds the guide in the correct guides/ subdirectory and drafts the content — entry conditions, steps or information organized by category structure, and exit conditions.
You: Watch the draft take shape. For how-tos: check that every step is an action, not a paragraph of explanation. Explanation belongs in a linked explanation document. For tutorials: confirm the reader can follow the steps sequentially and arrive at a working outcome, not just a theoretical understanding.
Stage 3 — Review and merge
After the draft completes, you review at the G-review gate for structure consistency and category fidelity, then the agent opens a PR.
You: Read the guide as a first-time reader — not as the author who knows what it means. If you have to re-read a sentence twice to understand what action it’s asking for, it needs rewriting. If a paragraph of background explanation appears in the middle of a how-to, flag it for extraction into a linked explanation document. Merge after the review gate passes.