2233admin/cicada/doc-gen
Claude Code and agent skill by 2233admin/cicada
- community
Checking that the SKILL.md file is still in the repository.
Generate comprehensive documentation for code, APIs, and projects
Install
npx vskill@latest install 2233admin/cicada/doc-genSKILL.md
Documentation Generator
Automatically generate clear, comprehensive documentation for code, APIs, and projects.
When to Activate
Explicit Triggers
- User says "generate documentation"
- User says "生成文档"
- User says "document this code"
- User says "write docs for this"
Implicit Triggers
- User completes a feature and mentions documentation
- User asks "how do I document this?"
- User needs API documentation
NOT Activated For
- Simple code comments (use inline comments instead)
- README updates (unless comprehensive rewrite needed)
- Changelog generation
Documentation Types
1. Code Documentation
- Function/Method Docs: Parameters, return values, exceptions
- Class Docs: Purpose, usage examples, properties
- Module Docs: Overview, exports, dependencies
2. API Documentation
- Endpoints: Method, path, parameters, responses
- Authentication: Auth methods, token formats
- Examples: Request/response samples
- Error Codes: All possible errors with descriptions
3. Project Documentation
- README: Overview, installation, quick start
- Architecture: System design, components, data flow
- Contributing: Development setup, guidelines
- Deployment: Build, test, deploy instructions
Documentation Standards
Function Documentation Template
API Documentation Template
{ "email": "user@example.com", "name": "John Doe", "role": "user" }
{ "success": true, "data": { "id": "usr_123", "email": "user@example.com", "name": "John Doe", "role": "user", "createdAt": "2026-03-15T10:30:00Z" } }
{ "success": false, "error": "Invalid email format" }
Best Practices
1. Clarity
- Use simple, clear language
- Avoid jargon unless necessary
- Define technical terms
2. Completeness
- Document all parameters and return values
- Include error conditions
- Provide usage examples
3. Accuracy
- Keep docs in sync with code
- Update docs when code changes
- Test all examples
4. Structure
- Use consistent formatting
- Organize logically (overview → details → examples)
- Include table of contents for long docs
5. Examples
- Provide realistic examples
- Show common use cases
- Include error handling examples
Documentation Checklist
Before marking documentation complete:
- [ ] All public functions/classes documented
- [ ] Parameters and return values described
- [ ] Usage examples provided
- [ ] Error conditions documented
- [ ] Code examples tested and working
- [ ] Links to related documentation included
- [ ] Formatting consistent throughout
Language-Specific Formats
TypeScript/JavaScript
Use JSDoc format with TypeScript types
Python
Use docstrings (Google or NumPy style)
Go
Use godoc format with examples
Java
Use Javadoc format
Related Resources
- Keep documentation close to code
- Use automated doc generators (JSDoc, Sphinx, godoc)
- Version documentation with code
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingassets/bundled_skills/doc-gen/skill.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/2233admin/cicada/doc-gen)