| description | argument-hint | |
|---|---|---|
Build high-impact documentation grounded in best practices |
|
Use this when drafting or overhauling docs. It works for net-new guides, branch-specific updates, or sweeping improvements. Pass TYPE if you already know the Diataxis bucket.
- Audience: skill level, prerequisites, and the “job to be done.”
- Outcome: what readers can do immediately after (e.g., “deploy first webhook”).
- Funnel placement (Matt Palmer Rule 2): decide how the doc answers
What/Why,Quickstart, andNext steps.
- Tutorials = end-to-end build; How-tos = focused tasks; Reference = exhaustive facts; Explanations = concepts/why.
- Sketch navigation: headings as informative sentences, table of contents, and cross-links to landing/next guides.
- Ensure each section opens with the takeaway sentence (OpenAI “takeaways up front”).
- Short paragraphs, topic-first sentences, bullets/tables for option lists, bold only the key command/result.
- Use imperative voice, avoid left-branching sentences, remove vague pronouns (“this” → concrete noun).
- Favor precise terms (“input”, “max token limit”), avoid jargon or explain it inline.
- Keep critical info in text (not just images). Provide copy-ready commands and self-contained code.
- Embed automation hooks: mention or add llms.txt, MCP endpoints, or repo templates if relevant.
- Add “Next steps” or decision tables so agents and humans can follow recommended paths.
- Note background tasks: link/lint checks, Vale rules, or CI required for this doc.
- Structure/navigation:
Accordion,Step,Tab,Sticky table,Anchor. - Emphasis/context:
Callout,Aside,Badge,Tooltip,Card. - Actions/resources:
Button,Copy,Download,Files,Frame,Icon. - API depth:
Code block,Endpoint request/response/schema,Runnable endpoint,Parameter field. - Pick components that reduce cognitive load; mention in the draft where each should appear if authoring outside Fern.
- Cover prerequisites (access, keys, roles), setup, common failure modes, and rollback steps.
- Ensure code samples follow safe patterns (no hard-coded secrets, least-privilege scopes).
- Include performance/limit callouts, pricing or quota notes, and links to reference tables.
- When reusing snippets, verify versions and update dates to prevent context rot.
- Run or dry-run every command/code block; capture actual outputs or annotate expectations.
- Test copy buttons, tabs, runnable endpoints, and internal/external links.
- If the doc ships in a branch, confirm navigation (
docs.yml, versions, tabs) and CI previews pass. - Record outstanding verifications the reviewer must perform (e.g., “needs screenshot once feature flag enabled”).
Deliver:
- Draft text (or updated file) with component annotations.
- Section-by-section status (done, needs SME review, blocked).
- Suggested reviewers: SME, tech writer, agent/automation owner.