technical-writing
Technical Writing
Creates professional technical documentation with clear structure, appropriate detail level, and user-focused content.
Workflow
1. Identify Documentation Type
Determine which type of documentation is needed:
- API Documentation - REST, GraphQL, webhooks, authentication
- User Guides - Features, how-tos, troubleshooting
- Tutorials - Learning-focused with hands-on examples
- Architecture Documents - System design, technical decisions
- README Files - Project overview, quick start
- Release Notes - Changes, migrations, breaking changes
- Technical Specifications - Requirements, constraints
For detailed templates and patterns: Load documentation-types-and-workflows.md
2. Gather Context
Collect essential information before writing:
- Audience - Developers, end-users, managers, administrators
- Technical depth - Beginner, intermediate, advanced
- Scope - Codebase/APIs/systems to document
- Standards - Style guides or organizational requirements
- Related docs - Existing documentation to reference or integrate with
3. Structure Content
Apply clear organization principles:
- Lead with overview/introduction
- Use descriptive heading hierarchy (H1 → H2 → H3)
- Include table of contents for documents with >3 sections
- Group related information logically
- Place examples immediately after concepts
- Add diagrams/visuals for complex workflows
4. Write Clear Content
Follow core writing principles:
- Active voice - "The API returns..." not "The response is returned..."
- Specificity - "Response time < 200ms" not "Fast response"
- Define acronyms - "API (Application Programming Interface)" on first use
- Consistent terminology - Same terms throughout document
- Imperative instructions - "Run the command" not "You should run..."
- Show examples - Provide code/output for every concept
For comprehensive style guidance: Load writing-guidelines.md
5. Add Code Examples
Code example requirements:
- Specify language in code blocks:
python,javascript - Show complete, runnable examples (not fragments)
- Include input/output pairs
- Add explanatory comments for complex logic
- Test all code before publishing
6. Review and Validate
Quality assurance checklist:
- ✓ Verify technical accuracy
- ✓ Test all code examples
- ✓ Check clarity and completeness
- ✓ Ensure consistent terminology
- ✓ Validate all links and references
Documentation Templates
README Files
Essential components for project documentation:
# Project Name
Brief description of what the project does
## Features
- Key feature 1
- Key feature 2
- Key feature 3
## Installation
[step-by-step installation commands]
## Quick Start
[minimal working example]
## Configuration
[environment variables or config options]
## License
[license type]
Release Notes
Structure for version releases:
# Version X.X.X - YYYY-MM-DD
## Summary
[High-level overview of this release]
## New Features
- Feature description (#issue-number)
- Feature description (#issue-number)
## Bug Fixes
- Fix description (#issue-number)
- Fix description (#issue-number)
## Breaking Changes
⚠️ **Change that breaks compatibility**
Migration guide: [step-by-step migration instructions]
## Deprecations
- Deprecated feature (will be removed in vX.X)
Quality Standards
Documentation quality checklist before publishing:
- Accuracy - All technical details are correct
- Completeness - All necessary topics covered
- Clarity - Target audience can understand content
- Examples - Working code included and tested
- Structure - Logical organization with clear headings
- Consistency - Terminology and formatting consistent
- Links - All hyperlinks are valid
- Grammar - No spelling or grammatical errors
- Current - Version numbers and dates up-to-date
Common Pitfalls to Avoid
- Assuming knowledge - Define all acronyms and technical terms
- Vague instructions - Be specific with concrete examples
- Missing error scenarios - Document errors and solutions
- Outdated examples - Test and update code regularly
- Inconsistent terminology - Use identical terms throughout
- Missing prerequisites - List all requirements upfront
- Poor formatting - Use headings, lists, code blocks properly
- No examples - Always include working code samples
- Wrong audience level - Match technical depth to readers
- Dense text - Break into scannable sections with clear headings
Reference Files
- documentation-types-and-workflows.md - Complete templates and patterns for API docs, user guides, tutorials, architecture docs, and technical specifications
- writing-guidelines.md - Detailed style rules for clarity, active voice, specificity, consistency, heading hierarchy, code formatting, and lists
More from dauquangthanh/hanoi-rainbow
frontend-design-review
Conducts comprehensive frontend design reviews covering UI/UX design quality, design system validation, accessibility compliance, responsive design patterns, component library architecture, and visual design consistency. Evaluates design specifications, Figma/Sketch files, design tokens, interaction patterns, and user experience flows. Identifies usability issues, accessibility violations, design system deviations, and provides actionable recommendations for improvement. Produces detailed design review reports with severity-rated findings, visual examples, and implementation guidelines. Use when reviewing frontend designs, validating design systems, ensuring accessibility compliance, evaluating component libraries, assessing responsive designs, or when users mention design review, UI/UX review, Figma review, design system validation, accessibility audit, or frontend design quality.
276keycloak-administration
Provides comprehensive KeyCloak administration guidance including realm management, user/group administration, client configuration, authentication flows, identity brokering, authorization policies, security hardening, and troubleshooting. Covers SSO configuration, SAML/OIDC setup, role-based access control (RBAC), user federation (LDAP/AD), social login integration, multi-factor authentication (MFA), and high availability deployments. Use when configuring KeyCloak, setting up SSO, managing realms and clients, troubleshooting authentication issues, implementing RBAC, or when users mention "KeyCloak", "SSO", "OIDC", "SAML", "identity provider", "IAM", "authentication flow", "user federation", "realm configuration", or "access management".
165frontend-ui-ux-design
Creates comprehensive frontend UI/UX designs including user interfaces, design systems, component libraries, responsive layouts, and accessibility implementations. Produces wireframes, mockups, design specifications, and implementation guidelines. Use when designing user interfaces, creating design systems, building component libraries, implementing responsive designs, ensuring accessibility compliance, or when users mention UI design, UX design, interface design, design systems, user experience, or frontend design patterns.
165oracle-cloud
Provides comprehensive Oracle Cloud Infrastructure (OCI) guidance including compute instances, networking (VCN, load balancers, VPN), storage (block, object, file), database services (Autonomous Database, MySQL, NoSQL), container orchestration (OKE), identity and access management (IAM), resource management, cost optimization, and infrastructure as code (Terraform OCI provider, Resource Manager). Produces infrastructure code, deployment scripts, configuration guides, and architectural diagrams. Use when designing OCI architecture, provisioning cloud resources, migrating to Oracle Cloud, implementing OCI security, setting up OCI databases, deploying containerized applications on OKE, managing OCI resources, or when users mention "Oracle Cloud", "OCI", "Autonomous Database", "VCN", "OKE", "OCI Terraform", "Resource Manager", "Oracle Cloud Infrastructure", or "OCI migration".
81backend-design
Designs comprehensive backend systems including RESTful APIs, microservices, database architecture, authentication/authorization, caching strategies, message queues, and scalability patterns. Produces API specifications, database schemas, architecture diagrams, and implementation guides. Use when designing backend services, APIs, data models, distributed systems, authentication flows, or when users mention backend architecture, API design, database design, microservices, or server-side development.
55requirement-review
Conducts comprehensive requirements review including completeness validation, clarity assessment, consistency checking, testability evaluation, and standards compliance. Produces detailed review reports with findings, gaps, conflicts, and improvement recommendations. Use when reviewing requirements documents (BRD, SRS, user stories), validating acceptance criteria, assessing requirements quality, identifying gaps and conflicts, or ensuring standards compliance (IEEE 830, INVEST criteria). Trigger when users mention "review requirements", "validate requirements", "check requirements quality", "find requirement issues", or "assess BRD/SRS quality".
52