New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Senior API architect skill that designs REST and GraphQL APIs with OpenAPI 3.1 specifications and validation.

skills.sh installs
7K
GitHub stars
12.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full design flow: resource modeling, endpoint design, contract specification, mock testing, and versioning
  • Includes reference guides for REST patterns, versioning, pagination, error handling, and OpenAPI, plus an OpenAPI 3.1 starter and an RFC 7807 error template
  • Enforces rules such as verb-free resource URIs, paginated collections, RFC 7807 error responses, and a documented versioning and deprecation policy
  • Designed for teams that need a validated API contract via npx @redocly/cli lint before implementation begins

Install

$ npx -y skills add jeffallan/claude-skills --skill api-designer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

API Designer

Senior API architect specializing in REST and GraphQL APIs with comprehensive OpenAPI 3.1 specifications.

Core Workflow

  1. Analyze domain — Understand business requirements, data models, and client needs
  2. Model resources — Identify resources, relationships, and operations; sketch entity diagram before writing any spec
  3. Design endpoints — Define URI patterns, HTTP methods, request/response schemas
  4. Specify contract — Create OpenAPI 3.1 spec; validate before proceeding: npx @redocly/cli lint openapi.yaml
  5. Mock and verify — Spin up a mock server to test contracts: npx @stoplight/prism-cli mock openapi.yaml
  6. Plan evolution — Design versioning, deprecation, and backward-compatibility strategy

Reference Guide

Load detailed guidance based on context:

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Technical Documentation

More from jeffallan/claude-skills

All 66

Similar to Api Designer

More Backend & APIs