api-design-standards

Enforce REST API design conventions for versioning, error handling, and OpenAPI documentation.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jralph/.config-opencode --skill api-design-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design-standards
Source: https://github.com/jralph/.config-opencode/tree/main/skills/api-design-standards
Command: npx skills add https://github.com/jralph/.config-opencode --skill api-design-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized approach to designing REST APIs, ensuring consistency in naming, versioning, error handling, and documentation across services.

Core Features & Use Cases

  • RESTful conventions and resource naming across endpoints
  • Versioning strategies and lifecycle guidance (URL-based or header-based)
  • Consistent error handling and status codes with standardized error payloads
  • OpenAPI/Swagger documentation templates and validation
  • Security considerations including authentication and rate limiting
  • Use Case: Rally existing APIs to conform to standard design

Quick Start

Draft a minimal OpenAPI spec for a blog API that includes posts and comments and follows the api-design-standards guidelines.

Frequently Asked Questions about api-design-standards

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

FAQPage Schema
How do I standardize REST API design conventions across multiple teams?

Standardize REST API design conventions by enforcing consistent resource naming, versioning, error handling, and OpenAPI documentation across all services. This ensures consistency in naming, versioning, error handling, and documentation across both new and existing endpoints.

What is the best way to implement consistent error handling and status codes in REST APIs?

Consistent error handling and status codes are implemented using standardized error payloads. This approach specifies exact requirements and patterns that teams must satisfy for HTTP status codes and error responses across endpoints.

How do I draft an OpenAPI spec that follows standard API design guidelines?

Draft an OpenAPI spec by defining resources and following RESTful conventions for versioning and security. You can start by drafting a minimal OpenAPI spec for a blog API that includes posts and comments following standard guidelines.

Does this approach support both URL-based and header-based API versioning strategies?

Yes, this approach supports both URL-based and header-based API versioning strategies. It provides versioning strategies and lifecycle guidance to ensure existing APIs conform to standard design requirements.

What security considerations should I include in REST API governance?

REST API governance security considerations include authentication and rate limiting. These security requirements are specified alongside patterns for resource naming and HTTP methods to ensure comprehensive endpoint protection.

Why do my existing API endpoints lack consistent documentation and naming?

Existing API endpoints lack consistent documentation and naming without standardized conventions. Ralllying existing APIs to conform to standard design enforces OpenAPI documentation validation and RESTful resource naming across projects.