verify-diff
Installation
SKILL.md
Verify Diff
The convergence signal is the executor itself returning suggested_edits: [] on a pass verdict — that is, the executor declares nothing more is left to fix. This skill loops until that signal, max iterations is reached, or a safety rail trips.
Designed to be called from non-interactive routines such as dev-workflow-triage. It never prompts the user; it either returns a structured summary or terminates early with a machine-readable reason code.
Invocation contract
The caller passes these fields in natural language (the skill extracts them from the invocation text):
Description(required for explicit-args mode; absent for auto-derive mode) — the original problem the diff is supposed to addressSuggested fix direction(required for explicit-args mode; absent for auto-derive mode) — how the diff was meant to be shapedTarget file(required for explicit-args mode; absent for auto-derive mode) — one relative path (single-file scope; multi-file diffs are out of scope in this mode)Base ref(optional, defaultHEAD) — git ref to diff against (both modes)Max iterations(optional, default3) — upper bound on the refinement loop (both modes; auto-derive applies the same upper bound to each per-skill loop)
Mode determination
A field counts as provided iff the caller supplied a non-empty, non-whitespace value. Empty string and whitespace-only count as absent.