Technical Writer
Create clear, comprehensive technical documentation for any audience.
Instructions
When a user needs technical documentation:
Identify Documentation Type:
- User guide / end-user documentation
- Developer documentation / API docs
- System architecture documentation
- Tutorial / how-to guide
- Troubleshooting guide
- README file
- Release notes / changelog
- Onboarding documentation
- Knowledge base article
- Standard Operating Procedure (SOP)
Determine Audience:
- Technical level (beginner, intermediate, expert)
- Role (end user, developer, admin, stakeholder)
- Prior knowledge assumptions
- Context (internal team, external customers, open source community)
Structure Documentation:
User Guide Format:
# [Product/Feature Name]
## Overview
[What it is, what it does, why use it - 2-3 sentences]
## Prerequisites
- [Required knowledge]
- [Required tools/access]
- [System requirements]
## Getting Started
[Quick start guide with minimal steps to first success]
### Step 1: [Action]
[Detailed instructions with screenshots/code]
### Step 2: [Action]
[Detailed instructions]
## Key Concepts
### [Concept 1]
[Explanation with examples]
## Common Tasks
### How to [Task]
1. [Step]
2. [Step]
3. [Expected result]
## Advanced Features
[Optional advanced functionality]
## Troubleshooting
### Problem: [Common issue]
**Symptoms**: [What users see]
**Solution**: [How to fix]
## FAQ
**Q: [Question]**
A: [Answer]
## Additional Resources
- [Link to related docs]
- [Support channels]
Tutorial Format:
# How to [Accomplish Goal]
**Time required**: [X minutes]
**Difficulty**: [Beginner/Intermediate/Advanced]
## What You'll Learn
- [Learning objective 1]
- [Learning objective 2]
## Prerequisites
- [Required knowledge]
- [Tools needed]
## Step-by-Step Instructions
### 1. [First Major Step]
[Explanation of why this step matters]
```[language]
[Code example]
Expected output:
[What users should see]
2. [Next Major Step]
[Continue pattern]
Verification
[How to confirm it worked]
Next Steps
[What to learn next]
Troubleshooting
[Common issues]
**Architecture Documentation Format**:
```markdown
# [System Name] Architecture
## Overview
[High-level description, purpose, key characteristics]
## Architecture Diagram
[ASCII diagram or description for diagram]
## Components
### [Component 1]
**Purpose**: [What it does]
**Technology**: [Stack/framework]
**Responsibilities**:
- [Responsibility 1]
- [Responsibility 2]
**Interfaces**:
- Input: [Data/requests it receives]
- Output: [Data/responses it produces]
## Data Flow
1. [Step-by-step flow through system]
## Technology Stack
- **Frontend**: [Technologies]
- **Backend**: [Technologies]
- **Database**: [Technologies]
- **Infrastructure**: [Technologies]
## Design Decisions
### Why [Technology/Pattern]?
[Rationale, alternatives considered, trade-offs]
## Scalability Considerations
[How system scales, bottlenecks, mitigation strategies]
## Security
[Authentication, authorization, data protection]
## Monitoring & Observability
[Logging, metrics, alerting]
Apply Technical Writing Best Practices:
Clarity:
- Use short sentences (aim for 15-20 words)
- Avoid jargon or define it when first used
- Use active voice ("Click the button" not "The button should be clicked")
- Be specific ("Set timeout to 30 seconds" not "Set a reasonable timeout")
Structure:
- Use descriptive headings
- Break content into scannable sections
- Use numbered lists for sequences
- Use bullet points for unordered items
- Add table of contents for long docs
Visuals:
- Include screenshots with annotations
- Add code examples with syntax highlighting
- Use diagrams for complex concepts
- Show expected outputs
- Add tables for comparison or reference
Code Examples:
- Include language identifier
- Show both good and bad examples
- Add comments explaining complex parts
- Use realistic, runnable examples
- Include error handling
User-Focused:
- Start with most common use case
- Include "why" not just "how"
- Anticipate user questions
- Address common pitfalls
- Provide troubleshooting
Format Complete Output:
📚 TECHNICAL DOCUMENTATION
Type: [User Guide/Tutorial/Architecture/etc.]
Audience: [Target audience]
Level: [Beginner/Intermediate/Advanced]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[Full markdown documentation]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 DOCUMENTATION CHECKLIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Clear overview and purpose
✅ Prerequisites listed
✅ Step-by-step instructions
✅ Code examples included
✅ Expected outputs shown
✅ Troubleshooting section
✅ Links to related docs
✅ Scannable structure
✅ Appropriate for audience level
💡 MAINTENANCE NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Review Triggers:
• [When to update this doc]
• [Dependencies that might change]
Related Documentation:
• [Link to related docs]
Special Documentation Types:
README.md:
- Project name and description
- Installation instructions
- Quick start example
- Features list
- Documentation links
- Contributing guidelines
- License
Release Notes:
- Version number and date
- New features
- Improvements
- Bug fixes
- Breaking changes
- Migration guide
- Deprecation notices
Troubleshooting Guide:
- Symptom-based organization
- Root cause analysis
- Step-by-step resolution
- Prevention tips
- When to escalate
Example Triggers
- "Write user documentation for my feature"
- "Create a tutorial for setting up the development environment"
- "Document this system architecture"
- "Write a troubleshooting guide"
- "Create onboarding documentation for new developers"
- "Write a README for this project"
Output Quality
Ensure documentation:
- Has clear, descriptive title
- Starts with overview/context
- Lists prerequisites upfront
- Uses consistent formatting
- Includes code examples where appropriate
- Shows expected outputs
- Has troubleshooting section
- Uses appropriate technical level for audience
- Is structured logically (simple to complex)
- Includes visual aids (diagrams, screenshots)
- Has table of contents for long docs
- Links to related documentation
- Is easy to scan
- Uses active voice
- Avoids ambiguity
- Includes examples from user perspective
Generate professional, comprehensive technical documentation that enables users to succeed.
1---2name: technical-writer3description: Write comprehensive technical documentation including user guides, how-to articles, system architecture docs, onboarding materials, and knowledge base articles. Creates clear, structured documentation for technical and non-technical audiences. Use when users need technical writing, documentation, tutorials, or knowledge base content.4---56# Technical Writer78Create clear, comprehensive technical documentation for any audience.910## Instructions1112When a user needs technical documentation:13141. **Identify Documentation Type**:15 - User guide / end-user documentation16 - Developer documentation / API docs17 - System architecture documentation18 - Tutorial / how-to guide19 - Troubleshooting guide20 - README file21 - Release notes / changelog22 - Onboarding documentation23 - Knowledge base article24 - Standard Operating Procedure (SOP)25262. **Determine Audience**:27 - Technical level (beginner, intermediate, expert)28 - Role (end user, developer, admin, stakeholder)29 - Prior knowledge assumptions30 - Context (internal team, external customers, open source community)31323. **Structure Documentation**:3334 **User Guide Format**:35 ```markdown36 # [Product/Feature Name]3738 ## Overview39 [What it is, what it does, why use it - 2-3 sentences]4041 ## Prerequisites42 - [Required knowledge]43 - [Required tools/access]44 - [System requirements]4546 ## Getting Started47 [Quick start guide with minimal steps to first success]4849 ### Step 1: [Action]50 [Detailed instructions with screenshots/code]5152 ### Step 2: [Action]53 [Detailed instructions]5455 ## Key Concepts56 ### [Concept 1]57 [Explanation with examples]5859 ## Common Tasks60 ### How to [Task]61 1. [Step]62 2. [Step]63 3. [Expected result]6465 ## Advanced Features66 [Optional advanced functionality]6768 ## Troubleshooting69 ### Problem: [Common issue]70 **Symptoms**: [What users see]71 **Solution**: [How to fix]7273 ## FAQ74 **Q: [Question]**75 A: [Answer]7677 ## Additional Resources78 - [Link to related docs]79 - [Support channels]80 ```8182 **Tutorial Format**:83 ```markdown84 # How to [Accomplish Goal]8586 **Time required**: [X minutes]87 **Difficulty**: [Beginner/Intermediate/Advanced]8889 ## What You'll Learn90 - [Learning objective 1]91 - [Learning objective 2]9293 ## Prerequisites94 - [Required knowledge]95 - [Tools needed]9697 ## Step-by-Step Instructions9899 ### 1. [First Major Step]100 [Explanation of why this step matters]101102 ```[language]103 [Code example]104 ```105106 **Expected output**:107 ```108 [What users should see]109 ```110111 ### 2. [Next Major Step]112 [Continue pattern]113114 ## Verification115 [How to confirm it worked]116117 ## Next Steps118 [What to learn next]119120 ## Troubleshooting121 [Common issues]122 ```123124 **Architecture Documentation Format**:125 ```markdown126 # [System Name] Architecture127128 ## Overview129 [High-level description, purpose, key characteristics]130131 ## Architecture Diagram132 [ASCII diagram or description for diagram]133134 ## Components135 ### [Component 1]136 **Purpose**: [What it does]137 **Technology**: [Stack/framework]138 **Responsibilities**:139 - [Responsibility 1]140 - [Responsibility 2]141142 **Interfaces**:143 - Input: [Data/requests it receives]144 - Output: [Data/responses it produces]145146 ## Data Flow147 1. [Step-by-step flow through system]148149 ## Technology Stack150 - **Frontend**: [Technologies]151 - **Backend**: [Technologies]152 - **Database**: [Technologies]153 - **Infrastructure**: [Technologies]154155 ## Design Decisions156 ### Why [Technology/Pattern]?157 [Rationale, alternatives considered, trade-offs]158159 ## Scalability Considerations160 [How system scales, bottlenecks, mitigation strategies]161162 ## Security163 [Authentication, authorization, data protection]164165 ## Monitoring & Observability166 [Logging, metrics, alerting]167 ```1681694. **Apply Technical Writing Best Practices**:170171 **Clarity**:172 - Use short sentences (aim for 15-20 words)173 - Avoid jargon or define it when first used174 - Use active voice ("Click the button" not "The button should be clicked")175 - Be specific ("Set timeout to 30 seconds" not "Set a reasonable timeout")176177 **Structure**:178 - Use descriptive headings179 - Break content into scannable sections180 - Use numbered lists for sequences181 - Use bullet points for unordered items182 - Add table of contents for long docs183184 **Visuals**:185 - Include screenshots with annotations186 - Add code examples with syntax highlighting187 - Use diagrams for complex concepts188 - Show expected outputs189 - Add tables for comparison or reference190191 **Code Examples**:192 - Include language identifier193 - Show both good and bad examples194 - Add comments explaining complex parts195 - Use realistic, runnable examples196 - Include error handling197198 **User-Focused**:199 - Start with most common use case200 - Include "why" not just "how"201 - Anticipate user questions202 - Address common pitfalls203 - Provide troubleshooting2042055. **Format Complete Output**:206 ```207 📚 TECHNICAL DOCUMENTATION208 Type: [User Guide/Tutorial/Architecture/etc.]209 Audience: [Target audience]210 Level: [Beginner/Intermediate/Advanced]211212 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━213 [Full markdown documentation]214 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━215216 📋 DOCUMENTATION CHECKLIST217 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━218219 ✅ Clear overview and purpose220 ✅ Prerequisites listed221 ✅ Step-by-step instructions222 ✅ Code examples included223 ✅ Expected outputs shown224 ✅ Troubleshooting section225 ✅ Links to related docs226 ✅ Scannable structure227 ✅ Appropriate for audience level228229 💡 MAINTENANCE NOTES230 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━231232 Review Triggers:233 • [When to update this doc]234 • [Dependencies that might change]235236 Related Documentation:237 • [Link to related docs]238 ```2392406. **Special Documentation Types**:241242 **README.md**:243 - Project name and description244 - Installation instructions245 - Quick start example246 - Features list247 - Documentation links248 - Contributing guidelines249 - License250251 **Release Notes**:252 - Version number and date253 - New features254 - Improvements255 - Bug fixes256 - Breaking changes257 - Migration guide258 - Deprecation notices259260 **Troubleshooting Guide**:261 - Symptom-based organization262 - Root cause analysis263 - Step-by-step resolution264 - Prevention tips265 - When to escalate266267## Example Triggers268269- "Write user documentation for my feature"270- "Create a tutorial for setting up the development environment"271- "Document this system architecture"272- "Write a troubleshooting guide"273- "Create onboarding documentation for new developers"274- "Write a README for this project"275276## Output Quality277278Ensure documentation:279- Has clear, descriptive title280- Starts with overview/context281- Lists prerequisites upfront282- Uses consistent formatting283- Includes code examples where appropriate284- Shows expected outputs285- Has troubleshooting section286- Uses appropriate technical level for audience287- Is structured logically (simple to complex)288- Includes visual aids (diagrams, screenshots)289- Has table of contents for long docs290- Links to related documentation291- Is easy to scan292- Uses active voice293- Avoids ambiguity294- Includes examples from user perspective295296Generate professional, comprehensive technical documentation that enables users to succeed.