Skip to content
Development
Skill

/verification-before-completion

完成任务前验证(铁律)— 来自 superpowers 体系。本 skill 是桥接层,完整纪律见 <SUPERPOWERS_SKILL_ROOT>/verification-before-completion/。

From plugin
analysis-to-delivery
2626 skills

Claude Code

$ npx -y skills add BlueprintOS/analysis-to-delivery --skill verification-before-completion --agent claude-code

SKILL.md

verification-before-completion.SKILL.md
name: verification-before-completion
description: 完成任务前验证(铁律)— 来自 superpowers 体系。本 skill 是桥接层,完整纪律见 <SUPERPOWERS_SKILL_ROOT>/verification-before-completion/。
version: 4.0.0

Verification-Before-Completion(桥接到 superpowers)

Contract

  • Inputs: completion claim, verification commands, implementation/documentation outputs
  • Outputs: verification report using IDENTIFY/RUN/READ/VERIFY/THEN
  • Gates: full verification command succeeds and output supports the claim
  • Required disciplines: `stage-gate`
  • Next: commit, fix loop, or `/handoff`

> **本仓库不维护此 skill 的内容**。完整纪律请读: > `<SUPERPOWERS_SKILL_ROOT>/verification-before-completion/SKILL.md`

何时调

  • 每个子任务结束时(在 commit 之前)
  • 整个开发冲刺结束时(在 HANDOVER 之前)

衔接点

  • **产出**:验证报告(IDENTIFY → RUN → READ → VERIFY → THEN 5 步门控)
  • **下一步**:commit(通过)或修复(失败)
  • **门控**:`disciplines/stage-gate` 第 3 层(失败必须重新跑)

5 步门控

参考完整纪律: 1. **IDENTIFY** — 什么命令能证明这个声明? 2. **RUN** — 执行完整的验证命令 3. **READ** — 读完整输出,检查退出码 4. **VERIFY** — 输出是否确认了声明? 5. **THEN** — 才能做出声明

> **铁律:跳过任何一步 = 撒谎,不是验证。**

降级方案(superpowers 未装时)

如果 `<SUPERPOWERS_SKILL_ROOT>/verification-before-completion/` 不存在,严格按以下 5 步门控(铁律,不允许跳):

1. IDENTIFY — 什么命令能证明这个声明?

  • 把"已完成 / 通过 / 成功"翻译成**可执行的命令**
  • 例如:"已修复 ASN 收货 bug" → `mvn test -Dtest=AsnReceiveServiceTest`
  • ❌ 没有命令 = 你不知道自己在声称什么

2. RUN — 执行完整命令

  • 命令必须**完整执行**(不能只看 stdout 头几行就停)
  • 包含退出码 / 错误输出
  • 用 `; echo "exit=$?"` 拿退出码

3. READ — 读完整输出

  • 读**全部**输出,不只是你期望的那部分
  • 数失败数 / 数 PASS 数 / 检查退出码
  • ❌ 看一半就跳 = 漏掉隐藏失败

4. VERIFY — 输出是否真的支持声明?

  • 把命令输出对照你的声明
  • 输出支持 → 进 THEN
  • 输出**反对**你的声明 → 立刻如实汇报(不允许"应该可以了")
  • ❌ "看起来是对的" 一律不算

5. THEN — 才能做出声明

  • **经过前 4 步后**才能写"完成 / 通过 / 成功"
  • 必须附证据:命令 + 退出码 + 关键输出片段
  • ❌ 没跑就声明 = 撒谎

最小纪律摘要

  • **IDENTIFY 写不出命令 = 这个声明不成立**
  • **RUN 不完整 = 假装在验**
  • **READ 跳着看 = 漏失败**
  • **VERIFY 不严 = 给自己找借口**
  • **THEN 没附证据 = 不可信**

安装提示

npx skills@latest add obra/superpowers-verification-before-completion
Read more
@blueprintos
Ships withanalysis-to-delivery

通用需求分析到开发实施工作流 — 26 个独立可组合 skill、3 个完整行业示例、13 个 CI workflow、26 个自动化脚本、15 个 pytest 测试。

Stars on GitHub

Momentum

stars in total
26
Star history of BlueprintOS/analysis-to-delivery on GitHub, a chart by star-history.com

Other skills on analysis-to-delivery.

ask-delivery

ask-delivery

分析到交付的入口 — 根据你的目标(配置/澄清/BRD/PRD/合规/开发/审计/交接)路由到正确的 user-invoked skill。不确定该用哪个 analysis-to-delivery skill 时,从此入口进入。

ascii-flowchart

ascii-flowchart

**Deprecated**: 此 Skill 是 `rules/ascii-flowchart.md` 的兼容壳。 新代码 / 新文档应直接加载 `rules/ascii-flowchart.md`,不要继续依赖本 Skill。

context-pointer

context-pointer

**Deprecated**: 此 Skill 是 `rules/context-pointer.md` 的兼容壳。 新代码 / 新文档应直接加载 `rules/context-pointer.md`,不要继续依赖本 Skill。

doc-numbering

doc-numbering

**Deprecated**: 此 Skill 是 `rules/doc-numbering.md` 的兼容壳。 新代码 / 新文档应直接加载 `rules/doc-numbering.md`,不要继续依赖本 Skill。

no-field-guessing

no-field-guessing

**Deprecated**: 此 Skill 是 `rules/no-field-guessing.md` 的兼容壳。 新代码 / 新文档应直接加载 `rules/no-field-guessing.md`,不要继续依赖本 Skill。

no-self-invent

no-self-invent

**Deprecated**: 此 Skill 是 `rules/no-self-invent.md` 的兼容壳。 新代码 / 新文档应直接加载 `rules/no-self-invent.md`,不要继续依赖本 Skill。

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about verification-before-completion.

Which coding agents can use verification-before-completion?
verification-before-completion installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.