AgentSkillsCN

verification-before-completion

在宣称工作已完成、已修复,或顺利通过测试之前,务必先运行验证命令并确认输出结果,方可做出成功宣告。

SKILL.md
--- frontmatter
name: verification-before-completion
description: Use before claiming work is complete, fixed, or passing. Requires running verification commands and confirming output before making any success claims.

Verification Before Completion

Overview

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

Core principle: Evidence before claims, always.

The Iron Law

code
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

code
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

Common Failures

ClaimRequiresNot Sufficient
Tests passTest command output: 0 failuresPrevious run, "should pass"
Build succeedsnpm run build: exit 0"Linter passed", "logs look good"
Bug fixedTest original symptom: passesCode changed, assumed fixed
Dev server worksnpm run dev: no errors"Should work"

Red Flags — STOP

  • Using "should", "probably", "seems to"
  • Expressing satisfaction before verification ("Great!", "Done!")
  • About to commit/push without verification
  • Relying on partial verification
  • ANY wording implying success without having run verification

Verification Commands for This Project

bash
# Build check
npm run build

# Dev server
npm run dev

# Playwright e2e (if configured)
npx playwright test

# TypeScript check
npx tsc --noEmit

The Bottom Line

No shortcuts for verification.

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