json-schema-drift-detector

Installation
SKILL.md

When to invoke

  • You maintain APIs/events/config schemas and need to understand what changed between two JSON Schema documents.
  • You want a machine-readable summary of breaking vs non-breaking changes.

Inputs needed

  • --old: Path to the previous JSON Schema (draft-07 style supported).
  • --new: Path to the new JSON Schema.
  • Optional: --out: Path to write a JSON report.

Workflow

  1. Load both schemas.
  2. Recursively index fields (JSON Pointer-like paths) for type, required, enum, and object properties.
  3. Compute added/removed/modified paths.
  4. Classify changes:
    • Breaking: removed field, type change, required added, enum narrowed.
    • Non-breaking: added optional field, required removed, enum widened, description/title-only updates.
  5. Emit a summary and detailed diff entries.
Installs
10
First Seen
May 11, 2026
json-schema-drift-detector — sisodiabhumca/agent-skills