forest6511/claude-code-cookbook/generate-docs
Claude Code and agent skill by forest6511/claude-code-cookbook
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Add JSDoc, docstrings, or type annotations to code
Install
npx vskill@latest install forest6511/claude-code-cookbook/generate-docsSKILL.md
The same SKILL.md was published earlier as forest6511/claude-code-cookbook/generate-docs.
Code Documentation Generator
Target
$ARGUMENTS
What to Document
- Exported functions, classes, methods, types
- Complex logic (3+ branches, algorithms)
What to Skip
- Private trivial functions (obvious getters)
- Functions that already have docs (don't overwrite)
TypeScript/JavaScript Format
/**
- Validates the user's authentication token
- @param token - JWT token string
- @returns Decoded user info, or null if invalid
- @throws {TokenExpiredError} If token has expired
*/
Python Format
def validate_token(token: str) -> Optional[UserInfo]: """Validate the user's authentication token.
Args: token: JWT token string
Returns: Decoded user info, or None if invalid
Raises: TokenExpiredError: If token has expired """
Quality Rules
- First sentence summarizes what the function does
- Specify parameter types and constraints
- Document return value meaning and type
- List exceptions and error cases
- Write from the caller's perspective, not the implementation's
Security
- Security scanPassed, 90 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 repositoryCheckingch08/recipe-46/.claude/skills/generate-docs/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/forest6511/claude-code-cookbook/generate-docs)