api-designer

Design RESTful endpoints and generate OpenAPI 3.0 specifications with versioning guidance.

4|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xcrrr/claude-skills --skill api-designer-xcrrr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-designer
Source: https://github.com/xcrrr/claude-skills/tree/main/skills/coding/api-designer
Command: npx skills add https://github.com/xcrrr/claude-skills --skill api-designer-xcrrr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create consistent, well-documented REST API designs that reduce ambiguity, accelerate integration, and improveMaintainability across services by providing structured guidance for resource naming, HTTP semantics, error handling, and OpenAPI documentation.

Core Features & Use Cases

  • OpenAPI-driven design: Generate OpenAPI 3.0 specifications from API design decisions and mirror them in the API surface.
  • Resource-first organization: Define clear, plural resources with intuitive URL structures and sensible nesting rules.
  • Operational guidance: Standardize HTTP methods, status codes, error shapes, pagination patterns, and versioning strategies.
  • Use Case: Design an inventory service with endpoints for products, variants, and stock, complete with versioned schemas and example requests/responses.

Quick Start

Design a REST API for a hypothetical service and produce an OpenAPI specification that covers resources, methods, error handling, and versioning.

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 REST API with OpenAPI specifications?

You design a REST API with OpenAPI specifications by identifying resources, defining endpoints with correct HTTP methods, and enforcing naming conventions, standard error formats, and pagination patterns across multiple endpoints. This approach generates structured OpenAPI 3.0 specifications to reduce ambiguity and accelerate integration.

What is the best way to structure RESTful resources and URL nesting?

The best way to structure RESTful resources is using a resource-first organization that defines clear, plural resources with intuitive URL structures and sensible nesting rules. This minimizes ambiguity and ensures consistent API surfaces across services.

How do I standardize error formats and pagination in REST API design?

You standardize error formats and pagination in REST API design by enforcing operational guidance that dictates standard error shapes, pagination patterns, and correct HTTP status codes. This ensures consistent operational behavior across all defined endpoints.

Can I generate versioned schemas for multiple endpoints in an OpenAPI specification?

Yes, you can generate versioned schemas for multiple endpoints in an OpenAPI specification. The process provides versioning guidance for new and updated resources, mirroring API design decisions directly within the OpenAPI 3.0 specification output.

What HTTP methods and status codes should I use for my RESTful endpoints?

You should use correct HTTP methods and standard status codes mapped to your resource operations. The design process enforces correct HTTP semantics, ensuring resources are manipulated properly and responses accurately reflect the operational state.

When do I need OpenAPI documentation for my REST API?

You need OpenAPI documentation for your REST API when creating new services or updating resources across multiple endpoints. It reduces ambiguity, accelerates client integration, and improves maintainability by standardizing schemas, error handling, and versioning strategies.