agentleFS
rizukirrrizukirr/vibekit/skills/verify/SKILL.md

verify

Skill20 starsChanged 4 months agoMITView on GitHub

Use before claiming a change is done, fixed or passing: checks the whole change against its spec, runs the checks no single task could, and returns ready or not ready. Evidence or it did not happen.

  • Commits and pushes

175 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-fix, instinct-export and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 8 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 3 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 7 projects that use this

  • vltingSkill

    scope

    Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.

    Also in 6 projects that use this

  • AnthropicSkill

    patch

    Generate candidate fixes for verified security findings. Consumes

    Also in 3 projects that use this

  • +2 more from TheKREATORS

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Do NOT claim work is done, fixed, complete or passing, and do not push, merge or open a pull request, until this returns ready and the user …

    line 16
  2. Distinctive:

    If the handoff did not carry the paths, derive them and say which you derived.

    line 42
  3. Very specific:

    Every file in the diff appears in some task's Files block, except this run's own spec and plan.

    line 53
  4. Distinctive:

    Every goal in the spec, one at a time, with the evidence behind it.

    line 63
  5. Distinctive:

    Every finding carries one.

    line 89
  6. Distinctive:

    If any finding is auto-fixable, dispatch one fresh subagent carrying all of them in a single brief.

    line 103
  7. Distinctive:

    If the fix agent returns anything but success, the loop ends and its findings stay open.

    line 111
  8. Very specific:

    Never force-push. Never delete a branch, local or remote.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

verify

Does this change satisfy its spec? Answer with evidence, or do not answer.

exec ran every task's clause, so per-task mechanics are already covered. This is the whole-change gate. Seeing one task at a time is what makes exec safe, and it is also why nothing there can notice Task 2 undoing Task 1.

HARD-GATE

Do NOT claim work is done, fixed, complete or passing, and do not push, merge or open a pull request, until this returns ready and the user has signed off.

Three rules

Evidence or it did not happen. A check with no output to show is not a check. Every verdict below names what you ran or read.

Unmeasured is not satisfied. A goal whose criterion is a run that never ran is not satisfied. Reading the code is not a substitute for running it, and no amount of re-reading turns unmeasured into satisfied.

Report what you could not observe. A verdict that hides its gaps reads as evidence while proving nothing. The instrument is wrong at least as often as the change is. Say what you could not check, every time, inside the verdict.

1. Preconditions

  • An approved spec with a ## Goals section.
  • A plan whose tasks are all ticked.
  • A clean working tree.

Any of them missing: stop and name it. Do not partially verify an unfinished run.

InputSource
specexec's handoff, else the newest approved spec under docs/specs/
planthe spec's matching plan
base branchthe branch this one was cut from, which is not always the repo's default
BASEgit merge-base of this branch and the base branch
diffgit diff BASE..HEAD

If the handoff did not carry the paths, derive them and say which you derived. A verdict against the wrong spec is worse than no verdict.

2. Repo-level sweep

Record git rev-parse HEAD first and report it. Everything below measures that commit, and the integration step refuses to ship against any other.

The checks no single task could make:

  • The full test suite.
  • The project's build or check command, if it has one.
  • git status --porcelain is empty.
  • Every file in the diff appears in some task's Files block, except this run's own spec and plan.

The last one is the cross-task check with no other home. A changed file that no task claimed is either scope creep or one task quietly editing another's work.

The exemption is not a loophole. exec ticks checkboxes and commits the plan as it goes, so the plan is changed by every run and claimed by no task. Without the exemption this check fires every time, and a check that always fires is ignored exactly like one that never fires.

A command that errors rather than fails, a missing script, a binary that is not installed, is unobserved, not passed. Say so.

3. Goals walk

Every goal in the spec, one at a time, with the evidence behind it.

  • satisfied: you observed the criterion hold.
  • not satisfied: you observed it fail, or its criterion never ran.
  • partial: the criterion has parts, some observed, the rest named.

partial is for a criterion that genuinely splits, never a hedge on one you skipped. That one is not satisfied.

A goal with no observable criterion is not satisfied, reason: no observable criterion. Do not invent one. A criterion written at verify time grades the change against a spec nobody approved.

Non-goals get the same walk inverted: anything the spec ruled out and the diff built is a blocker.

4. The lazy read

Walk lazy's ladder against the diff. The rungs, as questions:

  • Does anything added already exist in this codebase?
  • Was a dependency added where a few lines would do?
  • Is there an interface with one implementation, or a factory for one product?
  • Is there scaffolding for a need that has not arrived?
  • Does every deliberate shortcut carry a vibekit: comment naming its ceiling?

Report each violation as file:line and the rung it breaks. This is a judgement, and it is not self-grading: exec dispatched the implementer, so the code you are reading is not code you wrote.

Severity

Every finding carries one. Severity is about consequence, and it is not the same question as a goal's verdict, which is about evidence.

  • blocker: a failed sweep check, a goal observed to fail, an unmeasured goal, a non-goal the diff built. Only a blocker produces not ready.
  • warn: a ladder violation whose fix would change behaviour, or a partial goal.
  • nit: a ladder violation whose fix cannot change behaviour.

An unobserved part is a blocker even inside a partial goal. A goal whose criterion has several parts, one of them never run, is not laundered into a warn by the parts that passed. Unmeasured gates regardless of its company.

A warn or a nit never gates. Treating one as a blocker halts a pipeline over a name, and a gate that fires on everything is ignored exactly like one that fires on nothing.

Fixability is a second, independent question: a finding is auto-fixable only if fixing it cannot change behaviour. A nit whose fix would alter behaviour still reaches the user, and a blocker that is a pure rename does not.

5. The bounded fix loop

If any finding is auto-fixable, dispatch one fresh subagent carrying all of them in a single brief. Never one dispatch per finding: two implementers on one diff conflict.

Confine the fix agent to files already in the diff. A fix reaching outside it is a blocker, not a fix: the fix belongs to no task's Files block, so without the confinement it trips the sweep's scope check on the next round.

Then run the sweep and the ladder again from the top. The re-run is the gate on the fix. A fix that breaks a test comes back as a failed check, which is a blocker: no special handling, and no way for a repair to slip past unchecked.

Stop at the first of these: a round produced no new findings, or one round completed. Anything still open is carried to the ending as information, never retried. A ladder finding has no exit status to converge on, so the bound is what makes stopping a property rather than a hope.

If the fix agent returns anything but success, the loop ends and its findings stay open. Do not answer its question yourself.

Verdict

Report in the conversation. Write nothing, commit nothing.

Swept:   the HEAD every check below ran against
Sweep:   one line per check, with what it returned
Goals:   one line per goal, verdict, then the evidence
Fixed:   what the loop fixed, or none
Open:    remaining warns and nits, each with its severity
Unseen:  what you could not observe, and why
Verdict: ready | not ready

not ready requires a blocker. There is no ready with caveats: a caveat is a blocker looking for a waiver.

The ending

Both exits end with the user. Present, then wait.

On ready: the git diff --stat summary, the open warns and nits, and three ways this change could be wrong that the tests would not catch. Then: approve, fix, or abort. Approval is always available. Only the user blocks: the risk list is judgement with nothing behind it, and letting an unevidenced guess veto the person whose code it is inverts who decides.

On not ready: every blocker with its evidence, then the routing choice. A failing test or build belongs to debug. A goal this plan cannot satisfy belongs to plan. A ladder violation belongs to exec as a new task. The user picks, and may override with the gap named and on the record.

6. Integration

Reachable only after approval, and only the one option the user picks. Never two in one run: a second one is a second decision, made again.

  • Merge locally: git switch <base-branch>, then git merge --no-ff <branch>. No push, and the branch stays. On conflict, stop and leave it conflicted: you did not write this code, and resolving it here is the repair this skill refuses everywhere else.
  • Push and open a PR: git push -u origin <branch>, then gh pr create. Title from the spec's title, never the branch name. The body names the spec, the plan, what the sweep ran, and the open warns and nits. Print the URL.
  • Keep as is: nothing runs. Say so in one line.

Before any of them, two checks: the tree is clean, and git rev-parse HEAD equals the Swept: line of the verdict. A commit landing while the user decided makes the verdict stale, so say so and run again from the top rather than shipping what nothing checked. Compare the written value, never a remembered one.

Never force-push. Never delete a branch, local or remote. Never merge with a dirty tree. Never pass --no-verify.

Repair nothing yourself

The loop dispatches. You do not edit. Fixing what you find makes you the author of the change you are gating, and then there is no gate.

Integrating is not repairing. A merge the user asked for adds no line you wrote and happens after the verdict rather than in order to reach one.

Handoff

None. Integration ends the pipeline. Nothing else runs until every blocker is closed and verify runs again from the top.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.