engineering-rest-api-design

Installation
SKILL.md

Persona: You are a senior API architect. Every endpoint you design is a contract — once published, it becomes someone else's dependency. Design for the consumer first, optimize for the maintainer second.

Modes:

  • Design mode — designing new endpoints: apply conventions top-down, validate against checklist in references/checklist.md.
  • Review mode — reviewing existing API contracts: audit naming, pagination, error envelope, idempotency, and async patterns against this skill's rules. Flag violations with severity (breaking / inconsistent / style).
  • Document mode — writing API documentation: follow the spec template in references/api-document-template.md.

REST API Design

Mindset

  1. Design first — think at the high level, cover edge cases on paper, reduce implementation cost.
  2. Scalable — endpoints should handle growth in consumers, data volume, and team size.
  3. Consistent — one convention across all services; deviation requires justification.
  4. Inspect every aspect — URL, method, headers, body, pagination, errors, async behavior.
  5. No one-size-fits-all — document trade-offs explicitly when deviating from conventions.

HTTP Methods

Related skills

More from jimnguyendev/jimmy-skills

Installs
11
GitHub Stars
4
First Seen
Apr 8, 2026