api-design

Solid

Use this skill when designing APIs, choosing between REST/GraphQL/gRPC, writing OpenAPI specs, implementing pagination, versioning endpoints, or structuring request/response schemas. Triggers on API design, endpoint naming, HTTP methods, status codes, rate limiting, authentication schemes, HATEOAS, query parameters, and any task requiring API architecture decisions.

API & Backend 164 stars 28 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

When this skill is activated, always start your first response with the 🧢 emoji. # API Design API design is the practice of defining the contract between a service and its consumers in a way that is consistent, predictable, and resilient to change. A well-designed API reduces integration friction, makes versioning safe, and communicates intent through naming and structure rather than documentation alone. This skill covers the three dominant paradigms - REST, GraphQL, and gRPC - along with OpenAPI specs, pagination strategies, versioning, error formats, and authentication patterns. --- ## When to use this skill Trigger this skill when the user: - Asks how to name, structure, or version API endpoints - Needs to choose between REST, GraphQL, or gRPC for a new service - Wants to write or review an OpenAPI / Swagger specification - Asks about HTTP status codes and when to use each - Needs to implement pagination (offset, cursor, keyset) - Asks about authentication schemes (API key, OAuth2, JWT) - Wants a consistent error response format across their API - Needs to design request/response schemas or query parameters Do NOT trigger this skill for: - Internal function/method interfaces inside a single service - use clean-code or clean-architecture skills - Database schema design unless it is driven by API contract requirements --- ## Key principles 1. **Consistency over cleverness** - Every endpoint, field name, error shape, and status code should follow the same pattern...

Details

Author
AbsolutelySkilled
Repository
AbsolutelySkilled/AbsolutelySkilled
Created
2 months ago
Last Updated
yesterday
Language
MDX
License
MIT

Integrates with

Related Skills