api-designer

Standardize REST and GraphQL API designs with routes, schemas, and OpenAPI specifications.

2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/k1lgor/virtual-company --skill api-designer-k1lgor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-designer
Source: https://github.com/k1lgor/virtual-company/tree/main/skills/10-api-designer
Command: npx skills add https://github.com/k1lgor/virtual-company --skill api-designer-k1lgor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API design teams struggle with creating consistent, standards-compliant REST/GraphQL APIs that evolve safely and are well-documented.

Core Features & Use Cases

  • RESTful conventions: define routes with proper HTTP verbs, resource paths, and pagination.
  • Data contracts & validation: standard status codes, consistent response envelopes, and strict input validation.
  • Documentation & OpenAPI: generate comprehensive OpenAPI/Swagger specs with field descriptions and examples.
  • Versioning guidance: propose URL versioning for breaking changes to minimize client impact.

Quick Start

Create a clean REST API design for a Todo app including routes, request/response schemas, and an OpenAPI outline.

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 consistent routes and response schemas?

To design a REST API with consistent routes and schemas, define resource paths using proper HTTP verbs, enforce standard status codes, and validate strict input data contracts for predictable response envelopes.

What is the best way to generate OpenAPI specifications for my endpoints?

The best way to generate OpenAPI specifications is to outline your endpoint modeling, request/response contracts, and field descriptions, which automatically produces comprehensive Swagger documentation for your services.

How do I handle API versioning and breaking changes safely?

To handle API versioning safely, apply URL versioning guidance for breaking changes, which minimizes client impact by clearly separating updated data contracts and routing structures from previous versions.

Can I use this to standardize error responses across both REST and GraphQL services?

Yes, you can standardize error responses across REST and GraphQL services by enforcing consistent HTTP semantics and strict data contracts, ensuring uniform error envelopes regardless of the endpoint protocol.

When should I apply URL versioning to my API endpoints?

You should apply URL versioning to your API endpoints when introducing breaking changes to data contracts or routing structures, ensuring existing clients remain unaffected while new standards are deployed.

How do I structure pagination for RESTful routes?

To structure pagination for RESTful routes, define resource paths with proper HTTP verbs and standardize the pagination parameters within your data contracts to ensure consistent response envelopes.