ワンクリックで
api-generation
Generate REST APIs from TypeScript contracts with CRUD operations
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate REST APIs from TypeScript contracts with CRUD operations
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | api-generation |
| description | Generate REST APIs from TypeScript contracts with CRUD operations |
| tier_tokens | {"minimal":80,"standard":200,"full":400} |
| Method | Endpoint | Action | Prisma |
|---|---|---|---|
GET | /api/users | List all | findMany() |
GET | /api/users/:id | Get single | findUnique() |
POST | /api/users | Create | create() |
PUT | /api/users/:id | Full update | update() |
PATCH | /api/users/:id | Partial | update() |
DELETE | /api/users/:id | Delete | delete() |
| Code | Meaning | When |
|---|---|---|
| 200 | Success | GET, PUT returns data |
| 201 | Created | POST new resource |
| 204 | No Content | DELETE success |
| 400 | Bad Request | Validation error |
| 401 | Unauthorized | Missing/invalid token |
| 404 | Not Found | Resource doesn't exist |
| 409 | Conflict | Duplicate unique field |
| 500 | Server Error | Database/internal error |
src/
├── api/ or app/api/
│ └── users/
│ ├── route.ts # GET (list), POST
│ └── [id]/route.ts # GET, PUT, DELETE
├── lib/
│ └── validators/ # Zod schemas
└── middleware.ts # Auth
Design REST/WebSocket API contracts with TypeScript types
Implements authentication (JWT, OAuth2) and authorization (RBAC) from requirements
Review quality of generated code. Checks for empty files, broken imports, missing modules, duplicate code, TypeScript errors, and rates overall quality. Identifies files that need regeneration.
Quick health check of all Coding Engine infrastructure. Checks containers, DB connectivity, API endpoints, Discord bot, sandbox preview, LLM API keys, and generation process. Takes 15 seconds.
Diagnoses pipeline problems and outputs actionable fix commands. Combines insights from status-report, code-quality, task-audit, and health-check into concrete recommendations with copy-paste-ready commands. Answers "what should I do next?" and "why is generation stuck?"
Generate a comprehensive Coding Engine status report in under 60 seconds. Covers DB task stats, generated files, generation loop progress, container health, Discord bot status, and error analysis.