spectral-linting

Official

Lint OpenAPI specs with Spectral for clean APIs.

Authorzerobias-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenAPI specs often drift or contain errors that slip into production, causing integration issues and slow down development. This Skill provides a standardized Spectral-based linting setup to catch common OpenAPI mistakes before merge and promote consistent API documentation.

Core Features & Use Cases

  • Standard OpenAPI linting setup using Spectral with a recommended baseline (.spectral.yml) for critical and warning rules.
  • CI-friendly guidance to automatically lint specs in pull requests and pipelines.
  • Enforces key quality checks (operationId presence, 2xx responses, tag definitions, and valid schemas) to reduce regressions.

Quick Start

Install Spectral and run lint on your OpenAPI spec using the spectral-cli tool.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spectral-linting
Download link: https://github.com/zerobias-org/module/archive/main.zip#spectral-linting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.