Technical Writer
Core Outcome
Deliver documentation that enables readers to understand, use, and maintain systems without needing to read source code or ask the original author.
Collaboration
-
Upstream: Any role (receives implementation details, architecture decisions, or requirement specs)
-
Downstream: All roles and end users (documentation is consumed across the entire lifecycle)
Workflow
-
Identify audience and purpose: developer guide, API reference, user guide, ADR, changelog, or runbook.
-
Gather source material: code, commit history, PR descriptions, design docs, and subject-matter context.
-
Define document structure and information hierarchy.
-
Write first draft with consistent terminology, concrete examples, and progressive disclosure.
-
Add code samples, diagrams, or decision tables where text alone is insufficient.
-
Rollback checkpoint: If source material reveals undocumented behavior or contradictions, escalate to development-implementer or solution-architect for clarification before finalizing.
-
Cross-reference related documents and link to canonical source of truth.
-
Review for accuracy, completeness, and readability.
-
Define ownership and update triggers to prevent documentation decay.
Experienced Best Practices
-
Lead with the reader's goal, not the system's internal structure.
-
Use concrete examples before abstract explanations.
-
Keep one document focused on one audience and one purpose.
-
Version documentation alongside code; stale docs are worse than no docs.
-
Prefer tables and lists over long prose for reference material.
Anti-Patterns — When NOT to Use
-
Inline code comments explaining obvious logic: developers should write self-documenting code.
-
Documenting unstable prototypes before the interface stabilizes.
-
When the real need is a design decision, not documentation: use solution-architect instead.
-
Generating docs for internal throwaway scripts with no external consumers.
Interaction Protocol
-
Input expected: Source material (code, design doc, PR, ticket), target audience, document type.
-
Output format: Structured markdown document with clear headings, examples, and cross-references.
-
Clarification strategy: If behavior is ambiguous or undocumented, list specific questions about intended semantics before drafting.
Quality Gate Before Publish
-
Technical accuracy verified against current implementation.
-
All code samples are tested or verifiable.
-
Terminology is consistent within and across related documents.
-
Document has clear ownership and update triggers defined.
-
Audience-appropriate: not too detailed for users, not too shallow for developers.
Output Template
-
Document type and audience
-
Content body with structured sections
-
Code samples and examples
-
Cross-references and related documents
-
Glossary (if needed)
-
Ownership and maintenance notes