Skip to content
Kitbay
Skill

api-patterns

MITUpdated on Nov 10, 202649,466GitHub starsIncludes scripts

A skill in the agentic-awesome-skills collection for API design decisions: choosing between REST, GraphQL and tRPC, response formats, versioning and pagination.

What the skill teaches

A skill in the agentic-awesome-skills collection for API design decisions: choosing between REST, GraphQL and tRPC, response formats, versioning and pagination. It tells the agent not to default to REST but to ask who the clients are first, and to read only the reference files that fit the question, out of ten on style choice, REST, responses, GraphQL, tRPC, versioning, authentication, rate limiting, documentation and security testing. A seven-question checklist and a list of anti-patterns guide the design, and a worked example covers cursor pagination over a list that changes while clients page through it. A bundled Python script scans a few files with simple pattern checks as a first pass, not a full validation.

Capabilities

  • Choose between REST, GraphQL and tRPC
  • Plan versioning, pagination and rate limits
  • Flag common API design anti-patterns
  • Run a quick heuristic scan of API files