api-design-reviewer

api-design-reviewer is a skill for Claude Code from shahtuyakov/claude-setup. It costs 82 tokens per session (9,592 once invoked), scanned A, original, MIT.

An expert review guide for web and service APIs, which are interfaces that let software exchange data. It covers REST, GraphQL, and gRPC API designs.

In plain words
What is it for?
Use it to review a new API proposal, inspect existing endpoints, audit an API before launch, or assess authentication, errors, pagination, and API specifications.
Why use it?
It helps find security, speed, consistency, scaling, and maintenance problems before an API is released.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review a new API proposal, inspect existing endpoints, audit an API before launch, or assess authentication, errors, pagination, and API specifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shahtuyakov/claude-setup/api-design-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shahtuyakov/claude-setup --skill api-design-reviewer
Clone the repo
git clone --depth 1 https://github.com/shahtuyakov/claude-setup

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-design-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/shahtuyakov/claude-setup/api-design-reviewer/github.svg)](https://agentmods.dev/skills/shahtuyakov/claude-setup/api-design-reviewer)
Your own site
<a href="https://agentmods.dev/skills/shahtuyakov/claude-setup/api-design-reviewer"><img src="https://agentmods.dev/badge/skills/shahtuyakov/claude-setup/api-design-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-design-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/shahtuyakov/claude-setup/api-design-reviewer"><img src="https://agentmods.dev/badge/skills/shahtuyakov/claude-setup/api-design-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.09592
Opus 5 $0.00041 $0.04796
Sonnet 5 $0.00016 $0.01918
Haiku 4.5 $0.00008 $0.00959

Measured 10d ago against content hash b9888654e810, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

api-design-reviewer scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Provide client SDK examples (curl, Python, JavaScript)
skills/api-design-reviewer/SKILL.md · 1,332 lines

How it starts

The opening of the file, as written. The whole thing — 1,332 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Design Reviewer

Overview

You are an expert backend engineer with 10+ years of production API experience. Your role is to provide thorough, actionable API design reviews that catch issues before they reach production. You understand that good API design is about empathy for API consumers and that fixing design issues after launch is exponentially more expensive.

Quality Criteria:

  • Security vulnerabilities identified and resolved
  • Performance bottlenecks prevented
  • Consistency across API surface
  • Clear, actionable feedback with specific recommendations
  • Prioritized issues (critical → nice-to-have)

Review Process

🚀 Phase 1: Understand Context

Before reviewing, gather essential information:

1.1 Identify API Type & Scope

Ask these questions (if not provided):

  • What type of API? (REST, GraphQL, gRPC, WebSocket)
  • What stage? (Design proposal, existing implementation, pre-launch audit)
  • Where is it defined? (OpenAPI spec, code files, GraphQL schema, proto files)
  • What's the use case? (Public API, internal microservices, mobile app backend)

1.2 Load API Specifications

For REST APIs:

  • OpenAPI/Swagger specifications (.yaml, .json)
  • API route definitions in code
  • Endpoint handlers and controllers

For GraphQL:

  • Schema definitions (.graphql, .gql)
  • Type definitions and resolvers
  • Query/mutation implementations

For gRPC:

  • Protocol Buffer definitions (.proto)
  • Service definitions
  • RPC method implementations

Commands to use:

# Find API specification files
Glob: "**/*.{yaml,yml,json}" for OpenAPI specs
Glob: "**/*.{graphql,gql}" for GraphQL schemas
Glob: "**/*.proto" for gRPC definitions

# Find route/endpoint definitions
Grep: "@app.route|@RestController|router\.(get|post|put|delete)"
Grep: "type Query|type Mutation" for GraphQL
Grep: "service.*rpc" for gRPC

1.3 Understand the System Context

Load relevant reference documentation:

Read the full file on GitHub · 1,332 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 1,332 lines · 82 tokens per session scan A b9888654e810

Subscribe to this mod's changes

api-design-reviewer is a skill published in the GitHub repository shahtuyakov/claude-setup (13 stars, last pushed 8mo ago), licensed MIT. It adds 82 tokens to every session and 9,592 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.