页面简介
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.
正文摘录
Back to Skillsopenapi-spec-generationGenerate 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.26,022stars2,863forksUpdated 1/20/2026Developer Tools#openapi#design-first#code-first#validation#api-documentation#sdk-generationDetailsSKILL.mdSecurity AssessmentSafe(100/100)Security Score100/100About openapi-spec-generationThe 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.FAQHow do I generate OpenAPI specs from existing code?You can use the code-first approach to automatically generate specifications based on your existing API code.Is this skill compatible with OpenAPI 3.1 specifications only?Yes, this skill specifically supports OpenAPI 3.1 specifications.What are the limitations of using this skill?The skill primarily focuses on OpenAPI 3.1 and may not support previous versions or specifications.Can I use this skill for designing new APIs?Yes, you can utilize the design-first approach to draft specifications before implementing the API.Does this skill support generating client SDKs?Yes, it includes capabilities for generating client SDKs from the defined OpenAPI specifications.Install openapi-spec-generationDownload ZIPGit CloneDownload and extract the skill files to your .claude/skills/ directory.Download ZIPQuick Setup:Copy the skill folder to .claude/skills/Claude will automatically detect and use the skillRepositorywshobson/agentsRelated Skillsplannotator-last15,879subagent-driven-development1,865marketing-ideas713qt-qml577