AI Skills Catalog
Skills pack Tools

API Design Reviewer

Review REST API specifications for convention problems, compare contract versions and produce a design scorecard. Uses local specification files and explicit review gates.
SKILL SCORE92How it is scored
VerifiedFreeMIT

Works with

Packaged from the source skill for Claude, Codex and 4 more.

About this skill

API Design Reviewer organizes a contract review around three artifacts: a lint report, a change comparison and a design scorecard. It is most useful when a team can supply the current OpenAPI or Swagger description and, for a compatibility review, the preceding version.

Use this skill when

  • An API proposal needs consistent resource names, methods, status codes and error responses before implementation.
  • A release changes an existing contract and client-breaking differences need to be separated from additive changes.
  • A team wants a repeatable specification check alongside its human design review.

What it can do

The supplied Python tools inspect specification structure and documented conventions, identify selected endpoint and schema changes, and report rule-based grades across areas such as consistency, documentation and usability. They can emit structured output for a review record or a CI check.

The score reflects implemented heuristics, not observed client behavior or a security certification. A specification can omit behavior that matters at runtime, and a detected change still needs assessment against supported clients. Treat security and performance recommendations as prompts for further checks. Run contract and integration tests separately before approving a release.

Typical workflows

  1. Review a new contract: lint the supplied specification, group findings by consumer impact and agree which conventions should be enforced.
  2. Compare a release: inspect old and new contracts, explain affected requests or responses, and either fix incompatible changes or document an accepted versioning plan.
  3. Track a design revision: rerun the scorecard after edits, attach the reports and distinguish resolved findings from deliberate exceptions.

What is inside the skill

Section headings from the original SKILL.md (about 1,242 words of instructions). Read the full text in the source repository before installing.

  1. Overview
  2. Quick Start — run the tools first
  3. Core Capabilities
  4. 1. API Linting and Convention Analysis
  5. 2. Breaking Change Detection
  6. 3. API Design Scoring and Assessment
  7. REST Design Principles
  8. Resource Naming Conventions
  9. HTTP Method Usage
  10. URL Structure Best Practices
  11. Versioning Strategies
  12. 1. URL Versioning (Recommended)
  13. 2. Header Versioning
  14. 3. Media Type Versioning
  15. 4. Query Parameter Versioning
  16. Pagination Patterns
  17. Offset-Based Pagination
  18. Cursor-Based Pagination
  19. Page-Based Pagination
  20. Error Response Formats
  21. Standard Error Structure
  22. HTTP Status Code Usage
  23. Authentication and Authorization Patterns
  24. Bearer Token Authentication

Bundled files

  • references/api_antipatterns.md
  • references/rest_design_rules.md
  • scripts/api_linter.py
  • scripts/api_scorecard.py
  • scripts/breaking_change_detector.py
  • LICENSE

Example prompts

  • Review this OpenAPI contract for a billing API. Prioritize unclear error responses, inconsistent pagination and resource naming; give a concrete contract edit and consumer-facing reason for each finding.
  • Compare these two API specifications before release. List removed endpoints, new required request fields and response type changes, then suggest a compatibility-preserving alternative for each breaking change.
  • Prepare a repeatable API review gate from these local specification files. Define the accepted score threshold and exceptions, describe the reports to retain, and keep runtime authentication testing as a separate requirement.

How to install API Design Reviewer

Claude Packaged
  1. Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files.
  2. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
  3. For Claude apps, upload the ZIP in the Skills section of the capabilities settings.
  4. Start a new session and describe the task in your own words. Claude picks the skill when the request matches its description.
More about skills for Claude
Codex Packaged
  1. Download the Codex package. The ZIP contains one folder named after the skill, with SKILL.md and bundled resources.
  2. Unpack the complete folder into .agents/skills/ inside your repository, or into ~/.agents/skills/ for personal use. Preserve its relative reference-file paths.
  3. Start a new Codex session and invoke the skill by name or with $skill-name, or describe a matching task.
  4. AGENTS.md is separate project guidance. The ZIP does not generate or modify that file.
More about skills for Codex
GPT Packaged
  1. Download the GPT package from the skill page.
  2. Create or edit a custom GPT (or a ChatGPT project) and paste the contents of SKILL.md into the instructions field.
  3. Upload the bundled reference files as knowledge so the GPT can consult them.
  4. Test with one of the example prompts from the skill page and adjust the instructions if your use case differs.
More about skills for GPT
Gemini Packaged
  1. Download the Gemini package from the skill page.
  2. For a project, unpack the complete folder into .gemini/skills/ or .agents/skills/. For personal use, use ~/.gemini/skills/ or ~/.agents/skills/.
  3. Run /skills reload in Gemini CLI, then /skills list to check discovery. There is no need to paste the skill into GEMINI.md.
  4. Test a matching task and verify the referenced tools and files are available.
More about skills for Gemini
Cursor Packaged
  1. Download the Cursor package from the skill page.
  2. Unpack the complete skill folder into .cursor/skills/ or .agents/skills/ in your project. For personal local use, ~/.cursor/skills/ and ~/.agents/skills/ are also supported.
  3. Start a new Cursor session. Type / in Agent chat and select the skill name, or describe a matching task.
  4. Commit the skill folder and resources for team use. Personal local skills are not automatically available to remote agents or automation runs.
More about skills for Cursor
OpenCode Packaged
  1. Download the OpenCode package from the skill page.
  2. Unpack the complete folder into .opencode/skills/ in your project, or ~/.config/opencode/skills/ for personal use. OpenCode also supports .agents/skills/ and .claude/skills/ compatibility locations.
  3. Keep supporting files at their original relative paths. AGENTS.md is separate project-wide guidance and is not generated by this ZIP.
  4. Start OpenCode in the project and test a matching task with the model and permissions you use.
More about skills for OpenCode

Permissions & security

Low risk

Inspect the source, license and declared permissions before use. Read the scripts before running them. Review method

Read project files
Write generated skill files

API Design Reviewer FAQ

What does the API Design Reviewer skill do?

Review REST API specifications for convention problems, compare contract versions and produce a design scorecard. Uses local specification files and explicit review gates.

Which AI agents can use API Design Reviewer?

Packages for Claude, Codex and 4 more are built from the same source instructions.

How do I install API Design Reviewer in Claude?

Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.

Who made API Design Reviewer and what is the license?

API Design Reviewer is published by Alireza Rezvani under the MIT license. The source is https://github.com/alirezarezvani/claude-skills/tree/main/engineering/skills/api-design-reviewer. The catalog keeps the original attribution.

What permissions does API Design Reviewer need?

Declared permissions: read project files, write generated skill files. Risk level: low. Check the scripts in the source before running them.

API Design Reviewer Skill — Alireza Rezvani | AI Skills Catalog