verification-before-completion
Skill8 starsChanged 2 months agoMITView on GitHub
Comprehensive five-level validation checklist that every agent must pass before declaring any task or work package complete.
190 other projects use a version of this.
Adopted by
Most recently taken up by
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- HMBSbige/skillstheir own version, first seen Oct 3, 2026
- iliaal/ai-skillstheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
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.
obraSkilldiagnosing-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
MorningStar0709Skillchinese-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-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
c-reichertSkillfinishing-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
MicrosoftSkilltesting-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
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- Archive228/loopkit★ 756same name
- pedronauck/skills★ 633same name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- KbWen/agentic-os★ 206same name
- totvs/engpro-advpl-tlpp-skills★ 138same name
180 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- context/CLAUDE.mdCLAUDE.md
- api-designSkill
- backendSkill
- cavemanSkill
- commitSkill
- evaluator-optimizerSkill
- frontend-design-systemSkill
- interactive-live-testingSkill
- module-planningSkill
- multi-agent-orchestrationSkill
- plan-featureSkill
- prSkill
- ralph-loopSkill
- review-boardSkill
- reviewSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- verificationSkill
- work-recordingSkill
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 177 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
- Distinctive: line 13
Before marking any work package as COMPLETE
- Distinctive: line 14
Before committing code changes
- Distinctive: line 15
Before reporting success to a supervisor or orchestrator agent
- Distinctive: line 16
Before moving to the next task
- Distinctive: line 139
When reporting to a supervisor agent:
- Distinctive: line 162
If any verification level fails:
- Distinctive: line 227
Run full verification for every change
- Distinctive: line 230
Update tests when behavior changes
“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.
Files
Verification Before Completion Skill
Never mark a task as complete without thorough verification. This skill ensures quality gates are passed before any agent reports success upward. The commands below assume a TypeScript/Node monorepo with Vitest or Jest; the discipline is stack-agnostic and every level maps cleanly onto any compiled language or test runner.
When to Use This Skill
Use this skill:
- Before marking any work package as COMPLETE
- Before committing code changes
- Before reporting success to a supervisor or orchestrator agent
- Before moving to the next task
The Verification Protocol
Level 1: Compilation Verification
# TypeScript compilation
npx tsc --noEmit
# Schema tool generation (if the data model changed)
# [CUSTOMIZE: replace with your ORM or codegen command, e.g. prisma generate, drizzle-kit generate, graphql-codegen]
<your-schema-tool> generate
# Service-specific build
npm run build --workspace=apps/<service-name>Pass Criteria:
- Zero TypeScript errors (or zero compiler errors in your language)
- Zero schema-generation errors
- Build completes successfully
Level 2: Static Analysis
# Linting
npm run lint
# Type coverage (if configured)
npm run type-coveragePass Criteria:
- No new linting errors introduced
- Type coverage maintained or improved
Level 3: Unit Tests
# Run unit tests for affected files
npm test -- --testPathPattern="<affected_file>"
# Run full service tests
npm test -- --projects=<service-name>Pass Criteria:
- All existing tests pass
- New tests added for new functionality
- No test regressions
Level 4: Integration Verification
# Start service locally
npm run start:dev --workspace=apps/<service-name>
# Health check
curl http://localhost:<PORT>/healthPass Criteria:
- Service starts without errors
- Health check returns 200 OK
- No runtime errors in logs
Level 5: Functional Verification
For specific changes, verify the actual functionality:
## Functional Test Checklist
### Change: [description of change]
- [ ] Primary functionality works
- [ ] Edge cases handled
- [ ] Error scenarios handled
- [ ] Related functionality not brokenVerification Matrix
| Change Type | L1 | L2 | L3 | L4 | L5 |
| Schema change | ✓ | ✓ | ✓ | ✓ | ✓ |
| Service code | ✓ | ✓ | ✓ | ✓ | ✓ |
| Utility function | ✓ | ✓ | ✓ | - | - |
| Type definition | ✓ | ✓ | - | - | - |
| Comment/docs | ✓ | - | - | - | - |
Pre-Commit Checklist
Before running /commit:
## Pre-Commit Verification
### Code Quality
- [ ] No TODO/FIXME added without a tracked ticket
- [ ] No console.log in production code
- [ ] No hardcoded secrets
- [ ] No commented-out code blocks
### TypeScript
- [ ] `npx tsc --noEmit` passes
- [ ] No `any` types introduced
- [ ] All new functions have return types
### Tests
- [ ] Unit tests pass
- [ ] New tests for new code
- [ ] No test files skipped
### Documentation
- [ ] Work record updated
- [ ] API changes documented
- [ ] Breaking changes notedVerification Report Format
When reporting to a supervisor agent:
{
"workPackage": "WP-XX",
"status": "VERIFIED | FAILED",
"levels": {
"L1_compilation": "PASS",
"L2_static": "PASS",
"L3_unit": "PASS",
"L4_integration": "PASS",
"L5_functional": "PASS"
},
"issues": [],
"filesModified": ["path/to/file.ts"],
"testsRun": 15,
"testsPassed": 15,
"coverageChange": "+2%"
}Failure Handling
If any verification level fails:
## Verification Failure Report
### Level Failed: L3 - Unit Tests
### Error Details
[test output]
### Analysis
[What caused the failure]
### Next Steps
- [ ] Fix the issue
- [ ] Re-run verification from L1
- [ ] Do not proceed until all levels passIntegration with Multi-Agent System
The tester agent uses this skill for every work package:
supervisor -> tester: "Verify WP-03 completion"
tester -> [runs all verification levels]
tester -> supervisor: {
"workPackage": "WP-03",
"status": "VERIFIED",
"levels": { ... },
"recommendation": "PROCEED | FIX_REQUIRED"
}Quick Verification Commands
# Full verification suite (if a verify script is configured)
npm run verify
# Or manually:
# [CUSTOMIZE: replace the schema-tool line with your own codegen command]
<your-schema-tool> generate && \
npx tsc --noEmit && \
npm run lint && \
npm test
# For a specific service:
cd apps/<service-name> && \
npx tsc --noEmit && \
npm testAnti-Patterns
DON'T:
- Skip verification "because the change is small"
- Ignore failing tests
- Suppress linting errors
- Mark as complete before verification
- Assume it works without testing
DO:
- Run full verification for every change
- Fix failures before proceeding
- Document verification results
- Update tests when behavior changes
- Report honest status
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
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.

