ワンクリックで
code-rest
Apply `code-rest` skill before design-review REST API or OpenAPI specifications
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Apply `code-rest` skill before design-review REST API or OpenAPI specifications
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | code-rest |
| description | Apply `code-rest` skill before design-review REST API or OpenAPI specifications |
| Element | Convention | Example |
|---|---|---|
| Path segments | lowercase with hyphens | /vehicle-images/123 |
| Resources | lowercase, plural, nouns | /orders, /users |
| Query parameters | snake_case | ?max_results=10&sort=+id |
| Properties | camelCase | "lifeTimeList", "customerId" |
| Enum names | UpperCamelCase | "DeliverMethods" |
| Enum values | UPPER_SNAKE_CASE | "DELIVER_METHODS_UNSPECIFIED" |
| Custom HTTP headers | Hyphenated-Pascal-Case with BMW- prefix | BMW-CV-Transaction-ID |
/orders, not /create-orders).<ENUM_TYPE>_UNSPECIFIED.| Method | Safe | Idempotent | Primary Use |
|---|---|---|---|
| GET | Yes | Yes | Read resources; MUST NOT have request body |
| HEAD | Yes | Yes | Retrieve headers only |
| POST | No | No | Create resources on collections or execute procedures |
| PUT | No | Yes | Create or fully replace a resource |
| PATCH | No | No | Partial update of a resource |
| DELETE | No | Yes | Delete a resource |
| OPTIONS | Yes | Yes | Inspect available operations; support CORS |
Retry-After header when possibleDo not declare other 4xx/5xx codes unless there is a strong justification. Use 422 only for business logic errors.
For 401/403 responses, return no body content.
MAJOR.MINOR.PATCH) in /info/version./<service-id>/<api-path>/v1/...x-extensible-enum instead of closed enum for output values that may grow.deprecated property, Sunset HTTP header, and client notification for deprecation.application/json) for structured data.2024-01-15) and date-times (2024-01-15T14:07:17.123Z), stored in UTC.fields parameter for partial responses on large payloads.Use `author-caveman` to write Caveman English.
Use `author-agent` to get OpenCode Agent Authoring when writing or reviewing OpenCode agent markdown.
Use `author-command` to get OpenCode Command Authoring when writing or reviewing OpenCode command markdown.
Use `author-rules` to write `AGENTS.md` files.
Use `author-skill` to get Skill File Authoring when you need to review/write skill files for agents.
Use `design-prd` to get Product Requirements when planning any feature or to understand project business requirements, user roles, and success criteria.