ワンクリックで
api-endpoint
Scaffolds a complete API endpoint with validation, error handling, and tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scaffolds a complete API endpoint with validation, error handling, and tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | api-endpoint |
| description | Scaffolds a complete API endpoint with validation, error handling, and tests |
| argument-hint | <METHOD> <path> [description] |
| user-invocable | true |
| allowed-tools | Read Glob Edit |
| effort | medium |
Method + Path: $1 $2 Description: $3
cat package.json | grep -E '"express"|"fastify"|"hono"|"koa"|"nestjs"'
ls src/routes/ src/api/ src/handlers/ 2>/dev/null | head -10
Read 1-2 existing route files to match patterns exactly.
Generate the route handler with:
Register the route in the router file.
Generate tests:
Update API docs if docs/api.md or OpenAPI spec exists.
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase