AgentSkillsCN

verify

在宣称任务完成之前,务必仔细核查。当您说“工作已完成”、“测试通过”或“构建成功”时,此技能将提醒您再次确认,确保万无一失。

SKILL.md
--- frontmatter
name: verify
description: "Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed."

Run the relevant verification command before claiming a result.

Workflow

  1. Identify what command proves the claim
  2. Run the command (fresh, not a previous run)
  3. Read the full output — check exit code, count failures
  4. Report actual results with evidence

Claim-to-Evidence Map

ClaimRequired Evidence
Tests passTest command output showing 0 failures
Linter cleangolangci-lint run output showing 0 errors
Build succeedsgo build exit 0 (linter passing is not enough)
Bug fixedOriginal symptom no longer reproduces
Regression testedRed-green cycle: test fails without fix, passes with it
All checks passmake audit output showing all steps pass

Transform Vague Tasks into Verifiable Goals

Before starting, rewrite the task as a testable outcome:

Task as givenVerifiable goal
"Add validation"Write tests for invalid inputs, then make them pass
"Fix the bug"Write a test that reproduces it, then make it pass
"Refactor X"Ensure tests pass before and after
"Improve performance"Measure before, change, measure after, compare

For multi-step work, pair each step with its check:

code
1. [Step] → verify: [check]
2. [Step] → verify: [check]

Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.

Examples

code
Good:  ran `make audit` → "All checks pass (format, vet, lint, test)"
Good:  ran `go test ./...` → "34/34 tests pass"
Avoid: "Should pass now" / "Looks correct" (without running anything)

Relationship to /qa

/qa tells you what to run. /verify reminds you to actually run it before claiming the result.