agentleFS
DomenicMoranDomenicMoran/verified-done/skills/verify-before-done/SKILL.md

verify-before-done

Skill2 starsChanged 4 months agoMITView on GitHub

Use when about to report a task as finished, fixed, working, or deployed. Turns the claim into a check against the running system and blocks the summary until there is evidence. Also use when the user asks "is it actually working?" or when a previous answer said "should work now".

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before you write "done", "fixed", "working" or "deployed", produce one artefact from the list below.

    line 12
  2. Distinctive:

    Time and zones: Before concluding that a scheduled run is missing, get the current time from a tool, and be explicit about which zone the …

    line 54
  3. Distinctive:

    Only then write the summary.

    line 63
  4. Distinctive:

    If step 2 is empty, the task is not finished.

    line 65
  5. Distinctive:

    Do not re-run the test suite and present that as verification of a deployment.

    line 70
  6. Distinctive:

    Do not paste a build log as proof that a user-visible change is correct.

    line 71
  7. Distinctive:

    Do not describe intended behaviour in the past tense.

    line 72
  8. Distinctive:

    Do not write "should", "presumably", "I believe" about system state.

    line 73

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

A green build is not evidence. A passing test proves that the function under test does what it should; it does not prove that the system calls it. The gap between those two sentences is where the bugs that reach users live.

Before you write "done", "fixed", "working" or "deployed", produce one artefact from the list below. If you cannot, say what you could not verify instead of softening the claim.

The rule

Every statement about system state needs a receipt: command output, an HTTP response, a database row, a screenshot, a received message, or a real scheduled execution.

"Should work now" is not a result. Neither is "the tests pass".

Pick the check that matches the change

What changedWhat counts as evidence
HTTP route, APIcurl -s -o /dev/null -w '%{http_code}' against the deployed URL, plus one response body assertion
Anything visualA screenshot from a real browser at a real viewport, looked at
Database writeA SELECT that returns the row, run after the write
Scheduled jobThe next real execution, read from the scheduler's own log
Outgoing mailThe received message, opened. Not the send log
Mobile widget, background task, OS integrationA real device, app closed, across one full cycle
Package publishedInstall it fresh into an empty directory and import it
Config or secret changeThe consuming process, restarted, doing the thing that needs it

Failure modes this catches

The second path. A feature works through one code path and is broken in another, and every manual check happens to take the working one. Widgets are the classic case: opening the app refreshes them through a different route than the background task, so the broken background task never shows up while you are working on it.

Registration that never runs. Handlers, listeners and background tasks are registered at start-up. If the registration file is never loaded, nothing fails loudly; the system simply never calls you. Tests do not see this, because a test calls the function itself.

The tool that reports success. Publish steps, deploy steps and OTA update tools print a success line when they finish their own part. That line says nothing about whether anything arrived.

Time and zones. Before concluding that a scheduled run is missing, get the current time from a tool, and be explicit about which zone the scheduler uses versus which zone the log is in. A "missing" run is often simply not due yet.

Checklist before the summary

  1. Name the specific thing you claim works.
  2. Name the check you ran, with its output.
  3. Name what you did not check, and why.
  4. Only then write the summary.

If step 2 is empty, the task is not finished. Say that plainly rather than writing a hedge.

What not to do

  • Do not re-run the test suite and present that as verification of a deployment.
  • Do not paste a build log as proof that a user-visible change is correct.
  • Do not describe intended behaviour in the past tense.
  • Do not write "should", "presumably", "I believe" about system state. Either check it, or state that it is unchecked.

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.