원클릭으로
api-contract-design
Design REST/WebSocket API contracts with TypeScript types
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Design REST/WebSocket API contracts with TypeScript types
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate REST APIs from TypeScript contracts with CRUD operations
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-contract-design |
| description | Design REST/WebSocket API contracts with TypeScript types |
| tier_tokens | {"minimal":150,"standard":300,"full":400} |
Generate TypeScript interfaces from software requirements.
Return ONLY valid JSON:
{
"types": [{"name": "...", "fields": {...}, "description": "..."}],
"endpoints": [{"path": "/api/...", "method": "GET", "response_type": "..."}],
"components": [{"name": "...", "props": {...}}],
"services": [{"name": "...", "methods": {...}}]
}
any types - be specificinterface TypeDefinition {
name: string
fields: Record<string, string> // fieldName: "TypeScript type"
description: string
optional_fields?: string[]
}
interface APIEndpoint {
path: string // "/api/v1/users"
method: "GET" | "POST" | "PUT" | "DELETE"
request_type?: string // Request body type
response_type: string // Response type
auth_required: boolean
tags: string[]
}
interface ComponentContract {
name: string
props: Record<string, string>
description: string
children?: boolean
events?: string[]
}
any typeFor each entity, generate:
| Method | Path | Action |
|---|---|---|
| GET | /api/v1/{resource}s | List all |
| GET | /api/v1/{resource}s/{id} | Get by ID |
| POST | /api/v1/{resource}s | Create |
| PUT | /api/v1/{resource}s/{id} | Update |
| DELETE | /api/v1/{resource}s/{id} | Delete |
interface ServiceContract {
name: string
methods: Record<string, {
params: Record<string, string>
return_type: string
description: string
}>
description: string
}