‹ 首页

verify-before-claim

@mark393295827 · 收录于 1 周前

Iron rule — no completion claims without fresh verification evidence. Use whenever about to claim work is done, fixed, working, or passing. Run verification commands and show output before making any success statement.

适合你,如果你需要在声称工作完成前先运行验证测试

/ 下载安装
verify-before-claim.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add mark393295827/third-brain-v5-skills/verify-before-claim
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mark393295827/third-brain-v5-skills/verify-before-claim
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mark393295827/third-brain-v5-skills/verify-before-claim
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
118GitHub stars
~1.4K上下文体积 · 单文件
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · 92b2e70

Verify Before Claim

NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE.

Usage Template

Prompt

Use verify-before-claim. Before saying this is done, identify the proof command, run it fresh, read the output, and state the actual status with evidence.

Use Case

  • Preventing unsupported claims that code, docs, tests, or workflows are fixed, passing, complete, or working.

Expected Result

  • The agent reports command output, exit code, pass/fail count, and any remaining unverified risk.

Output Example

  • Command: npm test, Exit code: 0, Result: 42 passed, 0 failed, plus residual risks.

Verification Case

  • No completion language appears unless fresh evidence is shown in the same response.

Verified Effect

  • The agent shifts from confidence-based status claims to evidence-based status reports.
Success Metrics
  • A fresh verification command or inspection is run in the current session.
  • Output includes command, exit code or observable evidence, result, and residual risk.
  • No completion claim is made when evidence is missing, stale, or failing.
When to Use
  • Before saying "done", "fixed", "complete", "passing", "working"
  • Before committing or creating a PR
  • Before expressing satisfaction with results
  • When the user asks "is it working?"
  • Any time the agent feels the urge to say "it should work"
The Gate Function
BEFORE claiming any status:

1. IDENTIFY: What command proves this claim?
2. RUN: Execute the FULL command (fresh, complete)
3. READ: Full output, check exit code, count failures
4. VERIFY: Does output confirm the claim?
   - If NO: State actual status with evidence
   - If YES: State claim WITH evidence
5. ONLY THEN: Make the claim

Skip any step = lying, not verifying.

Common Failures

| Claim | Requires | Not Sufficient | |-------|----------|----------------| | Tests pass | Test output: 0 failures | Previous run, "should pass" | | Linter clean | Linter output: 0 errors | Partial check | | Build succeeds | Build exit code 0 | "Looks good" | | Bug fixed | Reproduce original symptom: passes | "I changed the code" | | Tests added | New tests exist + old tests still pass | "Tests should work" | | Vendor/product claim | Official docs, changelog, or independent source; otherwise mark single-source | Keynote/demo statement alone | | Agent can act for user | Mandate, tool log, preview/confirmation, receipt, rollback path | "User asked generally" | | Generated media is safe/provenanced | Source/prompt/edit record and disclosure or watermark path | "Looks AI-generated" |

Red Flags — STOP
  • Using "should", "probably", "seems to" about completion
  • Expressing satisfaction before verification ("Great!", "Perfect!", "Done!")
  • About to commit/push/PR without verification
  • Trusting agent success reports without independent check
  • Relying on partial verification
Expected Value Thinking (From Poker Psychology)
"The biggest bluff is convincing yourself you have control when you don't." — Maria Konnikova

Apply to verification:

| Poker Concept | Verification Application | |---------------|-------------------------| | Expected Value (EV) | Don't just check if it works now; check if it will work reliably | | Controllable vs Uncontrollable | Focus on what you can verify; acknowledge what you can't | | Tilt Control | Don't let excitement about "it works!" skip verification | | Process over Results | Good verification process > lucky outcome |

The verification mindset:

1. Separate what you CAN verify from what you CAN'T
   - CAN: Code compiles, tests pass, output matches expected
   - CAN'T: Edge cases, production behavior, user experience

2. Focus on EXPECTED VALUE, not single results
   - "Tests pass once" ≠ "Tests will pass reliably"
   - "Works in my environment" ≠ "Works in all environments"

3. Be skeptical of success
   - Good decisions can have bad outcomes
   - Bad decisions can have good outcomes
   - KEY: Evaluate the PROCESS, not just the result
Single-Source Product Claims

Keynotes, launch posts, demos, and roadmap statements can be useful evidence, but they are not enough for operational guidance. When the only source is a vendor statement:

Status: single-source
Source type: keynote / launch post / docs / independent test
Operational risk:
What must be verified next:

Do not turn a demo into a guarantee. Treat availability, scale numbers, benchmark claims, payment protocols, security properties, and adoption figures as unverified until checked.

The Biggest Lesson from Poker:

"Knowing when to fold is more important than knowing when to play."

In verification: Knowing when to say "I'm not sure" is better than claiming "it works" without evidence.

  • ANY wording implying success without having run verification
Rationalization Prevention

| Excuse | Reality | |--------|---------| | "Should work now" | RUN the verification | | "I'm confident" | Confidence ≠ evidence | | "Just this once" | No exceptions | | "Different context so rule doesn't apply" | Spirit over letter |

SOP TDD Context

This skill is the verification component of the TDD-for-SOPs approach. Before writing a new SOP:

  1. Define failure: What will the agent do wrong without the SOP?
  2. Watch it fail: Verify the baseline error exists (RED)
  3. Write the SOP: Address those specific failure modes
  4. Watch it pass: Verify the agent now complies (GREEN)
  5. Refactor: Close loopholes while maintaining compliance
Quality Gates
  • [ ] Verification command identified and run
  • [ ] Full output shown (exit code, failure count)
  • [ ] Claim only made WITH evidence
  • [ ] No "should", "probably", "I think" on completion status
  • [ ] Vendor/demo/product claims are marked single-source unless independently verified
  • [ ] Delegated user actions have mandate, receipt, and rollback evidence
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。