بنقرة واحدة
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 المهني
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
| 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.