loom-api-design

Installation
SKILL.md

API Design

Overview

Design intuitive, consistent, evolvable API contracts across REST, GraphQL, and gRPC. Get the resource model, HTTP semantics, error envelope, pagination, and versioning right up front — they are the hardest things to change once clients depend on them.

Design Workflow

  1. Model resources and relationships before URLs; name the nouns, then map operations onto them.
  2. Pick the paradigm: REST (resource CRUD, caching, broad tooling), GraphQL (client-shaped reads, aggregation, mobile), gRPC (internal, low-latency, streaming, strong contracts).
  3. Lock the error envelope, pagination shape, and versioning policy once — reuse everywhere.
  4. Design for change: additive evolution, tolerant readers, deprecation windows.
  5. Write the spec (OpenAPI/SDL/proto) as the source of truth; generate clients/servers from it.

REST

Resource & URL conventions

Installs
6
Repository
cosmix/loom
GitHub Stars
53
First Seen
May 20, 2026
loom-api-design — cosmix/loom