Generate API specification from codebase - endpoints, types, schemas. Use when generating API documentation, documenting endpoints, or when user mentions API docs, API仕様, OpenAPI, Swagger, REST API, endpoint documentation.
View on GitHubthkt/claude-config
development-skills
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/thkt/claude-config/blob/main/skills/documenting-apis/SKILL.md -a claude-code --skill documenting-apisInstallation paths:
.claude/skills/documenting-apis/# API Specification Generation ## Detection | Category | Pattern | | -------------- | -------------------------------------- | | Endpoints | Express, Fastify, Next.js, Flask, etc. | | Functions | tree-sitter, TypeScript, JSDoc | | Types | interface, type, Zod, Pydantic | | OpenAPI | openapi.yaml, swagger.yaml | | Authentication | Auth middleware, JWT, OAuth patterns | ## Framework Patterns | Framework | Pattern | | --------- | ---------------------------- | | Express | `app.get()`, `router.post()` | | Next.js | `app/api/**/route.ts` | | Flask | `@app.route()` | | FastAPI | `@app.get()`, `@app.post()` |