Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, or ensuring API contract compliance.
The openapi-spec-generation skill provides a comprehensive solution for generating and maintaining OpenAPI 3.1 specifications from various sources, including code and design-first specifications. This skill addresses the challenges faced by developers and teams when documenting APIs, ensuring contract compliance, and generating SDKs. By allowing users to create clear and consistent API documentation, it simplifies the onboarding of new developers and enhances communication with stakeholders.
You can use the code-first approach to automatically generate specifications based on your existing API code.
Yes, this skill specifically supports OpenAPI 3.1 specifications.
The skill primarily focuses on OpenAPI 3.1 and may not support previous versions or specifications.
Yes, you can utilize the design-first approach to draft specifications before implementing the API.
Yes, it includes capabilities for generating client SDKs from the defined OpenAPI specifications.
Quick Setup:
.claude/skills/Repository
wshobson/agents