一键导入
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 职业分类
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.
| 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