Schema Guard
SkillDev toolsCheck a proposed API or data contract against the current contract, real sample payloads, and a compatibility policy, and gate publication behind a refusable verdict with native digest evidence.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Schema Guard skill
What this skill tells your AI
The instructions your AI receives, as published by runxhq/runx in skills/schema-guard/SKILL.md and read by ahel’s review.
Schema Guard decides whether a proposed contract change can move forward without silently breaking callers. It compares the current and proposed JSON Schema contracts field by field, validates every supplied sample payload against the proposed contract, applies the caller's compatibility policy, and either refuses or emits a gated publish proposal. It never publishes anything itself.
Procedure
- Native
data.digestbinds the exact current schema, proposed schema, and sample set before any judgment, so the verdict is tied to specific bytes. - Deterministic comparison walks both contracts: removed fields, type changes, fields that became required, new required fields, and narrowed enums are breaking; additive optional fields and expanded enums are notes.
- Every sample payload is validated against the proposed contract. Coverage is reported honestly: paths no sample exercises are flagged, not assumed covered.
- The policy decides the verdict. Breaking changes are refused unless
breaking_allowedis explicitly true, and policyrequired_fieldsmust exist in the proposed contract. - A compatible verdict emits a
proposalwith the three digests and changed paths, gated on a schema publisher or human approver. A refused verdict emits no proposal.live_write_performedis always false.
Invalid requests refuse with policy_result: invalid_input and findings rather
than guessing. Missing required inputs fail at admission.
Output
schema_check (runx.schema_check.v1) carries decision, policy_result,
breaking_changes, per-sample validation_results, migration_notes
including coverage, the gated proposal or null, and validation.
Inputs are current_schema, proposed_schema, sample_payloads, and
compatibility_policy.
Signals
- GitHub stars
- 87
- Forks
- 101
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
schema-guard- Source
- github.com/runxhq/runx