Skip to content
Back to skills

Api Design Review

ASecurity

Review an HTTP/REST or RPC API design (OpenAPI spec, route code or proposal) for consistency, evolvability, error handling, security and client ergonomics. Use before publishing a new endpoint or changing an existing contract.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentsgoapisecurity

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 5, 2026

npx -y skills add lordprime/Argus-Council --skill api-design-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Design Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Design Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordprime-api-design-review/badge)](https://www.skillsdirectory.com/skills/lordprime-api-design-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-design-review
description: Review an HTTP/REST or RPC API design (OpenAPI spec, route code or proposal) for consistency, evolvability, error handling, security and client ergonomics. Use before publishing a new endpoint or changing an existing contract.
version: 1.0.0
allowed-tools: [fs_read, fs_list, fs_search, notes_write, artifact_write]
metadata:
  tags: [engineering, api, review]
---

# API design review

Read the contract first (OpenAPI file, route handlers, schemas). Then check, in order:

1. **Resources and naming** — plural nouns, stable identifiers, no verbs in paths except explicit
   actions (`POST /orders/{id}/cancel`). Consistent casing across fields.
2. **Methods and semantics** — GET is safe, PUT/DELETE are idempotent, POST that creates returns 201
   with the resource. Long operations return 202 plus a status resource.
3. **Errors** — one error envelope everywhere (`code`, `message`, optional `details`), correct status
   classes (400 validation, 401/403 auth, 404, 409 conflict, 422 if used consistently, 429 with
   `Retry-After`). No stack traces or internal IDs leaked.
4. **Evolvability** — additive changes only within a version; unknown fields tolerated; enums
   documented as open; pagination (cursor preferred) on every list; no unbounded responses.
5. **Security** — authn on every non-public route, authz on the resource, scopes documented, rate
   limits, idempotency keys for retried writes, input size limits.
6. **Ergonomics** — a client can complete the main use case in the fewest calls; examples exist;
   timestamps are RFC 3339 UTC; money is integer minor units plus currency.

Use `references/checklist.md` for the full list. For each finding report severity
(blocker / should-fix / nit), the endpoint, the problem, and a corrected example request or response.
Finish with a short verdict: ship, ship with fixes, or redesign.

Files in this skill

  • SKILL.md1.9 KB
  • references/checklist.md817 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.