agentleFS
Cody-SimsCody-Sims/agent-skills/skills/verification-before-completion/SKILL.md

verification-before-completion

Skill0 starsChanged 4 months agoMITView on GitHub

Requires fresh evidence before any claim that work is done, fixed, passing, working, complete, or ready. Run the relevant command now, read the actual output and exit status, inspect the produced artifact or diff, reproduce the original symptom and confirm it is gone, and distinguish verified results from assumed ones. Use before reporting completion, closing a task, or telling the user something works, and whenever tests, builds, or lint results are described as passing.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, chinese-git-workflow and 10 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.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • c-reichertSkill

    finishing-a-branch

    Use when implementation is complete and all tests pass — guides branch completion by presenting structured options for merge, PR, or cleanup.

    Also in 3 projects that use this

  • MicrosoftSkill

    testing-anti-patterns

    Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

    Also in 4 projects that use this

  • +1 more from shibit-net

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 177 edited versions we read keep these.

  • 5

    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:

    Do not claim work is done, fixed, passing, working, or ready without fresh evidence gathered now.

    line 13
  2. Distinctive:

    Use this before reporting completion, closing a task, telling the user something works, or citing tests, a build, or lint results as …

    line 24
  3. Distinctive:

    Run the relevant command now.

    line 32
  4. Distinctive:

    Read the actual output and the exit status.

    line 34
  5. Distinctive:

    Do not let one kind of evidence stand in for another:

    line 48

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

Verification Before Completion

Do not claim work is done, fixed, passing, working, or ready without fresh evidence gathered now. A plausible expectation is not verification.

Goal

Replace assumed success with observed success. Every completion claim must rest on command output, exit status, or an inspected artifact obtained in the current session.

When to use

Use this before reporting completion, closing a task, telling the user something works, or citing tests, a build, or lint results as passing. It applies to your own work and to any result reported by a subagent.

Procedure

  1. Name the claim you are about to make and the specific evidence that would prove it. If you cannot name the evidence, you cannot make the claim.
  2. Run the relevant command now. Do not rely on output from an earlier turn, a cached result, or a run before your last change.
  3. Read the actual output and the exit status. A command that prints text but exits non-zero has failed. Do not skim for the word you hoped to see.
  4. Inspect the produced artifact or diff when the claim is about a file, build output, or change. Confirm it contains what you expect.
  5. Reproduce the original symptom and confirm it is gone. Fixing code is not the same as fixing the problem; trigger the original failing case and watch it pass.
  6. Distinguish verified results from assumed ones in your report. State plainly what you ran and what you inferred but did not run.
  7. Report unresolved and pre-existing failures instead of hiding them. Do not narrow a command, skip a case, or alter a test to produce a green result.

Distinctions that matter

Do not let one kind of evidence stand in for another:

  • A build compiling is not the same as tests passing.
  • Tests passing is not the same as lint or type checks passing.
  • A passing focused test is not the same as a passing full suite.
  • Static compilation is not the same as correct runtime behavior.
  • A subagent's report is not the same as independently verified state.
  • Code that looks correct is not the same as a reproduced symptom that is gone.

Anti-rationalization

These thoughts are signals to stop and verify, not to proceed:

  • It should work now.
  • The change is small, so it is fine.
  • The test probably still passes.
  • It worked earlier, so it still works.
  • The subagent said it was done.

Each of these is an assumption. Convert it into a command you run now.

What counts as evidence

  • Command output together with its exit status, produced after the final change.
  • A file or diff you opened and read in the current session.
  • The original failing case, re-run, now passing.

Output format

Report:

  1. Each claim, and the exact command or inspection that verified it.
  2. The actual result, including exit status and any failure.
  3. What you verified versus what you assumed.
  4. Any unresolved or pre-existing failure, stated openly.

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.