huangjia2019/claude-code-engineering-06-agent-skill-combo-api-generating
Generate API endpoint documentation from Express route files. Use when the user asks to generate, update, or review API docs for Express.js routes.
npx skills add https://github.com/huangjia2019/claude-code-engineering --skill api-generating
IMPORTANT: You MUST follow these steps in order. DO NOT skip or substitute any step.
You MUST use the Python script for route detection:
python3 skills/scripts/detect-routes.py src/
DO NOT manually search for routes using Grep — the script handles edge cases
(dynamic routes, middleware-mounted sub-routers, re-exported routes) that Grep
patterns will miss.
For each route discovered by the script:
requireAuth, isAdmin)validate(schema))Use the template at templates/api-doc.md to generate documentation.
Output rules:
docs/api/users.md)scripts/detect-routes.pytemplates/api-doc.mdBefore finishing, verify:
Take huangjia2019/claude-code-engineering-06-agent-skill-combo-api-generating from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.