完成前验证

完成前验证

在宣布任务完成前,执行最后的功能性检查和质量验证。

PROMPT EXAMPLE
请在完成前调用 `verification-before-completion` 技能进行自测。
Fast Processing
High Quality
Privacy Protected

SKILL.md Definition

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.


About Superpowers

Superpowers is a complete software development workflow for your coding agents, built on top of a set of composable "skills".

Philosophy

  • Test-Driven Development - Write tests first, always
  • Systematic over ad-hoc - Process over guessing
  • Complexity reduction - Simplicity as primary goal
  • Evidence over claims - Verify before declaring success

Installation

Note: Installation differs by platform. Claude Code has a built-in plugin system. Codex and OpenCode require manual setup.

Claude Code (via Plugin Marketplace)

In Claude Code, register the marketplace first:

/plugin marketplace add obra/superpowers-marketplace

Then install the plugin from this marketplace:

/plugin install superpowers@superpowers-marketplace

Verify Installation

Check that commands appear:

/help
# Should see:
# /superpowers:brainstorm - Interactive design refinement
# /superpowers:write-plan - Create implementation plan
# /superpowers:execute-plan - Execute plan in batches

强大的 Agent Skills

通过我们的专业技能集合提升您的 AI 性能。

开箱即用

复制并粘贴到任何支持技能的智能体系统中。

模块化设计

混合并匹配 'code skills' 以创建复杂的智能体行为。

针对性优化

每个 'agent skill' 都经过调整,以实现高性能和准确性。

开源透明

所有 'code skills' 都开放贡献和自定义。

跨平台支持

适用于各种 LLM 和智能体框架。

安全可靠

经过审核的技能,遵循 AI 安全最佳实践。

赋能智能体

立即开始使用 Agiskills,体验不同之处。

立即探索

如何使用

简单三步,让您的 AI 智能体拥有专业技能。

1

选择技能

在首页根据分类找到您需要的技能。

2

查阅定义

点击进入详情页,查看该技能的详细约束和指令。

3

一键复制

点击复制按钮,将其粘贴到您的 AI 系统设置中。

4

测试反馈

在对话中测试效果,并根据需要微调参数。

5

部署上线

完成测试后,正式部署您的增强型智能体。

用户评价

看看全球开发者如何使用我们的技能集。

张伟

AI 工程师

"Agiskills 让我的智能体开发效率提升了 300%!"

Li Na

产品经理

"这里的 PDF 专家技能解决了我困扰已久的代码生成问题。"

David

开发者

"MCP 构建器非常实用,帮我快速接入了各种工具。"

Sarah

独立开发者

"算法艺术生成的代码非常优雅,注释也很到位。"

陈默

前端专家

"前端设计技能生成的组件质量极高,直接可用。"

王强

CTO

"我们的团队现在统一使用 Agiskills 作为技能标准。"

常见问题

关于 Agiskills 您可能想知道的一切。

是的,所有公开的技能都可以免费复制和使用。

反馈