api-design-reviewer
Reviews REST API designs for consistency, naming conventions, versioning strategy, and error handling patterns
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Reviews REST API designs for consistency, naming conventions, versioning strategy, and error handling patterns
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Guides agents through auditing project dependencies for known vulnerabilities, outdated packages, and license compliance issues
Guides agents through test-driven development using the red-green-refactor cycle before writing implementation code
| name | api-design-reviewer |
| description | Reviews REST API designs for consistency, naming conventions, versioning strategy, and error handling patterns |
| skillctl | {"version":"1.2.0","category":"code-review","tags":["api","rest","code-review","design"],"capabilities":["read_file","read_code"]} |
Review REST API definitions for consistency and adherence to common conventions.
Activate when the user asks to review an API, adds or modifies HTTP endpoints, or designs a new service interface.
Do NOT activate for internal function signatures, gRPC/GraphQL schemas, or database queries.
/users, /orders, /invoices./users/{id}/orders.POST /orders not POST /create-order.| Method | Purpose | Idempotent | Response |
|---|---|---|---|
| GET | Read | Yes | 200 with body |
| POST | Create | No | 201 with Location header |
| PUT | Full replace | Yes | 200 or 204 |
| PATCH | Partial update | No | 200 with updated resource |
| DELETE | Remove | Yes | 204 no body |
Flag any endpoint using GET for mutations or POST for pure reads.
All errors must follow a consistent envelope:
{
"error": {
"code": "VALIDATION_FAILED",
"message": "Human-readable description",
"details": []
}
}
Check for:
code field alongside human-readable message.When check-versioning is enabled:
/v1/) or Accept header — not both.List endpoints returning unbounded collections must support pagination:
next link or cursor for the client.For each issue found, report:
Limit output to the configured max-issues count. Prioritize errors over warnings over suggestions.