aashutosh396/mindpalace/api-design-reviewer
Claude Code and agent skill by aashutosh396/mindpalace
- community
Checking that the SKILL.md file is still in the repository.
Use when reviewing a PR that adds/changes API endpoints, auditing an API for v2 migration, or establishing team API standards — automated linting, breaking-change detection, and design scorecards.
Install
npx vskill@latest install aashutosh396/mindpalace/api-design-reviewerSKILL.md
The same SKILL.md was published earlier as aashutosh396/mindpalace/api-design-reviewer.
API Design Reviewer
REST API design review with automated linting, breaking-change detection, and design scorecards. Never sign off on prose alone — attach the tool outputs.
Review flow
- Lint the OpenAPI/Swagger spec for convention violations.
- Detect breaking changes between two spec versions (gate: fail on breaking unless version-bumped).
- Score design quality (gate: fails below
--min-grade).
Run all three, report findings + grade, fix, re-run until linter clean, breaking-change gate passes, and scorecard meets the agreed grade.
REST conventions
- Resource naming: kebab-case URLs, camelCase fields. Nouns not verbs (
/usersnot/getUsers). - HTTP methods: GET (safe/idempotent), POST (create), PUT (replace/idempotent), PATCH (partial), DELETE (idempotent).
- URLs: collection
/v1/users, item/v1/users/123, nested/v1/users/123/orders, actions/v1/users/123/activate(POST), filtering via query params.
Versioning
URL versioning (recommended — clear, easy to route), header, media-type, or query-param versioning.
Pagination patterns
Offset-based (offset/limit/total/hasMore), cursor-based (nextCursor/hasMore), page-based (page/pageSize/totalPages).
Error response standard
{ error: { code, message, details[{field, code, message}], requestId, timestamp } }. Status codes: 400 bad request, 401 unauthorized, 403 forbidden, 404 not found, 409 conflict, 422 unprocessable, 429 rate limit, 500 server error.
Scoring dimensions
Consistency 30% · Documentation 20% · Security 20% · Usability 15% · Performance 15%. Letter grade A–F.
Breaking vs safe changes
Safe (non-breaking): add optional request fields, add response fields, add endpoints, make required fields optional, add enum values (with graceful handling). Breaking (version bump): remove response fields, make optional fields required, change field types, remove endpoints, change URL structure, modify error formats.
Other essentials
Idempotency keys for unsafe operations (Idempotency-Key header). Rate-limit headers (X-RateLimit-*). Auth: Bearer token / API key / OAuth 2.0 / RBAC. Caching: Cache-Control, ETag, conditional requests. Field selection (?fields=), compression, batch operations.
Anti-patterns
Verb-based URLs · inconsistent response formats · over-nesting · ignoring status codes · poor error messages · missing pagination · no versioning strategy · exposing internal structure · missing rate limiting · inadequate error-case testing.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmindpalace/skills/global/api-development/api-design-reviewer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aashutosh396/mindpalace/api-design-reviewer)