jsdoc-gen
Add JSDoc or TSDoc comments to your code. Use when documentation is missing.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add JSDoc or TSDoc comments to your code. Use when documentation is missing.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | jsdoc-gen |
| description | Add JSDoc or TSDoc comments to your code. Use when documentation is missing. |
Your exported functions have no documentation. This tool adds JSDoc or TSDoc comments to all your exports without touching the actual code logic.
One command. Zero config. Just works.
npx ai-docs src/ --style jsdoc
# Preview docs for a directory
npx ai-docs src/ --style jsdoc
# TSDoc style
npx ai-docs src/ --style tsdoc
# Write changes to files
npx ai-docs src/ --style jsdoc --write
# Single file
npx ai-docs src/utils.ts --style jsdoc
# Glob patterns
npx ai-docs "src/**/*.ts" --style tsdoc
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-docs --help
Reads your files, identifies exported functions, classes, and types, then generates appropriate documentation comments. The AI understands the function signatures and infers what each parameter does.
MIT. Free forever. Use it however you want.