/qadri-build:api-design-reviewerfrom qadri-build
Lints OpenAPI specs for REST conventions, generates design scorecards, and detects breaking changes between API versions. Useful for API design reviews, contract validation, and CI gating.
Ships in qadri-build. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Comprehensive analysis and review of REST API designs against conventions, best practices, and industry standards. Helps engineering teams build consistent, maintainable, well-designed APIs through automated linting, breaking-change detection, and design scorecards.
Before producing the review, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
api_linter.py, api_scorecard.py, or breaking_change_detector.py).--min-grade / --exit-on-breaking and how strict the verdict is).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
# 1. Lint conventions (naming, methods, status codes, error format, docs coverage)
python scripts/api_linter.py assets/sample_openapi_v1.json # 93/100, 0 errors, exit 0
# 2. Diff two versions for breaking changes, with migration notes
python scripts/breaking_change_detector.py assets/sample_openapi_v1.json assets/sample_openapi_v2.json --exit-on-breaking
# -> 3 breaking (DELETE removed, User.id integer->string, new required field), exit 1
# 3. Score overall design maturity across five weighted dimensions
python scripts/api_scorecard.py assets/sample_openapi_v1.json --min-grade C # F (51/100), exit 1
| Tool | Measures | Gate with it? |
|---|---|---|
api_linter.py | Convention violations; starts at 100 and subtracts per issue, so a small clean spec scores high | Yes: exit 1 on any error-level issue. Use on every PR. |
breaking_change_detector.py | Removed endpoints/methods, type changes, new required fields, status-code changes between two versions | Yes: --exit-on-breaking on every PR that touches the spec. |
api_scorecard.py | Design maturity: documentation depth, examples, security coverage, pagination, error guidance; absent features cost points | As a ratchet: set --min-grade to today's grade so it cannot drop, and review the recommendations at release time. |
The linter and the scorecard disagree by design. On the sample spec the linter gives 93/100 (few violations) while the scorecard gives F (missing descriptions, examples, error schemas, rate-limit docs). Report both and say which question each answers: "does it break our rules?" versus "is it a complete, well-documented API?".
All three take --format text|json and --output FILE.
Exit codes. 0 pass; 1 linter errors found, breaking changes found (with
--exit-on-breaking) or grade below --min-grade; 2 missing or unreadable spec, invalid JSON,
or a spec the tool cannot analyse.
Done when:
Mistake: Blocking merges on a scorecard grade of B for an API that has never had examples or long descriptions. Why it happens: One number per PR looks tidy. Instead: Gate on linter errors and breaking changes; use the scorecard as a ratchet so it only improves.
Mistake: /getUsers, /createOrder, /users/delete/{id}.
Why it happens: RPC habits carry over into REST.
Instead: Nouns for resources and HTTP methods for actions (GET /users, POST /orders, DELETE /users/{id}). The linter flags these.
Mistake: Changing a field type or adding a required request field without a version bump. Why it happens: The change looks small from the server side. Instead: Run the detector against the last released spec in CI; a breaking change needs a new version or a compatibility shim.
scripts/api_linter.py, scripts/breaking_change_detector.py, scripts/api_scorecard.py — the three CLIs above.assets/sample_openapi_v1.json (Users API) and assets/sample_openapi_v2.json (same API with three breaking changes and a verb path).references/ — REST design patterns, rules, anti-patterns, tooling and CI integration.Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
api-test-suite-builder)senior-security in engineering/)| Skill | Integration | Data Flow |
|---|---|---|
engineering/api-test-suite-builder | Generate test cases from linter findings | Linter issues feed into test plan priorities for endpoint validation |
engineering/changelog-generator | Document breaking changes in release notes | Breaking change detector output provides structured change data for changelogs |
engineering/ci-cd-pipeline-builder | Gate deployments on API quality | Scorecard grade and linter exit codes integrate as pipeline quality gates |
engineering/senior-backend | Review API implementation against design | Scorecard recommendations guide backend refactoring decisions |
engineering/code-reviewer | Enrich PR reviews with API analysis | Linter and breaking change reports attach to PR review comments |
engineering/release-manager | Validate version bumps match change severity | Breaking change detector severity levels inform semver version decisions |
assets/sample_openapi_v1.json (opens in a new tab)assets/sample_openapi_v2.json (opens in a new tab)references/api_antipatterns.md (opens in a new tab)references/rest-design-patterns.md (opens in a new tab)references/rest_design_rules.md (opens in a new tab)references/tooling-ci-and-troubleshooting.md (opens in a new tab)scripts/api_linter.py (opens in a new tab)scripts/api_scorecard.py (opens in a new tab)scripts/breaking_change_detector.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-build2 plugins ship this exact skill · first indexed Nov 9, 2026
135 skills in this plugin
/a-b-test-designDesign an A/B experiment — hypothesis, variants, primary metric, and sample size. Use when a change can be measured quantitatively at scale. For observing behaviour qualitatively, use `test-scenario`./addyosmani-qualityWeb quality skills from Google Chrome's Addy Osmani: a measurement-first
web quality audit (Lighthouse-style), accessibility (WCAG 2.2), Core Web
Vitals (LCP/INP/CLS), performance, SEO, and security/modern-web best practices.
/agent-harness-reviewReviews an agent harness or agent design against Anthropic's agent and Claude Opus 5.5 guidance, Cognition's context principles and 2026 research on skill routing and skill-induced failures. Covers when subagents or parallel agents pay off, how to brief them, how many skills, plugins, MCP servers and hooks load every session, tool design and proportionate verification. Use when auditing a Claude Code or Codex setup, deciding whether to add subagents or a multi-agent workflow, trimming a skill library, or designing an agent loop in an app. For writing or evaluating a single skill, use skill-creator./ai-appBuilds full-stack Next.js AI applications with the AI SDK and the shadcn/ui AI Elements patterns. Use when creating a chatbot, agent dashboard or custom AI application./ai-elementsMaintains AI chat UI built from elements.ai-sdk.dev AI Elements components already copied into the project. Use when changing or debugging those components (conversations, messages, prompt inputs, attachments, reasoning, tool output, sources). New chat UI uses the shadcn/ui AI Elements patterns (`shadcn` skill)./ai-sdkAnswer questions about the AI SDK and help build AI-powered features. Use when developers ask about Vercel AI SDK, generateText, streamText, ToolLoopAgent, useChat, providers, tools, structured output, embeddings, streaming, or adding AI to an app. First identify the installed major version and route version-specific work: use ai-sdk-7 for AI SDK 7 features/migrations such as WorkflowAgent, HarnessAgent, reasoning, runtime/tools context, toolApproval, telemetry, realtime, or v6-to-v7 upgrades; use ai-sdk-6 for v6 code.Other plugins' skills for the same job