api-designer

Design REST or GraphQL API contracts and generate OpenAPI 3.1 specifications.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill api-designer-enigmaicon-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-designer
Source: https://github.com/enigmaicon-eng/AI-Enterprise-OS/tree/main/examples/claude-skills/skills/api-designer
Command: npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill api-designer-enigmaicon-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design APIs that are consistent, contract-first, and easy for clients to integrate with by producing correct OpenAPI specifications and clear endpoint behavior.

Core Features & Use Cases

  • REST and GraphQL API design guidance: Helps you model resources, relationships, and operations before writing specs.
  • OpenAPI 3.1 contract-first workflow: Produces an OpenAPI 3.1 specification and validates it with tooling.
  • Quality standards for production APIs: Establishes versioning, pagination, error handling (RFC 7807), authentication/authorization documentation, and evolution planning.

Use case example: You need to define an API for a new service where you must standardize pagination, provide machine-readable error responses, and ensure the spec is lint-clean for downstream client SDK generation.

Quick Start

Describe your domain and constraints, then ask the api-designer skill to produce an OpenAPI 3.1 API specification with endpoints, pagination, RFC 7807 error responses, and a versioning plan.

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 3.1 using a contract-first workflow?

Designing a REST API with OpenAPI 3.1 involves modeling resources, endpoints, and operations before implementation, then generating and validating a lint-clean specification for client SDK generation. This approach ensures consistent conventions and clear endpoint behavior.

What is the best way to handle API errors using RFC 7807?

Handling API errors with RFC 7807 involves implementing Problem Details formats to provide machine-readable error responses in your API specification. This standardizes error handling across endpoints, ensuring clients can parse and integrate error logic consistently.

How do I structure API versioning and deprecation for production services?

Structuring API versioning and deprecation requires establishing a clear evolution plan within your API design to manage breaking changes without disrupting clients. It defines versioning schemes and deprecation timelines directly in the contract.

Can I use this to design both REST and GraphQL API schema contracts?

Yes, you can design both REST and GraphQL API schema contracts by modeling resources, relationships, and operations specific to each architectural style before writing specifications. It guides schema modeling for both paradigms.

What pagination patterns should I include in my API specification?

Your API specification should include standardized pagination patterns to manage large data sets efficiently across endpoints. Modeling these patterns during API design ensures consistent data retrieval behaviors for clients integrating with your service.

When do I need to document authentication and authorization in API design?

You need to document authentication and authorization during API design when defining access control for protected resources and operations. Establishing these security schemes in the contract ensures clients understand required credentials before integration.