What problem does it solve? Malformed tool schemas, unsafe command surfaces, and breaking schema changes can silently reach AI agents in production, causing malformed tool calls, data corruption, or dangerous autonomous actions. This Skill adds a deterministic CI/pre-commit enforcement gate that fails the build before those specs ship. ## Core Features & Use Cases - Three-axis validation: Detects cross-model portability drift (OpenAI/Anthropic/Gemini dialect lock-in, strict-mode incompatibility), unsafe command surfaces (destructive commands, over-broad permissions, injection-exposed fields, missing HITL gates), and breaking schema evolution versus a baseline spec. - Risk-tiered gating: Maps severity to gate actions via .spec-validator.yaml so critical/high findings block the build while warnings and info findings stay exit-neutral, avoiding blanket build kills. - Machine and human reports: Emits spec-validation.json and spec-validation.md with per-finding axis, severity, locator, and rule references, plus exit codes 0/1/2 for direct CI wiring. - Use Case: Before merging a pull request that changes an MCP tool manifest, run the gate against the new spec with the previously shipped spec as baseline; the build fails if a required field was added without a default or a destructive command pattern was introduced. ## Quick Start Ask the agent to run the spec-validation gate on your tool schema files with the previously shipped spec as the baseline and wire the exit code into your CI pipeline.