AgentSkillsCN

verification-before-completion

在标记任务完成之前,务必确认工作已真正完成。每项任务与每个功能都需经过最后的强制性验收关口。

SKILL.md
--- frontmatter
name: verification-before-completion
description: Ensures work is actually complete before marking it done. Mandatory final gate for every task and feature.

Verification Before Completion

When This Skill Activates

  • Before saying "done", "complete", "finished", or "ready"
  • Before the final commit of a feature
  • When the /verify command is invoked
  • At the end of any implementation cycle

CRITICAL: You Are Not Done Until Verified

"It should work" is not verification. "I think it's fine" is not verification. ONLY passing automated checks counts.

Process

Quick Verification (per task)

After each individual task, run:

  1. The task's specific verification command
  2. Confirm the expected output matches

Full Verification (per feature)

At the end of a feature, delegate to the verifier droid:

code
Task tool → subagent_type: verifier
Provide: Spec, plan, changed files, repo path

The verifier checks:

  1. Full test suite passes
  2. Linter passes
  3. Type checker passes (if applicable)
  4. Every acceptance criterion is met AND tested
  5. No regressions
  6. No debug artifacts left behind
  7. Build/dev server starts successfully

If Verification Fails

  • Do NOT mark as done
  • Identify which check failed
  • Route to appropriate skill:
    • Test failure → systematic-debugging
    • Lint/type error → fix directly
    • Missing acceptance criterion → back to subagent-driven-development
  • Re-verify after fix

Checklist (Before Saying "Done")

  • All tests pass
  • Lint clean
  • Type check clean (if applicable)
  • Every acceptance criterion verified
  • No TODO/FIXME/HACK comments left
  • No debug logging left
  • Git working tree clean
  • Commits are descriptive and atomic