docs-boy
4
总安装量
3
周安装量
#54217
全站排名
安装命令
npx skills add https://github.com/kj-aiml/docs-boy-skill --skill docs-boy
Agent 安装分布
mcpjam
3
github-copilot
3
gemini-cli
3
antigravity
3
windsurf
3
zencoder
3
Skill 文档
Docs-Boy: Project Documentation Skill
A comprehensive documentation skill that ensures consistent, well-structured project documentation with automated changelog generation and milestone tracking.
Core Documentation Structure
Every project should have this structure in /docs:
/docs/
âââ 01-System-Design.md # Architecture overview
âââ 02-Design-Patterns.md # Patterns used in codebase
âââ 03-Database-Design.md # Schema and data models
âââ 04-Tech-Stack.md # Technologies and versions
âââ 05-Project-Structure.md # Directory organization
âââ 06-API-Documentation.md # API endpoints and contracts
âââ 07-Setup-Installation.md # Getting started guide
âââ 08-Contribution-Guide.md # How to contribute
âââ 09-Design-System.md # UI/UX guidelines
âââ BRAND-GUIDELINES.md # Brand identity (optional)
âââ UPDATE-SUMMARY.md # Latest changes summary
âââ changelogs/
â âââ version-X.X.X.md # Version history
âââ milestone/
âââ feature-name/ # Active development tracking
Workflow
1. Understand the Request
Identify what the user needs:
- Create docs? â Initialize full structure
- Update docs? â Analyze changes, update relevant files
- Changelog? â Generate from recent changes
- Milestone? â Create tracking plan
- Pre-commit? â Update UPDATE-SUMMARY and changelog
- Audit? â Check completeness against structure
2. Investigate Before Writing
CRITICAL: Always read the codebase before generating documentation.
-
Check project type:
package.jsonâ Node.js/JavaScriptrequirements.txt/pyproject.tomlâ PythonCargo.tomlâ Rustgo.modâ Go
-
Understand architecture:
- Read
README.mdfor project overview - Check
src/orapp/for frontend structure - Check
server/,api/,backend/for backend - Look at
docker-compose.yml,Dockerfilefor deployment
- Read
-
Identify technologies:
- Check dependencies for frameworks (React, NestJS, etc.)
- Look at config files (vite.config, tsconfig, etc.)
- Note database schemas, API patterns
-
Never invent or assume. If something is unclear, ask the user.
3. Generate Documentation
Use templates from references/templates.md as starting points, but customize based on actual codebase findings.
4. Verify and Finalize
- Re-read generated docs for accuracy
- Ensure all file paths and code examples are correct
- Check version numbers match
package.jsonor equivalent - Verify no orphaned or outdated documentation
Commands
| Command | Action |
|---|---|
docs init |
Initialize full docs structure for new project |
docs audit |
Check existing docs against required structure |
docs update |
Update docs based on recent code changes |
docs changelog |
Generate version changelog from recent changes |
docs milestone |
Create/update milestone tracking |
docs pre-commit |
Generate UPDATE-SUMMARY and changelog before commit |
Pre-Commit Workflow
Before every commit, this skill should:
- Detect Changes: Analyze staged files and recent modifications
- Update UPDATE-SUMMARY.md: Summarize what changed
- Update/Create Changelog: If version changed, create new changelog entry
- Review Milestone: If working on milestone, update progress
Writing Style Guide
General Rules
- Be Concise: Short sentences, bullet points
- Be Specific: Include file paths, versions, concrete examples
- Use Status Icons:
- â Completed/Done
- â³ In Progress
- â Not Started/Planned
- ð¨ Under Construction
- Include Version Info: Note which version doc was last updated
- Date Format: Full date (e.g., “February 25, 2026”)
Formatting
- Headers:
#for title,##for sections,###for subsections - Code Blocks: Always specify language (
typescript,bash) - Tables: Use for structured data (versions, APIs, configs)
- ASCII Diagrams: Use for architecture visualizations
Code Examples
Always include:
- File path as comment
- Brief description
- Complete, runnable examples
// src/utils/example.ts
// Description of what this does
export function example() {
// implementation
}
Audit Checklist
When auditing documentation, verify:
-
/docsdirectory exists at project root - All numbered topics (01-09) exist
- BRAND-GUIDELINES.md exists (if branding defined)
- UPDATE-SUMMARY.md exists and is current
-
/docs/changelogs/exists with version files -
/docs/milestone/exists for active development - All docs follow writing style guide
- Version numbers are consistent across docs
- No orphaned or outdated documentation
- Code examples are accurate and runnable
- Architecture diagrams are current
Usage Examples
User: "Create docs for this project"
â Investigate codebase â Initialize full /docs structure with templates
User: "Check if my docs are complete"
â Audit against required structure â Report missing/outdated files
User: "Create changelog for v1.2.0"
â Analyze git diff â Generate version-1.2.0.md
User: "I'm about to commit these changes"
â Update UPDATE-SUMMARY.md â Create changelog entry if needed
User: "Create milestone for auth feature"
â Create /docs/milestone/auth-feature/ with plan.md
Reference Files
For detailed templates and examples, see:
references/templates.md– All documentation templatesreferences/changelog-format.md– Changelog writing guidereferences/milestone-format.md– Milestone tracking guide