Api design

From rnavarych/alpha-engineer · View interactive version

Api design is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. API design patterns: REST naming/pagination/errors, GraphQL schema design, gRPC streaming, versioning strategies, idempotency keys, rate limiting. Use when designing APIs.

How to use this skill

Skill file

API Design Patterns

When to use

Core principles

  1. Consistent resource naming — plural nouns, kebab-case, no verbs in URLs
  2. Cursor pagination by default — offset fails at scale
  3. Idempotency keys for mutations — clients safely retry without duplicate side effects
  4. Version from day one — breaking changes without versioning = broken clients
  5. Error responses are part of the API — structured, consistent, with request ID

References available

Assets available

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.