Skip to content
Development
Command

/validate-spec

Validate an existing OpenAPI specification for correctness and completeness.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/validate-spec

Context preview

What this command does when you run it.

Validate an existing OpenAPI specification for correctness and completeness.

Command definition

validate-spec.md
name: validate-spec
description: Validate an existing OpenAPI specification for correctness and completeness.

Validate an existing OpenAPI specification for correctness and completeness.

Steps

1. Load the OpenAPI spec file (YAML or JSON). 2. Validate structural correctness: 3. Validate references: 4. Check completeness: 5. Check for common issues: 6. Report findings with severity levels. 7. Suggest fixes for each issue found.

Format

Spec: <filename>
Version: <openapi version>
Endpoints: <count>
Schemas: <count>

Rules

  • Validate against the official OpenAPI specification schema.
  • Errors must be fixed before the spec can be considered valid.
  • Warnings indicate best practice violations.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin