Api design

From hivellm/rulebook · View interactive version

Api design is an AI agent skill from the GitHub repository hivellm/rulebook. Design or review API endpoints (REST/GraphQL)

How to use this skill

Skill file

Design or review the API for: $ARGUMENTS

Steps:

  1. Gather requirements from the codebase and any existing API patterns
  2. Design endpoints following REST conventions (or GraphQL schema)
  3. Define request/response schemas with types
  4. Document error responses and status codes
  5. Write or update OpenAPI spec if applicable
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.