Validates OpenAPI 3.0/3.1 specifications using Spectral linting rules and generates interactive API documentation with Redoc and Swagger UI. Supports custom ruleset definitions and CI integration.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "OpenAPI Spec Validator & Docs Generator"
slug: "openapi-spec-validator-docs-generator"
description: "Validates OpenAPI 3.0/3.1 specifications using Spectral linting rules and generates interactive API documentation with Redoc and Swagger UI. Supports custom ruleset definitions and CI integration."
github_stars: 3084
verification: "security_reviewed"
source: "https://github.com/stoplightio/spectral"
author: "Stoplight"
category: "Library & API Reference"
framework: "MCP"
tool_ecosystem:
github_repo: "stoplightio/spectral"
github_stars: 3084
npm_package: "@stoplight/spectral-cli"
npm_weekly_downloads: 1201267
---
# OpenAPI Spec Validator & Docs Generator
Validates OpenAPI 3.0/3.1 specifications using Spectral linting rules and generates interactive API documentation with Redoc and Swagger UI. Supports custom ruleset definitions and CI integration.
## Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @stoplight/spectral-cli
- yarn global add @stoplight/spectral-cli
Basic usage or getting-started notes:
- [💻 Usage](#-usage)
- ## 💻 Usage
- To get started, run this command in your terminal to create a .spectral.yaml file that uses the Spectral predefined rulesets based on OpenAPI, Arazzo or AsyncAPI:
- Source: https://github.com/stoplightio/spectral
- Extracted from upstream docs: https://raw.githubusercontent.com/stoplightio/spectral/HEAD/README.md
## Documentation
- https://docs.stoplight.io/docs/spectral/ZG9jOjExNw-overview
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/openapi-spec-validator-docs-generator/)
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.