validating-api-schemas
Skill by jeremylongshore
Validates API schemas against OpenAPI, JSON Schema, and GraphQL specifications. Built for developers who want to catch incomplete specs and breaking changes before they reach API consumers.
Install validating-api-schemas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/validating-api-schemas ~/.claude/skills/validating-api-schemasRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/validating-api-schemas ~/.gemini/antigravity-cli/skills/validating-api-schemasAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install validating-api-schemas in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill checks API specification files against OpenAPI 3.0 and 3.1, JSON Schema Draft 2020-12, and GraphQL SDL standards. It locates spec files in a project, runs structural validation, and applies Spectral linting rules for naming, descriptions, and examples. It also checks that every endpoint has request and response schemas, that $ref references resolve, and that security requirements are declared. Breaking changes are found by comparing the current schema with the previous released version. Findings are written as JSON and Markdown reports with severity levels and file:line references. The skill suits API developers and teams who want schema checks in pre-commit hooks or CI pipelines on pull requests.
Written from the project's SKILL.md and checked against it.
What it can do
- Structural validationChecks that specs conform to OpenAPI 3.0, 3.1, or JSON Schema Draft 2020-12.
- Spectral lintingEnforces naming conventions, required descriptions, and example values with Spectral rules.
- Completeness checksVerifies documented request schemas, response codes, and that all $ref targets resolve.
- Security coverageConfirms each endpoint declares a security requirement or is marked public with rationale.
- Breaking change detectionCompares the current schema with the previous released version to find removed or changed items.
- Consistency checksChecks pagination parameter names, error envelopes, and date formats across endpoints.
- Validation reportsProduces JSON and Markdown reports with severity levels and file:line references.
- Coverage matrixGenerates an endpoint documentation completeness matrix with coverage percentage.
What you need
- Claude Code
- OpenAPI or GraphQL SDL schema files
- Spectral, graphql-schema-linter, or ajv-cli
- oasdiff or openapi-diff for breaking change detection
- Version control for schema files
Try asking
- Validate the API schema in this project against OpenAPI 3.1.
- Check the OpenAPI spec for missing response schemas and unresolved $refs.
- Compare the current schema with the last release and list breaking changes.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/validating-api-schemas/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGrepGlobBash(api:schema-*)
-
SKILL.md5 KB -
references/errors.md1 KB -
references/examples.md5 KB -
references/implementation.md2 KB -
scripts/validate-schema.sh649 B
Alternatives to validating-api-schemas
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
validating-api-schemas: common questions
Which schema formats does this skill validate?
It validates OpenAPI 3.0 and 3.1 specs, JSON Schema Draft 2020-12, and GraphQL SDL files.
How does it detect breaking changes?
It compares the current schema with the previous released version and looks for removed endpoints, removed required fields, type changes, and narrowed enum values. The source names oasdiff or openapi-diff for this step.
Can it run in a CI pipeline?
The skill outputs a CI-ready validation script and suggests running checks on every pull request. Pre-commit hooks are also described as an example.
How do I install validating-api-schemas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is validating-api-schemas free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is validating-api-schemas safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to validating-api-schemas?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
