Documentation Skill
This skill ensures that all project documentation is consistent, professional, and useful for both developers and stakeholders.
Core Documentation Types
1. Technical Walkthroughs (Walkthrough.md)
- •Objective: Explain how and why changes were made.
- •Requirements:
- •Link to specific commits or PRs.
- •Describe architectural decisions (e.g., "Refactored to Factory pattern").
- •List files modified and their impact.
- •Document any breaking changes.
2. Operational Guides (SETUP.md, QUICKSTART.md)
- •Objective: Enable a new developer to run the project in < 5 minutes.
- •Requirements:
- •Prerequisites (SDK versions, Database tools).
- •Step-by-step installation commands.
- •Troubleshooting common environment issues.
3. API & Service Docs
- •Objective: Document public interfaces and data models.
- •Requirements:
- •Clear descriptions for every public member.
- •JSON examples for data models.
- •Usage examples for complex services.
4. Code Guardian Reports
- •Objective: Daily snapshot of project health.
- •Requirements:
- •Summary of test results.
- •Snapshot of current active branch/commit.
- •Highlighted regressions or newly covered areas.
Style Guidelines
- •Markdown Excellence: Use H1 for titles, H2 for sections. Use code blocks for all terminal commands and code snippets.
- •Visual Aids: Use tables for data and lists for steps.
- •Tone: Professional, clear, and proactive.
- •Zero Placeholder Policy: Never leave "Coming soon" or "TBD" blocks. Use the
documentationskill to fill them with actual context.
Usage Instructions
When generating or updating documentation:
- •Identify the target audience (Developer vs. System Reviewer).
- •Select the appropriate template from
resources/templates.md. - •Populate the documentation with real data from the current workspace.
- •Verify all links and paths are correct.