verification-before-completion
Skill9 starsChanged 6 months agoMITView on GitHub
当即将声明工作已完成、已修复或通过验证时,在提交代码或创建 PR 之前必须使用;要求先运行验证命令并确认输出,再做出任何成功声明;永远先拿证据,再做断言
190 other projects use a version of this, 3 of them edited.
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
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 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 · 3
- jnMetaCode/superpowers-zh★ 8.3k11% same
- shibit-net/xuanji-community★ 9310% same
- rzx007/Vykor★ 211% same
Wrote their own version · 187
- obra/superpowers★ 314ksame 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
- TheGoat395/Codex-Skills★ 125same name
177 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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-superpowersSkill
- writing-plansSkill
- writing-skillsSkill
The file
Files
完成前的验证
概述
在未经验证的情况下宣称工作完成,这不是高效,而是不诚实。
核心原则: 永远先拿证据,再做声明。
违背规则的字面含义,就是违背规则的精神实质。
铁律
没有新的验证证据,就不得声明完成如果你在当前对话中尚未运行验证命令,就不能声称它通过。
门禁函数
在声明任何状态或表达满意之前:
1. 识别:什么命令能证明这个声明?
2. 执行:运行完整命令(全新、完整)
3. 阅读:查看完整输出,检查退出码,统计失败数
4. 验证:输出是否证实了声明?
- 否:基于证据说明实际状态
- 是:带着证据做出声明
5. 只有完成后:才做出声明
跳过任何一步 = 说谎,而不是验证常见失败
| 声明 | 需要 | 不足够 |
| 测试通过 | 测试命令输出:0 失败 | 上次运行过、"应该能过" |
| 代码规范通过 | Linter 输出:0 错误 | 只检查了部分、推测 |
| 构建成功 | 构建命令:退出码 0 | Linter 通过、日志看起来正常 |
| Bug 已修复 | 测试原始症状:通过 | 代码改了,默认已修复 |
| 回归测试有效 | 红绿循环已验证 | 测试只通过一次 |
| Agent 已完成 | VCS diff 显示变更 | Agent 报告"成功" |
| 需求已满足 | 逐条核对清单 | 测试通过 |
危险信号 — 立刻停下
- 使用"应该"、"大概"、"看起来"
- 在验证前表达满意("太好了!"、"完美!"、"完成了!"等)
- 尚未验证就要 commit/push/PR
- 轻信 Agent 的成功报告
- 依赖部分验证
- 想着"就这一次"
- 疲惫并想赶紧结束
- 任何暗示成功但尚未运行验证的措辞
阻止自我合理化
| 借口 | 现实 |
| "现在应该能用了" | 去运行验证 |
| "我很自信" | 自信 ≠ 证据 |
| "就这一次" | 没有例外 |
| "Linter 通过了" | Linter ≠ 编译器 |
| "Agent 说成功了" | 要独立验证 |
| "我累了" | 疲惫 ≠ 借口 |
| "部分检查就够了" | 部分证明不了什么 |
| "换种说法就不算" | 精神高于字面 |
关键模式
测试:
✅ [运行测试命令] [看到:34/34 通过] "所有测试通过"
❌ "现在应该能过" / "看起来对了"回归测试(TDD 红-绿):
✅ 编写 → 运行(通过)→ 回退修复 → 运行(必须失败)→ 恢复 → 运行(通过)
❌ "我已经写了回归测试"(未经过红绿验证)构建:
✅ [运行构建] [看到:退出码 0] "构建通过"
❌ "Linter 通过了"(linter 不检查编译)需求:
✅ 重读计划 → 创建核对清单 → 逐项验证 → 报告缺口或完成情况
❌ "测试通过,阶段完成"Agent 委派:
✅ Agent 报告成功 → 检查 VCS diff → 验证变更 → 报告实际状态
❌ 轻信 Agent 报告为什么重要
来自 24 条失败记忆:
- 你的合作伙伴说"我不相信你" —— 信任破裂
- 未定义函数被发布 —— 会崩溃
- 缺失需求被发布 —— 功能不完整
- 在虚假完成上浪费时间 → 重新调整 → 返工
- 违反了:"诚实是核心价值观。如果你撒谎,就会被替换。"
何时适用
在以下情况之前,永远适用:
- 任何成功/完成声明的变体
- 任何满意的表达
- 任何关于工作状态的正向陈述
- 提交代码、创建 PR、任务完成
- 进入下一项任务
- 委派给 Agent
规则适用于:
- 原话
- 改写和同义词
- 成功的暗示
- 任何暗示完成/正确的沟通
底线
验证没有捷径。
运行命令。阅读输出。然后再声明结果。
这一点没有商量余地。
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.

