api-designer

Design scalable REST and GraphQL API architectures with OpenAPI 3.1 specifications.

9|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/stephanj/claude-code-collections --skill api-designer-stephanj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-designer
Source: https://github.com/stephanj/claude-code-collections/tree/main/skills/api-designer
Command: npx skills add https://github.com/stephanj/claude-code-collections --skill api-designer-stephanj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of designing consistent, maintainable, and developer-friendly APIs by providing standardized patterns for resource modeling, error handling, and documentation.

Core Features & Use Cases

  • Contract-First Design: Generate comprehensive OpenAPI 3.1 specifications to ensure clear communication between frontend and backend teams.
  • Standardized Architecture: Implement industry-best practices for RESTful resource naming, pagination strategies, and versioning policies.
  • Use Case: When starting a new microservice, use this skill to define the resource hierarchy, establish consistent error response formats, and create an OpenAPI spec that serves as the single source of truth for your API contract.

Quick Start

Use the api-designer skill to create an OpenAPI 3.1 specification for a new user management service that includes endpoints for creating, retrieving, and deleting users.

Frequently Asked Questions about api-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a scalable REST API with consistent resource models and error handling?

To design a scalable REST API, define resource models, endpoint structures, and contract specifications using standardized patterns for resource naming, pagination, and error handling. This ensures consistent HTTP semantics and maintainable backend service architectures.

What is the best way to generate an OpenAPI 3.1 specification for a new microservice?

The best way to generate an OpenAPI 3.1 specification is using a contract-first design approach. Define the resource hierarchy and error response formats to create an OpenAPI spec that serves as the single source of truth for your API contract.

How does API versioning strategy affect REST and GraphQL endpoint architecture?

API versioning strategy affects endpoint architecture by defining how changes are communicated across REST and GraphQL services. Applying standardized versioning policies during the planning phase maintains backward compatibility and consistent HTTP semantics.

Can I define both REST and GraphQL API contracts in the same architecture planning phase?

Yes, you can define both REST and GraphQL API contracts during the architecture planning phase. The skill designs scalable structures for both protocols, focusing on resource models, endpoint structures, and secure authentication flow documentation.

What should I include in API documentation to ensure secure authentication flow and consistent HTTP semantics?

API documentation should include secure authentication flow documentation, consistent HTTP semantics, standardized error handling formats, and comprehensive OpenAPI 3.1 compliance to ensure clear communication between frontend and backend development teams.

When do I need a contract-first API design approach for backend development?

You need a contract-first API design approach when starting a new microservice or planning backend development. It establishes standardized resource modeling, pagination patterns, and versioning policies before implementation, preventing architectural inconsistencies.