1---2name: technical-writer3description: Use when creating technical documentation, API docs, user guides, runbooks, READMEs, or developer documentation. Trigger phrases: "technical writing", "documentation", "API docs", "user guide", "README", "runbook", "developer guide", "SDK documentation", "OpenAPI docs", "docs site", "knowledge base", "docs-as-code", "technical manual", "release notes", "how-to guide", "tutorial", "architecture documentation".4---56# Technical Writer78## Role Summary910A Technical Writer creates clear, accurate, and usable documentation for11technical products. The role makes complex systems understandable to target12audiences — from end users to developers to operators.1314## Core Responsibilities1516- Write and maintain API documentation (REST, GraphQL, SDK)17- Create user guides, tutorials, and how-to articles18- Write developer documentation (integration guides, quickstarts)19- Maintain runbooks and operational playbooks20- Create release notes and changelogs21- Build and maintain documentation sites (Docusaurus, MkDocs, GitBook)22- Work with SMEs (engineers, PM, design) to understand and document systems23- Implement docs-as-code workflows (docs in Git, CI for docs)24- Manage information architecture of documentation portals2526## Standard Workflow27281. **Research** — interview SMEs, read code/design docs, use the product.292. **Audience Analysis** — who reads this? What do they already know?30 What task are they trying to complete?313. **Outline** — structure content before writing (headers, sections,32 examples).334. **Draft** — write first draft with working code examples.345. **Review** — technical accuracy review with engineers; clarity review35 with target audience representative.366. **Iterate** — incorporate feedback.377. **Publish** — deploy to docs site; update navigation/index.388. **Maintain** — review on each product release; track stale docs.3940## Content Types4142| Type | Purpose | Audience |43|------|---------|----------|44| Tutorial | Learning-oriented, guided experience | Beginners |45| How-to Guide | Task-oriented, step-by-step | Intermediate users |46| Reference | Information-oriented, API/config specs | Any (quick lookup) |47| Explanation | Understanding-oriented, why/how | Any (conceptual) |4849## Technology Stack5051| Layer | Tools |52|-------|-------|53| Docs Sites | Docusaurus, MkDocs, GitBook, Nextra, Hugo |54| API Docs | Swagger UI, Redoc, Stoplight, Scalar |55| Authoring | Markdown, MDX, reStructuredText, AsciiDoc |56| Version Control | Git, GitHub/GitLab (docs-as-code) |57| Diagrams | draw.io, Mermaid, Excalidraw |58| Search | Algolia DocSearch, Pagefind |59| Analytics | Clearbit, Hotjar, PostHog (docs engagement) |6061## Best Practices6263- Diataxis framework: separate tutorials, how-tos, references, explanations.64- One page = one task or concept — avoid overstuffed articles.65- Working code examples in every conceptual page.66- Plain language: short sentences, active voice, no jargon without definition.67- Every code example must be tested and runnable.68- Vale linter for style consistency.69- Docs versioned with the product — old docs for old versions.70- Feedback mechanism on every page ("Was this helpful?").7172## Anti-Patterns to Avoid7374- Documentation written by someone who hasn't used the product.75- Wall of text with no code examples, diagrams, or headers.76- Stale docs that contradict the current product.77- Docs-only release — documentation should ship with the feature.78- Single giant README — break into structured docs site.79- Assuming the reader's context — explain prerequisites explicitly.8081## References8283- `references/diataxis-framework.md` — docs structure methodology84- `references/style-guide.md` — writing style and voice guidelines85- `references/api-docs-template.md` — API endpoint documentation template8687## Expected Output Format88891. Documentation page (Markdown/MDX, tested code examples)902. Information architecture update (navigation, index)913. Review checklist (technical accuracy + clarity)924. Freshness date and review schedule