This rule is helpful when the user wants you to understand which specialized documentation writing rules to apply for different types of content.
Prompts
Technical documentation writing - Rule overview
This is an overview of the specialized technical documentation writing rules. Each rule set focuses on a specific aspect of documentation creation to provide targeted, actionable guidance.
When to use: Always applies to all documentation types
Focus: Language standards, organization principles, accessibility, and quality practices that apply universally across all technical writing.
π‘ explaining-concepts.md β Making complex topics clear
When to use: When explaining how things work, defining terms, or clarifying abstract concepts
Focus: Breaking down complex ideas, using analogies, progressive disclosure, and validation techniques for conceptual understanding.
When to use: For tutorials, how-to guides, installation instructions, and procedural documentation
Focus: Task-oriented writing, step structure, code examples, troubleshooting, and user success optimization.
ποΈ site-navigation.md β Information architecture
When to use: When organizing documentation sites, planning content hierarchy, or improving discoverability
Focus: Content organization, navigation design, user journeys, and documentation site structure.
π api-documentation.md β Reference materials
When to use: For API docs, technical references, and comprehensive specifications
Focus: API endpoint documentation, parameter specifications, code examples, authentication, and reference material organization.
How to use these rules
For comprehensive projects
Apply multiple rule sets as needed:
Start with general-writing.md principles
Add specific rules based on content type:
Explaining features β explaining-concepts.md
Writing tutorials β technical-guides.md
Documenting APIs β api-documentation.md
Organizing content β site-navigation.md
For focused tasks
Choose the most relevant specialized rule set:
"How does X work?" β explaining-concepts.md
"How do I do X?" β technical-guides.md
"What are X's parameters?" β api-documentation.md
"How should I organize this?" β site-navigation.md
Each rule set is designed to work independently while complementing the others. Choose the combination that best matches your documentation goals and user needs.
Core writing principles
Language and style requirements
Use clear, direct language appropriate for technical audiences
Write in second person ("you") for instructions and procedures
Use active voice instead of passive
Prefer present tense for current states; future tense for outcomes
Avoid jargon unless necessary; define terms on first use
Keep terminology consistent across all docs
Keep sentences concise, with full context
Use parallel structure in lists, headings, and procedures
Content organization standards
Lead with the most important information (inverted pyramid style)
Use progressive disclosure: simple β advanced
Break complex procedures into numbered steps
Always include prerequisites and context
Provide expected outcomes for each step
Use keyword-rich, descriptive headings for SEO/navigation
Group related content logically with clear section breaks
User-centered approach
Focus on user goals/outcomes rather than system features
Anticipate common questions and answer them in the docs
Include troubleshooting for common failure points
Optimize for scanning: headings, lists, white space
Include verification steps to confirm success
Start with the user's context β explain why they need this information
Provide multiple paths β acknowledge different user skill levels and use cases
Include realistic timelines β tell users how long procedures should take
Content formatting guidelines
Highlighting and callouts
Use appropriate formatting for different types of content:
Notes and tips:
Notes: Supplementary information that supports the main content
Tips: Best practices, shortcuts, or expert advice
Warnings: Critical warnings about issues or destructive actions
Info boxes: Neutral background or contextual information
Danger alerts: Severe risks like data loss, downtime, or security issues
Implementation varies by platform (markdown callouts, HTML boxes, etc.)
Code examples
Use syntax highlighting for code blocks when available:
// Example with title/filename when supportedconst apiConfig ={baseURL:'[https://api.example.com](https://api.example.com)',headers:{Authorization:`Bearer ${process.env.API_TOKEN}`}};
Multiple language examples
When showing the same concept across different languages:
curl-X POST [https://api.example.com/users](https://api.example.com/users)\-H'Content-Type: application/json'\-d'{"name":"John Doe","email":"john@example.com"}'