api-architect

Validate OpenAPI 3.1, GraphQL, and Protobuf API specifications.

181|30|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/curiositech/some_claude_skills --skill api-architect-curiositech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-architect
Source: https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/api-architect
Command: npx skills add https://github.com/curiositech/some_claude_skills --skill api-architect-curiositech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity and potential pitfalls in designing robust, scalable, and maintainable APIs across multiple architectural styles. It helps prevent common anti-patterns and ensures adherence to best practices.

Core Features & Use Cases

  • Multi-paradigm Design: Expert guidance for REST (OpenAPI), GraphQL (SDL), and gRPC (Protobuf).
  • Pattern Implementation: Provides examples and validation for API-first development, response envelopes, and versioning strategies.
  • Anti-Pattern Prevention: Identifies and explains common mistakes like verb-based URLs, inconsistent error handling, and missing pagination.
  • Use Case: You are designing a new microservice and need to define its API contract. Use this Skill to generate an OpenAPI specification, define error handling, and ensure proper versioning.

Quick Start

Use the api-architect skill to generate an OpenAPI 3.1 specification for a user service.

Frequently Asked Questions about api-architect

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

FAQPage Schema
How do I design and validate an OpenAPI 3.1 specification for a new microservice?

To design an OpenAPI 3.1 specification, apply API-first development principles by defining your contract before coding, then use validation scripts to enforce response envelope patterns, proper versioning, and consistent error handling.

What are common REST API anti-patterns and how can I prevent them?

Common REST API anti-patterns include using verb-based URLs, inconsistent error handling, and missing pagination. Prevent these by validating your API contract against established best practices to ensure scalable and maintainable service design.

How do I generate a GraphQL schema and gRPC Protobuf services correctly?

Generate GraphQL schemas using SDL and gRPC services using Protocol Buffers by following API-first design principles, utilizing provided validation scripts to check specifications for structural integrity and adherence to best practices.

Does this approach work for implementing response envelopes and API versioning strategies?

Yes, this approach works for response envelopes and API versioning strategies by providing explicit examples and validation rules that enforce these patterns consistently across REST, GraphQL, and gRPC architectural styles.

What is the best way to handle API security and rate limiting in OpenAPI specifications?

The best way to handle API security and rate limiting in OpenAPI specifications is to reference dedicated security and rate limiting guidelines alongside your core API contracts to ensure comprehensive endpoint protection.

When should I choose GraphQL over REST or gRPC for my API design?

Choose GraphQL over REST or gRPC based on your client data fetching needs; REST enforces standardized HTTP endpoints, GraphQL offers flexible client-driven queries, and gRPC provides high-performance binary communication via Protocol Buffers.