api-design

Audit REST and RPC route handlers for API design consistency and generate a remediation backlog report.

3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/marcoguillermaz/claude-dev-kit --skill api-design-marcoguillermaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design
Source: https://github.com/marcoguillermaz/claude-dev-kit/tree/main/packages/cli/templates/tier-m/.claude/skills/api-design
Command: npx skills add https://github.com/marcoguillermaz/claude-dev-kit --skill api-design-marcoguillermaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent API design makes maintenance and onboarding harder. This audit identifies deviations from project conventions and surfaces actionable backlog items to restore uniformity.

Core Features & Use Cases

  • HTTP verb alignment checks (GET vs POST, PUT vs PATCH) across route handlers.
  • URL structure and resource modeling consistency across endpoints.
  • Consistent response shapes and error shapes to improve client integration.
  • Validation placement and error-detail formatting aligned with library patterns.
  • Backlog generation to docs/refactoring-backlog.md for remediation.

Quick Start

Run the audit to surface API-design inconsistencies and generate a backlog-ready remediation plan.

Frequently Asked Questions about api-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit API design consistency across my REST or RPC routes?

You can audit API design consistency by scanning route handlers to detect deviations in HTTP verbs, URL structures, response shapes, and validation placement, outputting a remediation backlog to docs/refactoring-backlog.md.

What is API design audit and when do I need it for my backend project?

An API design audit identifies inconsistent routing, error models, and pagination patterns across a backend codebase. You need it when inconsistent API conventions make maintenance and onboarding harder for your development team.

How do I check HTTP verb alignment and URL structure consistency in my codebase?

Checking HTTP verb alignment involves reading route handlers to verify GET, POST, PUT, and PATCH usage against project conventions, alongside validating URL resource modeling to ensure endpoint structures remain uniform and compliant.

Can I generate a refactoring backlog for inconsistent API error handling and validation?

Yes, you can generate a refactoring backlog by analyzing route handlers to find inconsistent error shapes and validation formatting, writing actionable remediation items directly into docs/refactoring-backlog.md for tracking.

Does this API design audit work with backend projects using custom routing conventions?

Yes, the audit applies to backend projects with REST or RPC routes, reading existing route handlers and backlog files to detect deviations from your established project conventions rather than enforcing external standards.

Why does my API response shape vary across different endpoints and how do I fix it?

Response shapes vary due to unchecked deviations in route handler implementations. An audit surfaces these inconsistencies alongside error model variations, proposing uniform improvements in a backlog-ready report for remediation.