agentleFS
bostonaholicbostonaholic/rpikit/skills/verification-before-completion/SKILL.md

verification-before-completion

Skill19 starsChanged 8 months agoMITView on GitHub

Evidence-before-claims discipline for implementation completion. Use before claiming any work is complete, fixed, or passing. Run verification commands and confirm output before making success claims.

189 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

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

  • 0

    Common

    Most of the 177 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:

    Every claim must be backed by evidence you just observed.

    line 22
  2. Distinctive:

    Before any completion claim, complete these steps:

    line 27
  3. Distinctive:

    Read the COMPLETE output.

    line 59
  4. Distinctive:

    Only NOW make your completion claim.

    line 85
  5. Distinctive:

    Wrong: Run only the test file you changed

    line 250
  6. Distinctive:

    Right: Run full test suite to catch regressions

    line 251
  7. Distinctive:

    Right: Run fresh each time before claiming

    line 256
  8. Distinctive:

    Right: Verify anyway, confidence isn't evidence

    line 261
  9. Distinctive:

    Right: Run tests yourself to verify

    line 266

“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

Evidence before claims, always. No completion claims without fresh verification.

Purpose

Claiming work is done without verification breaks trust and wastes time. This skill enforces running verification commands and confirming output before any success claim. "It should work" is not verification.

The Iron Law

NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE.

Every claim must be backed by evidence you just observed. Not evidence from earlier. Not evidence you expect. Evidence you just saw.

The Five-Step Gate

Before any completion claim, complete these steps:

Step 1: Identify

What command proves your claim?

Claim: "Tests pass"
Command: npm test (or project's test command)

Claim: "Build succeeds"
Command: npm run build (or project's build command)

Claim: "Lint is clean"
Command: npm run lint (or project's lint command)

Claim: "Bug is fixed"
Command: The reproduction steps that previously failed

Step 2: Run

Execute the command freshly. Not from cache. Not from memory.

Run the command NOW.
Wait for it to complete.
Do not proceed until finished.

Step 3: Read

Read the COMPLETE output.

- Exit code (0 = success)
- All output lines, not just the last one
- Any warnings (not just errors)
- Summary statistics if provided

Step 4: Verify

Confirm the output supports your claim.

Claim: "Tests pass"
Verify: Exit code 0, "X tests passed", no failures

Claim: "Build succeeds"
Verify: Exit code 0, output files created, no errors

Claim: "Bug is fixed"
Verify: Previous failure no longer occurs

Step 5: Claim

Only NOW make your completion claim.

"Tests pass" - after seeing test output showing success
"Build succeeds" - after seeing build complete without errors
"Implementation complete" - after all verifications pass

Common Failure Modes

Tests

What to run: Project test command
What to verify:
- Exit code 0
- All tests pass (not just "some tests ran")
- No skipped tests (unless intentional)
- No test warnings

Linting

What to run: Project lint command
What to verify:
- Exit code 0
- No errors
- No new warnings (compare to baseline)

Builds

What to run: Project build command
What to verify:
- Exit code 0
- Output artifacts created
- No compilation errors
- No type errors

Bug Fixes

What to run: Steps that reproduced the bug
What to verify:
- Bug no longer occurs
- Related functionality still works
- Regression test added and passes

Delegated Work

What to run: Independent verification of agent's claim
What to verify:
- Agent's claimed output exists
- Output is correct (not just present)
- No silent failures masked

Rationalization Red Flags

ThoughtReality
"It should pass"Run it and see
"I'm confident it works"Confidence isn't evidence
"I already ran it earlier"Run it again, freshly
"The change was small"Small changes can break things
"I'll verify later"Verify now or don't claim
"The agent said it passed"Verify agent's claims independently
"It worked on my machine"Run it in the target environment
"I'm tired of running tests"Fatigue doesn't excuse skipping verification

Integration with Implement Phase

This skill serves as the final gate before completion claims:

Plan step complete? → Run step verification → Claim step done
Phase complete? → Run phase verification → Claim phase done
Implementation complete? → Run all verifications → Claim done

Never mark a step complete without verification evidence.

Before Commits

Run before committing:
1. All tests pass
2. Lint is clean
3. Build succeeds
4. Type check passes (if applicable)

Before PRs

Run before creating PR:
1. All verifications from "Before Commits"
2. Branch is up to date with base
3. No merge conflicts
4. CI would pass (simulate locally if possible)

Before Claiming "Fixed"

Run before claiming bug is fixed:
1. Reproduction steps no longer trigger bug
2. Regression test added and passes
3. Related functionality still works
4. All other tests still pass

Verification Commands by Project Type

Node.js / JavaScript

Tests: npm test
Lint: npm run lint
Build: npm run build
Types: npm run typecheck (or tsc --noEmit)

Python

Tests: pytest
Lint: ruff check . or flake8
Types: mypy .
Format: ruff format --check . or black --check .

Ruby

Tests: bundle exec rspec
Lint: bundle exec rubocop

Go

Tests: go test ./...
Lint: golangci-lint run
Build: go build ./...

Rust

Tests: cargo test
Lint: cargo clippy
Build: cargo build
Format: cargo fmt --check

Anti-Patterns

Partial Verification

Wrong: Run only the test file you changed Right: Run full test suite to catch regressions

Cached Results

Wrong: Trust previous run results Right: Run fresh each time before claiming

Skipping on Confidence

Wrong: "I know this works, no need to verify" Right: Verify anyway, confidence isn't evidence

Trusting Agent Claims

Wrong: Agent said tests pass, so they pass Right: Run tests yourself to verify

Rushing at End

Wrong: Skip verification because you're almost done Right: Final verification is most important

Checklist Before Completion

  • Identified verification command for the claim
  • Ran command freshly (not cached)
  • Read complete output
  • Exit code confirms success
  • Output matches expectations
  • No warnings or errors ignored
  • Evidence supports the specific claim being made

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.