code-design-api

Installation
SKILL.md

Design API contracts, schemas, and specifications before implementation.

Process

  1. Identify context:

    • Protocol: REST, GraphQL, gRPC, TRPC
    • Format: OpenAPI/Swagger, Protocol Buffers, Zod/TypeBox schemas
  2. Research and design:

    • Lookup best practices for the protocol (use WebSearch/WebFetch)
    • Design the API resources, endpoints, and data shapes
    • Consider versioning, pagination, error handling patterns
  3. Output the design:

    • Endpoints/Operations: Method, Path, Name
    • Request Schema: input validation rules
    • Response Schema: Success/Error shapes
    • Examples: JSON/Text payloads
Related skills
Installs
15
Repository
sirn/dotfiles
GitHub Stars
8
First Seen
Mar 3, 2026