# documenting-apis > Generate API specification from codebase - endpoints, types, schemas. Triggers: API docs, endpoint documentation, API仕様, OpenAPI, Swagger, REST API. - Author: thkt - Repository: thkt/claude-config - Version: 20260122102719 - Stars: 5 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/thkt/claude-config - Web: https://mule.run/skillshub/@@thkt/claude-config~documenting-apis:20260122102719 --- --- name: documenting-apis description: > Generate API specification from codebase - endpoints, types, schemas. Triggers: API docs, endpoint documentation, API仕様, OpenAPI, Swagger, REST API. allowed-tools: [Read, Write, Grep, Glob, Bash, Task] context: fork user-invocable: false --- # API仕様生成 ## 検出 | カテゴリ | パターン | | -------------- | ------------------------------------ | | エンドポイント | Express, Fastify, Next.js, Flask 等 | | 関数 | tree-sitter, TypeScript, JSDoc | | 型 | interface, type, Zod, Pydantic | | OpenAPI | openapi.yaml, swagger.yaml | | 認証 | Authミドルウェア、JWT、OAuthパターン | ## フレームワークパターン | フレームワーク | パターン | | -------------- | ---------------------------- | | Express | `app.get()`, `router.post()` | | Next.js | `app/api/**/route.ts` | | Flask | `@app.route()` | | FastAPI | `@app.get()`, `@app.post()` |