designing-apis

Design REST and GraphQL APIs with endpoints, versioning, and documentation.

1.4k|186|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/CloudAI-X/claude-workflow-v2 --skill designing-apis-cloudai-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: designing-apis
Source: https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/designing-apis
Command: npx skills add https://github.com/CloudAI-X/claude-workflow-v2 --skill designing-apis-cloudai-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designs REST and GraphQL APIs with clear endpoints, versioning, and documentation to improve consistency and reduce rework across teams.

Core Features & Use Cases

  • REST endpoint design, URL conventions, status codes, and versioning guides.
  • GraphQL schema design patterns, queries/mutations, and documentation practices.
  • API contract reviews and OpenAPI/GraphQL documentation templates to accelerate onboarding.

Quick Start

Ask the AI to draft a complete API design for a sample app (e.g., a task manager) including endpoints, schemas, and error handling.

Frequently Asked Questions about designing-apis

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

FAQPage Schema
How do I design REST APIs with proper endpoint structure and versioning?

REST API design establishes clear endpoints using URL conventions, HTTP status codes, and versioning strategies. This skill guides endpoint naming, resource hierarchy, and version management to ensure consistency across teams and reduce breaking changes in production.

What's the best way to structure a GraphQL schema for queries and mutations?

GraphQL schema design defines types, queries, and mutations with clear documentation practices. This approach enforces naming conventions and patterns that make schemas self-documenting and easier for clients to consume and maintain.

How do I create OpenAPI documentation for my API?

OpenAPI documentation templates standardize how you describe REST endpoints, parameters, and responses. This skill provides templates and conventions that accelerate API onboarding and enable contract-driven development across teams.

What should I include in an API contract review?

API contract reviews validate endpoint design, error handling guidelines, and schema compliance against REST and GraphQL standards. This process catches inconsistencies early and ensures your API follows industry conventions before implementation.

Can I use this for both REST and GraphQL APIs?

Yes, this skill covers both REST endpoint design with HTTP conventions and GraphQL schema patterns. You can apply REST or GraphQL design guidance depending on your project's architecture and client requirements.

How do I handle errors consistently across my API?

Error handling guidelines establish standardized status codes, error response formats, and documentation practices. This ensures clients can anticipate and handle errors uniformly whether your API uses REST or GraphQL.