Wit Breaking Change Check wit-breaking-change-check

Classify WIT interface changes as breaking or non-breaking against frozen version markers.

Use it when the user wants to check WIT breaking changes, review a WIT diff, verify whether a WIT change is breaking, or run a WIT compat check. Trigger on: 'check WIT breaking changes', 'review WIT diff', 'is this WIT change breaking', 'WIT compat check'.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
34k
zeroclaw-labs/zeroclaw
Added by
0
members
Updated
Dec 6
commit 7f84971
Content
1 file
no scripts · 3 KB
License
Apache 2.0
free to use

What our test found

The skill provides a clear taxonomy and review workflow, though its result depends on accurate diffs and versioning guidance in the repository.

Request we tested it on“Review this WIT change for compatibility: in frozen `wit/v2`, an existing record gains a required `timeout` field, and a new interface is added. The `.frozen` marker is present.”

Limits spotted

  • Assumes `origin/master` exists and is the correct comparison base.
  • Does not explain how to handle renamed or deleted version directories in a diff.
  • Relies on `wit/VERSIONING.md` without specifying what to do if it is missing or conflicts with the listed taxonomy.
View on GitHub ↗
name: wit-breaking-change-check
description: "Classify WIT interface changes as breaking or non-breaking against frozen version markers. Use this skill when the user wants to check WIT breaking changes, review a WIT diff, verify whether a WIT change is breaking, or run a WIT compat check. Trigger on: 'check WIT breaking changes', 'review WIT diff', 'is this WIT change breaking', 'WIT compat check'."

WIT Breaking Change Check

Classifies every modification in the current WIT diff against the breaking-change taxonomy and reports a verdict for each finding.

When to Use

  • Before merging any branch that touches wit/
  • When reviewing a PR that modifies WIT interface definitions
  • To verify a WIT change is safe before publishing a plugin-compatible release

Procedure

  1. Run git diff origin/master -- wit/ to obtain the current diff.
  2. For each wit/vN/ directory in the diff, check whether wit/vN/.frozen exists. If absent, report the version as experimental and state that components must be rebuilt against the WIT shipped by the target host; do not claim the frozen-version compatibility window applies.
  3. For each frozen version with changes, classify every modification against the breaking-change taxonomy in wit/VERSIONING.md:
  4. Breaking: removing/renaming any type, function, record field, enum case, or variant case; adding a case to an existing enum or variant; changing a function signature; changing a field type; reordering record fields; adding a required (non-optional) field to an existing record; adding a non-capability-gated required function to an existing interface.
  5. Non-breaking: new flags bits, new capability-gated functions, new record/variant/enum types (but not cases added to an existing enum or variant), new interfaces, new worlds, @since/@unstable annotation additions.
  6. Report each finding with a verdict:
  7. ✅ Non-breaking — with a brief reason citing the taxonomy
  8. ❌ Breaking — with a brief reason citing the taxonomy
  9. ⚠️ Uncertain — with the ambiguity explained
  10. If any breaking change is found, summarize the required migration path for plugin authors. For an unfrozen experimental version, state that components must be rebuilt against the target host's shipped WIT; the current-and-previous-major host compatibility window begins only after a version directory is frozen.

Notes

The .frozen marker is a human-readable convention: its presence signals to reviewers and this skill that the version is stable and requires the breaking-change check before merge. For experimental (unfrozen) versions, report the target-host rebuild requirement without assigning a frozen-version compatibility verdict.