Api design

From tranhieutt/software_development_department · View interactive version

Api design is an AI agent skill from the GitHub repository tranhieutt/software_development_department. Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use when designing a new API, reviewing an API spec, or when the user mentions API design, OpenAPI, or endpoint contracts.

How to use this skill

Skill file

When this skill is invoked:

  1. Read the target API spec or route files in full.

For API design in an existing domain, SHOULD also inspect

docs/technical/API.md, related design/specs/*, related

design/contracts/* if present, and recent relevant ledger entries via

/trace-history. This is advisory unless the change is an ADR,

coordination-rule change, high-risk retry, or protocol removal.

  1. Identify the API type (REST, GraphQL, WebSocket) and apply appropriate standards.
  1. Evaluate REST design quality (if REST):
  1. Evaluate request/response schemas:
  1. Evaluate authentication & authorization:
  1. Evaluate error responses:
  1. Evaluate versioning & backward compatibility:
  1. Output the review:
## API Design Review: [API/Endpoint Name]

### REST Design: [CLEAN / ISSUES FOUND]
[List specific issues with examples]

### Schema Quality: [CLEAN / ISSUES FOUND]
[List schema inconsistencies or problems]

### Auth & Security: [SECURE / ISSUES FOUND]
[List authentication and authorization issues]

### Error Handling: [CONSISTENT / ISSUES FOUND]
[List error response problems]

### Versioning: [HANDLED / UNADDRESSED]
[Notes on breaking change risk]

### Positive Observations
[What is well-designed]

### Required Changes
[Must-fix items before shipping]

### Suggestions
[Nice-to-have improvements]

### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]

Protocol

Output

Deliver exactly:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.