원클릭으로
api-design-principles
RESTful API design principles for consistent, versioned, developer-friendly APIs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
RESTful API design principles for consistent, versioned, developer-friendly APIs
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review existing Architecture Decision Records. Flag ADRs whose aging signals may have triggered given current state. Categorizes each as valid / aged / superseded and suggests follow-up actions.
Author an Architecture Decision Record (ADR). Captures decisions with implications beyond the current change — lasts months, affects multiple files, hard to reverse. Records context, alternatives considered, consequences, and aging signals so the decision can be revisited when conditions change.
4-phase loop-detection and recovery protocol. Fires when an agent detects it is stuck or repeating the same tool call with no progress — before tool-loop-detection circuit-breaks at 30 calls.
Socratic exploration of requirements before implementation. Refines spec through targeted questions. Use when user asks to 'explore options', 'refine requirements', or mentions 'unclear requirements'.
Generate structured changelog from git history. Groups commits by type, filters noise, produces Keep a Changelog format. Single source of truth — no /commands wrapper.
Generate pipe-delimited commits: Tipo|IdTarea|YYYYMMDD|Descripción. Single source of truth — no /commands wrapper.
| name | api-design-principles |
| description | RESTful API design principles for consistent, versioned, developer-friendly APIs |
| version | 1.0.0 |
| allowed-tools | ["Read","Grep","Glob","Edit","Write"] |
| load_when | ["designing_api_endpoints","reviewing_api_contracts","creating_openapi_specs"] |
| inputs | [{"name":"api_scope","type":"string","required":true},{"name":"existing_endpoints","type":"array","required":false}] |
| outputs | [{"name":"api_contract","type":"structured_report","format":"Method | Path | Request | Response | Status codes"},{"name":"openapi_snippet","type":"string","format":"YAML OpenAPI 3.0"}] |
| constraints | ["versioning_required_in_all_public_apis","no_breaking_changes_without_version_bump","consistent_error_response_format_enforced"] |
Skill para diseñar, implementar y auditar APIs REST siguiendo mejores prácticas en NestJS.
/api/v1/){ statusCode, message, errors?, timestamp, path, method }{ status, message, data } (o data + meta paginado)@ApiOperation, @ApiResponse, @ApiBody, ejemplos/getUser, /createCutoff, /cutoffs/delete/:id) — usar el método HTTP./user/123) — siempre plural (/users/123).limit=10000 tumba el servicio.v2.class-validator permite SQL injection / abuso.| Need | Reference |
|---|---|
| Convenciones de URLs y recursos | references/resource-oriented-urls.md |
| Métodos HTTP, status codes, idempotencia | references/http-semantics.md |
PaginationDto + PaginatedResponse<T> con meta | references/pagination.md |
FiltersDto con sortBy, sortOrder, filtros validados | references/filtering-sorting.md |
| Estrategia de versionado por URL y deprecación | references/versioning.md |
ErrorResponse + AllExceptionsFilter global | references/error-handling.md |
Decoradores @ApiOperation, @ApiResponse, ejemplos | references/swagger-docs.md |
| Workflow de auditoría de un módulo existente | references/audit-workflow.md |
class-validator{ status, message, data }ErrorResponse global/api/v{N}/ aplicado