Openapi Spec Generation openapi-spec-generation

Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns.

Use it when creating API documentation, generating SDKs, or ensuring API contract compliance.

Works in Claude, ChatGPT, Codex and more
Our test
7/10✓ Verified
tested Dec 6, 2026
GitHub stars
51k
sickn33/agentic-awesome-skills
Added by
0
members
Updated
Dec 6
commit 5480446
Content
2 files
no scripts · 28 KB
License
MIT
free to use

What our test found

Provides useful OpenAPI 3.1 structure, practical validation and SDK steps, and important cautions about authorization and generated artifacts.

Request we tested it on“Draft an OpenAPI 3.1 contract for a small user-management API, then explain how to validate it and generate a TypeScript client.”

Limits spotted

  • The skill is broad and mostly illustrative; it does not provide a focused intake checklist or a complete end-to-end workflow.
  • Some templates contain potentially misleading inconsistencies, and the spec itself may need validation before reuse.
  • Tool commands and configuration examples may vary by tool version and require local verification.
View on GitHub ↗
name: openapi-spec-generation
description: 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.
metadata:
  aas-risk: safe
  aas-source: community
  aas-date-added: '2026-02-27'

OpenAPI Spec Generation

Comprehensive patterns for creating, maintaining, and validating OpenAPI 3.1 specifications for RESTful APIs.

Use this skill when

  • Creating API documentation from scratch
  • Generating OpenAPI specs from existing code
  • Designing API contracts (design-first approach)
  • Validating API implementations against specs
  • Generating client SDKs from specs
  • Setting up API documentation portals

Do not use this skill when

  • The task is unrelated to openapi spec generation
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.