api-designer

Designs REST and GraphQL APIs with OpenAPI 3.1 specifications and validation.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/ArMaTeC/Redball --skill api-designer-armatec
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: api-designer
Source: https://github.com/ArMaTeC/Redball/tree/main/.devin/skills/api-designer
Command: npx skills add https://github.com/ArMaTeC/Redball --skill api-designer-armatec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Designing consistent, well-documented APIs requires deep knowledge of REST principles, HTTP semantics, error handling standards, and versioning strategies, which is time-consuming to apply correctly from scratch. ## Core Features & Use Cases - OpenAPI 3.1 Specification Generation: Produces complete, lint-validated API contracts with reusable schemas, security schemes, and response components. - REST Design Guidance: Enforces resource-oriented URIs, proper HTTP methods, status codes, and RFC 7807 problem-details error responses. - Pagination & Versioning Patterns: Provides cursor, offset, keyset, and page-based pagination strategies plus deprecation and sunset lifecycle planning. - Use Case: When building a new users service, invoke this Skill to model resources, generate a validated OpenAPI 3.1 spec, mock it with Prism, and define a versioning policy before writing any backend code. ## Quick Start Design a REST API for a task management service and produce a validated OpenAPI 3.1 specification with pagination and error handling.

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?▼

Start by modeling resources and relationships, then define endpoints with proper HTTP methods and URIs. Write the OpenAPI 3.1 spec in YAML, validate it with npx @redocly/cli lint, and mock it with Prism to verify the contract before implementation.

What pagination strategy should I use for my API?▼

Use offset or page-based pagination for small datasets needing random access and total counts. Use cursor or keyset pagination for large or frequently changing datasets, real-time feeds, and infinite scroll interfaces where consistency and performance matter.

How should REST APIs format error responses?▼

Use RFC 7807 Problem Details with Content-Type application/problem+json, including type, title, status, detail, and instance fields. Add an errors array for field-level validation failures and always include a request ID for debugging.

Does OpenAPI 3.1 support JWT authentication documentation?▼

Yes, define an HTTP bearer security scheme with bearerFormat JWT under components.securitySchemes, then apply it globally or per-operation. OAuth 2.0 flows and API keys are also supported as alternative schemes.

When should I create a new API version?▼

Create a new major version only for breaking changes such as removing fields, changing types, or altering response structures. URI versioning like /v1 and /v2 is recommended, with 6-12 month deprecation periods and Sunset headers before shutdown.