Skill岛
返回技能包商店

完成前验证技能包

已实测

Verification Before Completion Skill

交付前系统化验证:不声称完成,直到测试、构建、类型检查等验收项全部通过。

来源仓库下载 SKILL.md
支持平台
Claude CodeCodex
安全等级
低风险
安装难度
新手友好
最后验证
2026年7月2日
来源仓库下载 SKILL.md
01/功能概览

功能概览

交付前系统化验证:不声称完成,直到测试、构建、类型检查等验收项全部通过。

  • AI 说做完了,其实代码跑不通
  • 改了一处没回归验证,破坏了别处
  • 没跑构建就交付,上线才发现报错
  • 类型错误没检查就声称完成
02/使用场景

使用场景

  • 功能开发完先验证再交付
  • 重构后做回归验证
  • 改 bug 后确认没有引入新问题
  • 确保构建和测试通过再报告完成
03/适合人群

适合谁用

  • 被「AI 说做完了其实没好」坑过的人
  • 需要交付前验收的团队
  • 追求交付质量的开发者
04/不适合人群

不适合谁

  • 探索性原型阶段
  • 不需要验证的一次性草稿

普通人版解释

用大白话说

这个技能包解决「AI 说做完了其实没跑通」的问题。普通 AI 写完代码就急着说「完成了」,但你一跑就报错。装了这个技能包后,AI 会在说完成之前先跑测试、构建、类型检查,全部通过才会报告完成。这样交付的质量更有保证。

专业版解释

给 Claude Code / Codex 用户

Verification Before Completion Skill 要求 AI 在声称任务完成之前,先做系统化验证。安装后,AI 不会在写完代码就急着说「完成了」,而是先跑测试、构建、类型检查、回归验证等验收项,全部通过后才报告完成。它明确禁止「未验证就声称成功」,避免「AI 说做完了其实没跑通」的问题。

07/安装方式

安装方式

复制对应平台的命令到终端执行。安装前建议先确认来源和安全等级。

安装命令
/plugin install superpowers@claude-plugins-official
08/SKILL.md 预览

SKILL.md 预览

这是这个技能包的核心内容。默认折叠预览,确认后再复制或展开。

SKILL.md 预览
下载
# Verification Before Completion

## Overview

Claiming work is complete without verification is dishonesty, not efficiency.

**Core principle:** Evidence before claims, always.

**Violating the letter of this rule is violating the spirit of this rule.**

## The Iron Law

```
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
```

If you haven't run the verification command in this message, you cannot claim it passes.

## The Gate Function

```
BEFORE claiming any status or expressing satisfaction:

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 command output: 0 failures | Previous run, "should pass" |
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
| Regression test works | Red-green cycle verified | Test passes once |
| Agent completed | VCS diff shows changes | Agent reports "success" |
| Requirements met | Line-by-line checklist | Tests passing |

## Red Flags - STOP

- Using "should", "probably", "seems to"
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
- About to commit/push/PR without verification
- Trusting agent success reports
- Relying on partial verification
- Thinking "just this once"
- Tired and wanting work over
- **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 |
| "Linter passed" | Linter ≠ compiler |
| "Agent said success" | Verify independently |
| "I'm tired" | Exhaustion ≠ excuse |
| "Partial check is enough" | Partial proves nothing |
| "Different words so rule doesn't apply" | Spirit over letter |

## Key Patterns

**Tests:**
```
✅ [Run test command] [See: 34/34 pass] "All tests pass"
❌ "Should pass now" / "Looks correct"
```

**Regression tests (TDD Red-Green):**
```
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
❌ "I've written a regression test" (without red-green verification)
```

**Build:**
```
✅ [Run build] [See: exit 0] "Build passes"
❌ "Linter passed" (linter doesn't check compilation)
```

**Requirements:**
```
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
❌ "Tests pass, phase complete"
```

**Agent delegation:**
```
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
❌ Trust agent report
```

## Why This Matters

From 24 failure memories:
- your human partner said "I don't believe you" - trust broken
- Undefined functions shipped - would crash
- Missing requirements shipped - incomplete features
- Time wasted on false completion → redirect → rework
- Violates: "Honesty is a core value. If you lie, you'll be replaced."

## When To Apply

**ALWAYS before:**
- ANY variation of success/completion claims
- ANY expression of satisfaction
- ANY positive statement about work state
- Committing, PR creation, task completion
- Moving to next task
- Delegating to agents

**Rule applies to:**
- Exact phrases
- Paraphrases and synonyms
- Implications of success
- ANY communication suggesting completion/correctness

## The Bottom Line

**No shortcuts for verification.**

Run the command. Read the output. THEN claim the result.

This is non-negotiable.
09/使用示例

如何使用

安装后,把下面的提示词直接发给 AI 即可触发这个技能包。

使用示例(直接发给 AI)
  • 1.请使用完成前验证技能包,在交付前帮我跑一遍测试和构建。
  • 2.请使用完成前验证技能包,验证这个改动没有破坏其他功能。
  • 3.请使用完成前验证技能包,确认所有验收项通过后再说完成。
10/安全说明

安全说明

技能包可能不只是提示词。请先查看下面的权限表,了解这个技能包会做什么。

权限项状态风险
是否包含脚本无风险
是否会执行系统命令无风险
是否会读取本地文件无风险
是否会联网请求无风险
是否适合新手安装适合新手
低风险
可以放心安装使用,适合所有用户。
11/相关技能包

相关技能包

查看全部