jsdoc-gen
Add JSDoc or TSDoc comments to your code. Use when documentation is missing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add JSDoc or TSDoc comments to your code. Use when documentation is missing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| 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.