api-design

Review REST and GraphQL API contracts for naming, schema, auth, and versioning issues.

70|42|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/tranhieutt/software_development_department --skill api-design-tranhieutt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design
Source: https://github.com/tranhieutt/software_development_department/tree/main/.claude/skills/api-design
Command: npx skills add https://github.com/tranhieutt/software_development_department --skill api-design-tranhieutt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API specifications often hide inconsistent naming, schemas, auth coverage, and versioning risks that break clients, so this skill delivers a systematic review that surfaces those issues for REST and GraphQL APIs.

Core Features & Use Cases

  • Protocol-aware review: Determines whether the target is REST, GraphQL, or WebSocket and applies the appropriate naming, depth, and method standards.
  • Validation and security checks: Confirms request and response payloads are typed and validated, authentication requirements are documented, and error responses stay consistent without sensitive leaks.
  • Operational guidance: Run during specification handoffs to audit route files or OpenAPI documents, catching contract drift and versioning gaps before release.

Quick Start

Ask the api-design skill to review my OpenAPI spec for REST or GraphQL naming, schema, auth, and versioning issues.

Frequently Asked Questions about api-design

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

FAQPage Schema
How do I review an OpenAPI spec for REST naming and schema validation issues?

To review an OpenAPI spec for REST naming and schema validation issues, audit route files or endpoint descriptions to flag inconsistent resource nouns, HTTP verb usage, and payload typing. Apply this systematic review during specification handoffs to catch contract drift before release.

What is the best way to check API authentication and error handling consistency?

The best way to check API authentication and error handling consistency is to review API contract definitions that confirm auth requirements are documented and error responses remain consistent without sensitive data leaks. This systematic review ensures operational stability across endpoints.

Can I audit GraphQL endpoint descriptions for backward compatibility and versioning risks?

Yes, you can audit GraphQL endpoint descriptions for backward compatibility and versioning risks by applying protocol-aware review standards. The review flags schema depth, method usage, and version negotiation policy gaps to prevent breaking clients.

When do I need to run an API design audit on my route files?

You need to run an API design audit on your route files during specification handoffs and before every release. This timing catches contract drift, versioning gaps, and schema validation issues early, ensuring consistent API operations and backward compatibility.

Does this API review process work for both REST and GraphQL APIs?

Yes, this API review process works for both REST and GraphQL APIs by determining the target protocol and applying the appropriate naming, depth, and method standards. It systematically checks nouns-only resources for REST and schema depth for GraphQL.

What API versioning and schema issues should I look for before release?

Before release, look for API versioning and schema issues including missing version negotiation policies, untyped request or response payloads, and undocumented authentication. Reviewing these contract definitions flags risks that break clients and cause inconsistent errors.