Zum Inhalt springen
Kitbay
Skill

api-patterns

MITAktualisiert am 10. Nov. 202649.466GitHub-SterneEnthält Skripte

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

Was der Skill vermittelt

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.

Funktionen

  • 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