Documentation generation workflow covering API docs, architecture docs, README files, code comments, and technical writing.
✓Works with OpenClaudeOverview
Comprehensive documentation workflow for generating API documentation, architecture documentation, README files, code comments, and technical content from codebases.
When to Use This Workflow
Use this workflow when:
- Creating project documentation
- Generating API documentation
- Writing architecture docs
- Documenting code
- Creating user guides
- Maintaining wikis
Workflow Phases
Phase 1: Documentation Planning
Skills to Invoke
docs-architect- Documentation architecturedocumentation-templates- Documentation templates
Actions
- Identify documentation needs
- Choose documentation tools
- Plan documentation structure
- Define style guidelines
- Set up documentation site
Copy-Paste Prompts
Use @docs-architect to plan documentation structure
Use @documentation-templates to set up documentation
Phase 2: API Documentation
Skills to Invoke
api-documenter- API documentationapi-documentation-generator- Auto-generationopenapi-spec-generation- OpenAPI specs
Actions
- Extract API endpoints
- Generate OpenAPI specs
- Create API reference
- Add usage examples
- Set up auto-generation
Copy-Paste Prompts
Use @api-documenter to generate API documentation
Use @openapi-spec-generation to create OpenAPI specs
Phase 3: Architecture Documentation
Skills to Invoke
c4-architecture-c4-architecture- C4 architecturec4-context- Context diagramsc4-container- Container diagramsc4-component- Component diagramsc4-code- Code diagramsmermaid-expert- Mermaid diagrams
Actions
- Create C4 diagrams
- Document architecture
- Generate sequence diagrams
- Document data flows
- Create deployment docs
Copy-Paste Prompts
Use @c4-architecture-c4-architecture to create C4 diagrams
Use @mermaid-expert to create architecture diagrams
Phase 4: Code Documentation
Skills to Invoke
code-documentation-code-explain- Code explanationcode-documentation-doc-generate- Doc generationdocumentation-generation-doc-generate- Auto-generation
Actions
- Extract code comments
- Generate JSDoc/TSDoc
- Create type documentation
- Document functions
- Add usage examples
Copy-Paste Prompts
Use @code-documentation-code-explain to explain code
Use @code-documentation-doc-generate to generate docs
Phase 5: README and Getting Started
Skills to Invoke
readme- README generationenvironment-setup-guide- Setup guidestutorial-engineer- Tutorial creation
Actions
- Create README
- Write getting started guide
- Document installation
- Add usage examples
- Create troubleshooting guide
Copy-Paste Prompts
Use @readme to create project README
Use @tutorial-engineer to create tutorials
Phase 6: Wiki and Knowledge Base
Skills to Invoke
wiki-architect- Wiki architecturewiki-page-writer- Wiki pageswiki-onboarding- Onboarding docswiki-qa- Wiki Q&Awiki-researcher- Wiki researchwiki-vitepress- VitePress wiki
Actions
- Design wiki structure
- Create wiki pages
- Write onboarding guides
- Document processes
- Set up wiki site
Copy-Paste Prompts
Use @wiki-architect to design wiki structure
Use @wiki-page-writer to create wiki pages
Use @wiki-onboarding to create onboarding docs
Phase 7: Changelog and Release Notes
Skills to Invoke
changelog-automation- Changelog generationwiki-changelog- Changelog from git
Actions
- Extract commit history
- Categorize changes
- Generate changelog
- Create release notes
- Publish updates
Copy-Paste Prompts
Use @changelog-automation to generate changelog
Use @wiki-changelog to create release notes
Phase 8: Documentation Maintenance
Skills to Invoke
doc-coauthoring- Collaborative writingreference-builder- Reference docs
Actions
- Review documentation
- Update outdated content
- Fix broken links
- Add new features
- Gather feedback
Copy-Paste Prompts
Use @doc-coauthoring to collaborate on docs
Documentation Types
Code-Level
- JSDoc/TSDoc comments
- Function documentation
- Type definitions
- Example code
API Documentation
- Endpoint reference
- Request/response schemas
- Authentication guides
- SDK documentation
Architecture Documentation
- System overview
- Component diagrams
- Data flow diagrams
- Deployment architecture
User Documentation
- Getting started guides
- User manuals
- Tutorials
- FAQs
Process Documentation
- Runbooks
- Onboarding guides
- SOPs
- Decision records
Quality Gates
- All APIs documented
- Architecture diagrams current
- README up to date
- Code comments helpful
- Examples working
- Links valid
Related Workflow Bundles
development- Development workflowtesting-qa- Documentation testingai-ml- AI documentation
Related workflow-bundle Skills
Other Claude Code skills in the same category — free to download.
ai-ml
AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.
cloud-devops
Cloud infrastructure and DevOps workflow covering AWS, Azure, GCP, Kubernetes, Terraform, CI/CD, monitoring, and cloud-native development.
database
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
development
Comprehensive web, mobile, and backend development workflow bundling frontend, backend, full-stack, and mobile development skills for end-to-end application delivery.
office-productivity
Office productivity workflow covering document creation, spreadsheet automation, presentation generation, and integration with LibreOffice and Microsoft Office formats.
os-scripting
Operating system and shell scripting troubleshooting workflow for Linux, macOS, and Windows. Covers bash scripting, system administration, debugging, and automation.
security-audit
Comprehensive security auditing workflow covering web application testing, API security, penetration testing, vulnerability scanning, and security hardening.
testing-qa
Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.
Want a workflow-bundle skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.