agentleFS
nick-vasnick-vas/hyperdot/.agents/skills/verify-before-done/SKILL.md

verify-before-done

Skill1 starsChanged 2 days agoApache-2.0View on GitHub

Use when about to say a Godot change is done, fixed, passing or ready, or before committing or opening a pull request.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-first.

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.
  • cathyzhang0905Skill

    plan-first

    Force agent to declare structured plan before tool execution. Activated by Cockpit's UserPromptSubmit hook for plan-worthy tasks.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check the release path: when you touched csproj, project.godot, export presets or autoloads: doctor -Json has no FAIL, and export -Json …

    line 26
  2. Very specific:

    If something failed, say which runner, which error.code and the failing name/file/line, then fix or ask.

    line 61

“Common” is measured: kept by at least 6 in 10 of the 13 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 before done

The Iron Law

NO "DONE", "FIXED" OR "PASSING" WITHOUT A FRESH test -Json THAT SHOWS ok: true

Evidence before claims. If you have not run it in this message, you cannot say it passes. Violating the letter of this rule is violating its spirit. With the kit's plugin enabled, a Stop hook backs it up: once for each set of changes, it stops you from ending your turn while Godot files changed since the last full passing test run, and tells you to run the tests. If the tests ran and failed, or you stop again, it lets the turn end, so report the result, or say why the tests could not run. The hook checks only that tests passed after the last edit; it says nothing about whether the design or the code is good.

The gate

  1. Run the full suite, not the one test you were iterating on: pwsh ${CLAUDE_PLUGIN_ROOT}/ci/godot/hyperdot.ps1 test -Json -Quiet
  2. Read ok, error.code and every runnerResults[] entry. ok: false is not done, whatever else is true.
  3. Check what ran. detect -Json lists runners; the runner that covers your change must be in runnerResults with total > 0. A UI or scene change needs validate and flows/smoke, not only unit tests.
  4. Check the release path when you touched csproj, project.godot, export presets or autoloads: doctor -Json has no FAIL, and export -Json -Quiet -Run passes for each shipped preset (the godot-verifier subagent can run it).
  5. Only then say what you ran and what it showed, in numbers: "test -Json: ok, dotnet 8/8, gut 2/2, flows 1/1".
  6. Commit a change a player would notice with a trailer in the message, which the weekly marketing brief (promo) reads; nothing else reaches it. One Marketing: line per change, in a player's words, and for a squash merge the same lines in the pull request's description:
    Marketing: Meteor storms can now rain down on your base
    Marketing-Priority: high        (high, normal or low; normal when left out)
    Marketing-Visual: yes           (worth a clip)
    Marketing-Scene: res://levels/storm.tscn   (optional: the scene a clip records; Marketing-Args, Marketing-Seconds)

Rationalizations

ThoughtReality
"It runs fine in the editor"The editor hides missing exports, trimmed C# and release-only errors. Run the kit.
"I only changed a scene / a constant"validate and smoke exist for exactly the files no unit test touches.
"The unit test I wrote passes"You ran one test. Other code may now fail. Run all of it.
"That failure is a flake"A flake is a diagnosis, not a reason. Re-run once to confirm (test -Retry 1), then root-cause. Never skip the test.
"It passed on the retry, so it's green"flaky[] lists it: report it by name. A test that fails now and then may hide a real bug.
"Quarantine it and move on"Only the user decides that, with an owner and an end date in quarantine.json. Report quarantined[] too.
"No time to run everything"The kit is the time saver. A wrong "done" costs a round trip.
"The last run was green"That was before your change. Fresh evidence only.
"Zero tests ran, so nothing failed"Zero tests fails by design. The framework is not wired; see godot-test-loop.
"I'll lower the coverage floor / ignore that engine error"That moves the goalposts. Fix the cause, or ask the user.

Red flags - stop

Words like "should work", "probably", "looks good", "I believe". Relying on a partial run. Reporting success from a tool's own message instead of the JSON. Committing with an unread failure. All of these mean: run the gate.

Reporting honestly

If something failed, say which runner, which error.code and the failing name/file/line, then fix or ask. If you skipped a step (no export templates, no Windows runner), say that it was skipped and why. Never present a skipped check as passed.

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.