agentleFS
oleg494oleg494/coding-kit/skills/verification-before-completion/SKILL.md

verification-before-completion

Skill3 starsChanged 11 days agoMITView on GitHub

Use before claiming work is complete, fixed, passing or ready to merge, and before committing or opening a PR: matching the evidence to the type of claim. Not for writing or choosing the checks themselves (use testing-discipline), for diagnosing a failure (use systematic-debugging), or for judging another agent completed work (use fable-judge).

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions 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.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • 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 20 projects that use this

  • jh941213Skill

    docs-ci

    문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.

    Also in 3 projects that use this

  • jh941213Skill

    docs-interfaces

    API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.

    Also in 3 projects that use this

  • +3 more from Leodorareluctant259
  • +4 more from jh941213

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 2

    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:

    Name the evidence that can establish it: Use the table below; the claim and its evidence must be the same kind of thing.

    line 18
  2. Distinctive:

    Delete the claim's doubt by checking the smallest observation that can falsify it, not by adding unrelated checks.

    line 40

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

This skill is the gate between finished work and the sentence "it works". The check happens before the claim, not after someone challenges it.

Completion claims without applicable verification evidence do not get made. Applicable means the evidence covers this claim, this state and this scope — see OPS §3 for what keeps evidence valid.

The gate

  1. Name the claim precisely. Which behavior, artifact or scope is claimed? "Tests pass" and "the suite passes on the merged tree" are different claims.
  2. Name the evidence that can establish it. Use the table below; the claim and its evidence must be the same kind of thing.
  3. Check whether valid evidence already exists for the current state. If it does, reuse it and cite its provenance rather than rerunning. If it does not, produce it.
  4. Read the actual output or observation. Exit code, failure count, rendered result, probe response — not the command's success in general.
  5. Claim only what the evidence shows. If it shows less than the claim, narrow the claim or report the gap. Both directions count: claiming a suite-wide green you did not run is dishonest, and rerunning an unchanged check with no new failure or concern is ceremony.

Evidence by claim type

Many checks do not end in an exit code.

ClaimEvidenceNot sufficient
Tests passTest run output with 0 failures on the current state"should pass", a passing subset, a run from before the change
Build/compile succeedsBuild command exit 0Lint passing, logs that look fine
Lint or typecheck cleanThat tool's output for the claimed scopeAnother tool's clean result, extrapolation from one file
Bug fixedThe original symptom re-exercised and now behaving correctlyCode changed, "the fix is obvious"
Regression test worksBefore-fix failure established, then the behavior re-exercised afterThe test merely passing once
UI/behavior correctAn observed rendered flow, screenshot, or interactive sessionReading the component code
Deploy or service healthyThe consumer path probed, or an independent observer"The command exited 0"
Documentation changeReading the changed document, or a review of its diffA passing test suite
Requirements metA line-by-line pass over the requestTests passing
An agent or subagent finishedInspecting the changed artifacts and exercising the claimThe agent's own success report

Delete the claim's doubt by checking the smallest observation that can falsify it, not by adding unrelated checks.

When the evidence cannot be obtained

Unavailable is not passed, and it is not a failed check either. When the primary check cannot run — service down, environment missing, permission absent — report it as unavailable, name the prerequisite, and do not retry the same dead service in a loop.

A substitute check counts only if it proves the same contract. If it proves less, narrow the claim to what it does prove and report the required check as unavailable. A narrowed claim is honest; a promoted substitute is not.

Rationalizations

ExcuseReality
"Should work now"Run the check that proves it, or say it is unverified
"I'm confident"Confidence is not evidence
"Just this once"The exception is how false completion reports start
"Linter passed"A linter does not compile, and its scope is not the build's
"Agent said success"Verify independently; a report is claims, not evidence
"I'm tired / want this over"Exhaustion is not evidence either
"Partial check is enough"Then narrow the claim to that partial scope
"Different words, so the rule doesn't apply"A softer phrasing of "done" is still a completion claim
"It passed earlier in this session"Valid only if the state has not changed since; say which state it covered
"CI will catch it"A future check is not evidence for a present claim

Red flags

Pause before the claim when you notice:

  • "Should", "probably", "seems to" used as proof instead of a labeled uncertainty
  • satisfaction language ("Done", "Perfect", "Great") before any check
  • committing, pushing or opening a PR with no evidence for the final state
  • trusting someone else's success report, including a subagent's
  • extrapolating a partial result to the full claimed scope
  • rationalizing that this case is special

Visible evidence patterns

Tests:      [run command] [0 failures] → "These tests pass on this revision"
Build:      [run build] [exit 0]      → "The build succeeds"
Bug fix:    [reproduce before] [recheck after] → "The reported symptom no longer reproduces"
Requirements: re-read request → checklist → verify each → report gaps or completion
Delegation: agent reports success → inspect artifacts → exercise behavior → report actual state

State provenance when reusing evidence (which state, which command, which result) so a later reader can tell what was and was not observed. Calibrated uncertainty is a valid report; it is not a substitute for the check.


Source: obra/superpowers (MIT). Adapted for coding-kit: cross-references made local.

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.