agentleFS
MirzaMotoTechMirzaMotoTech/agent-craft-for-hermes/skills/verify-before-done/SKILL.md

verify-before-done

Skill0 starsChanged 3 months agoMITView on GitHub

Verify real behavior before claiming work complete.

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

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 9

    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 saying code, configuration, deployment, or integration works.

    line 20
  2. Distinctive:

    After any state-changing external operation.

    line 21
  3. Distinctive:

    When a change introduces a guard, fallback, denial, or cleanup path.

    line 22
  4. Distinctive:

    Before publishing or handing off an artifact.

    line 23
  5. Distinctive:

    Complete when: every material failure has a detecting check or an explicit limitation.

    line 45
  6. Distinctive:

    Test staged files, built package, archive, container, or deployed revision—not a neighboring source tree.

    line 55
  7. Distinctive:

    Run the CLI entry point, browser flow, API boundary, service restart/reload, plugin runtime, or messaging path actually used.

    line 61
  8. Distinctive:

    After pushes, posts, uploads, configuration writes, or record changes, read back the exact target.

    line 73
  9. Distinctive:

    Before the completion claim, confirm the exact delivered artifact was tested.

    line 93

“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

“Done” is a claim about observable behavior, not a description of edits. Verify through the same surface the real consumer uses, with effort proportional to the changed risk.

When to Use

  • Before saying code, configuration, deployment, or integration works.
  • After any state-changing external operation.
  • When a change introduces a guard, fallback, denial, or cleanup path.
  • Before publishing or handing off an artifact.

Verification Ladder

  1. Write: the intended artifact contains the change.
  2. Validate: syntax, schema, imports, or packaging are accepted.
  3. Load: the real system consumed the new artifact or configuration.
  4. Observe: the consumer path exhibits the intended behavior.
  5. Challenge: a relevant failure or guarded path is handled correctly.

Climb as high as the change permits. State the highest observed rung and any unavailable evidence.

Procedure

1. Build a change-impact map

changed surface → plausible failure → cheapest detecting check

Include packaging, runtime reload, external state, security, and cleanup only when affected.

Complete when: every material failure has a detecting check or an explicit limitation.

2. Record the evidence ledger

For each passing check record the candidate it proves and what later change would invalidate it. Reuse evidence until invalidated.

Complete when: repeated broad checks require a named reason.

3. Validate the exact artifact

Test staged files, built package, archive, container, or deployed revision—not a neighboring source tree. Check identity with a commit or checksum when artifact identity matters.

Complete when: the tested bytes are the bytes being delivered.

4. Exercise the consumer surface

Run the CLI entry point, browser flow, API boundary, service restart/reload, plugin runtime, or messaging path actually used. A health endpoint or compilation result cannot substitute for a different consumer surface.

Complete when: intended behavior has been directly observed.

5. Check the credible failure path

For authorization, validation, fallback, cleanup, or safety changes, deliberately exercise one guarded case. Ensure failure is explicit and does not silently widen access or leave residue.

Complete when: the protection fails closed under the tested condition.

6. Verify external state and cleanup

After pushes, posts, uploads, configuration writes, or record changes, read back the exact target. Stop temporary servers, remove fixtures, close task-owned tabs, and verify cleanup.

Complete when: external identity matches and disposable state is absent.

7. Report faithfully

State commands or surfaces, pass/fail counts, artifact identity, skipped checks, and remaining limits. Never smooth a partial result into “done.”

Pitfalls

  • Equating restart with configuration reload.
  • Testing source after delivering a different package.
  • Treating a frontend 200 as proof of interactive behavior.
  • Repeating a full suite after documentation-only changes.
  • Ignoring untracked files during pre-commit review.
  • Claiming an external write succeeded without reading it back.
  • Leaving temporary processes or fixtures after QA.

Verification

Before the completion claim, confirm the exact delivered artifact was tested; consumer behavior was observed; one relevant failure path was checked; later changes did not invalidate retained evidence; external writes were read back; cleanup completed; and all unavailable evidence is named plainly.

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.