Skill Detail

OpenAPI Spec Validator

Validates and lints OpenAPI 3.0/3.1 specifications using Spectral CLI rules and the Swagger Parser library. Detects breaking changes between spec versions and generates migration guides.

Developer ToolsCustom Agents
Developer Tools Custom Agents Security Reviewed
Tool match: owasp โญ 3.1k GitHub stars โฌ‡ 1.2M/wk npm
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill openapi-spec-validator-agent Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Node.js
Install & setup
npm install -g @stoplight/spectral-cli
Author
Stoplight
Last updated
Mar 24, 2026
Quick brief

The OpenAPI Spec Validator skill performs comprehensive validation of OpenAPI 3.0 and 3.1 specifications using the Spectral CLI linting engine with custom and built-in rulesets. It parses specifications using the Swagger Parser library to resolve $ref references, validate schema correctness, and detect circular references. The skill compares specification versions to identify breaking changes including removed endpoints, narrowed parameter types, and new required fields using the oasdiff library. Features include custom Spectral rule authoring for organization-specific API standards, security scheme validation against OWASP API Security Top 10, and automated SDK generation compatibility checking. Supports bulk validation across API gateway configurations, mock server generation from examples using Prism, and API documentation quality scoring based on description coverage and example completeness.