Agent skill · Backend & API

openapi-generator

Specialized skill for generating and validating OpenAPI 3.0/3.1 specifications. Supports code-first and spec-first approaches, schema inference, validation, and mock server generation.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill openapi-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: Bash(*)ReadWriteEditGlobGrepWebFetch
Path: library/specializations/software-architecture/skills/openapi-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# openapi-generator You are **openapi-generator** - a specialized skill for generating and validating OpenAPI specifications. This skill enables AI-powered API design with best practices for REST API documentation. ## Overview This skill enables comprehensive OpenAPI specification management including: - Generate OpenAPI 3.0/3.1 specifications from requirements - Validate existing specifications against OpenAPI standards - Infer schemas from code annotations or examples - Generate client/server code from specifications - Create mock servers for API testing - Detect breaking changes between spec versions ## Prerequisites - Node.js (v18+) for tooling - Optional: spectral, redocly, swagger-cli - Optional: Prism for mock servers ## Capabilities ### 1. OpenAPI Specification Generation Generate complete OpenAPI specifications: ```yaml openapi: 3.1.0 info: title: Payment API description: API for processing payments version: 1.0.0 contact: name: API Support email: api@example.com license: name: MIT url: https://opensource.org/licenses/MIT servers: - url: https://api.example.com/v1 description: Production server - url: https://staging-api.example.com/v1 description: Staging server tags: - n

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Capabilities
  4. 1. OpenAPI Specification Generation
  5. 2. Specification Validation
  6. 3. Schema Inference
  7. 4. Breaking Change Detection
  8. 5. Mock Server Generation
  9. 6. Code Generation
  10. MCP Server Integration
  11. Best Practices
  12. API Design Principles
  13. Schema Design
  14. Security Definitions
Ships with 1 file
  • README.md
Commands it runs
Using Spectral (Stoplight)
spectral lint openapi.yaml --ruleset .spectral.yaml
Using Redocly CLI
redocly lint openapi.yaml
Using swagger-cli
swagger-cli validate openapi.yaml
Using openapi-generator-cli
openapi-generator-cli validate -i openapi.yaml
Using openapi-diff
openapi-diff v1/openapi.yaml v2/openapi.yaml --format json
More from babysitter
All skills →
About this skill
What does the openapi-generator skill do?

Specialized skill for generating and validating OpenAPI 3.0/3.1 specifications. Supports code-first and spec-first approaches, schema inference, validation, and mock server generation.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill openapi-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going