This is a comprehensive API design workflow that walks you through resource modeling, OpenAPI 3.1 spec creation, and validation with actual tools like Redocly CLI and Prism mock servers. It enforces REST fundamentals (no verbs in URIs, proper HTTP semantics) and ships with a complete OpenAPI starter template including RFC 7807 error handling, cursor pagination, and security schemes. The reference system loads topic-specific guidance on demand for versioning, pagination patterns, and error standards. You get an eight-point output checklist that ensures you deliver a linted spec, auth flows, and a deprecation strategy. Best for greenfield API projects or standardizing existing endpoints that have drifted into inconsistency.

skills.sh installs
6.9K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Code Review & Quality, Debugging, Productivity & Planning

More from jeffallan/claude-skills

All 66
1affaan-m avatardatabase-migrationsaffaan-m/eccDatabase migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prism6.4Kskills.sh installs
2jeffallan avatardatabase-optimizerjeffallan/claude-skillsOptimizes database queries and improves performance across PostgreSQL and MySQL systems. Use when investigating slow queries, analyzing execution plans, or opti6.3Kskills.sh installs
3aws avataraws-lambda-microvmsaws/agent-toolkit-for-awsBuilds, runs, debugs, and operates applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments running inside6.1Kskills.sh installs
4qianwen-ai avatarqianwen-ops-authqianwen-ai/qianwen-ai[QianWen] Configure authentication (API keys, endpoints). TRIGGER when: setting up QIANWEN_API_KEY, troubleshooting 401/auth errors, when another skill reports 5.8Kskills.sh installs
5trailofbits avatarfirebase-apk-scannertrailofbits/skillsScans Android APKs for Firebase security misconfigurations including open databases, storage buckets, authentication issues, and exposed cloud functions. Use wh5.8Kskills.sh installs
6manaflow-ai avatarcmux-backendmanaflow-ai/cmuxBackend TypeScript and Cloud VM development rules for cmux. Use when editing web/app/api, web/services, backend scripts, Cloud VM lifecycle, provider integratio4.9Kskills.sh installs