AgentSkillsCN

verify

清单验证运行器。为全局不变量与验收标准分别启动并行验证器。该运行器由 /do 命令调用,不直接面向终端用户开放。

SKILL.md
--- frontmatter
name: verify
description: 'Manifest verification runner. Spawns parallel verifiers for Global Invariants and Acceptance Criteria. Called by /do, not directly by users.'

/verify - Manifest Verification Runner

Orchestrate verification of all criteria from a Manifest by spawning parallel verifiers. Report results grouped by type.

User request: $ARGUMENTS

Format: <manifest-file-path> <execution-log-path> [--scope=files]

If paths missing: Return error "Usage: /verify <manifest-path> <log-path>"

Principles

PrincipleRule
Orchestrate, don't verifySpawn agents to verify. You coordinate results, never run checks yourself.
ALL criteria, no exceptionsEvery INV-G* and AC-. criterion MUST be verified. Skipping any criterion is a critical failure.
Maximize parallelismLaunch all verifiers in a SINGLE message with multiple Task tool calls. Never launch one at a time.
Globals are criticalGlobal Invariant failures mean task failure. Highlight prominently.
Actionable feedbackPass through file:line, expected vs actual, fix hints.

Verification Methods

TypeWhatHandler
bashShell commands (tests, lint, typecheck)criteria-checker
codebaseCode pattern checkscriteria-checker
subagentSpecialized reviewer agentsNamed agent (e.g., code-bugs-reviewer)
researchExternal info (API docs, dependencies)criteria-checker
manualSet aside for human verification/escalate

Note: criteria-checker handles any automated verification requiring commands, file analysis, reasoning, or web research.

Criterion Types

TypePatternFailure Impact
Global InvariantINV-G{N}Task fails
Acceptance CriteriaAC-{D}.{N}Deliverable incomplete
Process GuidancePG-{N}Not verified (guidance only)

Note: PG-* items guide HOW to work. Followed during /do, not checked by /verify.

Never Do

  • Skip criteria (even "obvious" ones)
  • Launch verifiers sequentially across multiple messages
  • Verify criteria yourself instead of spawning agents

Outcome Handling

ConditionAction
Any Global Invariant failedReturn all failures, globals highlighted
Any AC failedReturn failures grouped by deliverable
All automated pass, manual existsReturn manual criteria, hint to call /escalate
All passCall /done

Output Format

Report verification results grouped by Global Invariants first, then by Deliverable.

On failure - Show for each failed criterion:

  • Criterion ID and description
  • Verification method
  • Failure details: location, expected vs actual, fix hint

On success with manual - List manual criteria with how-to-verify from manifest, suggest /escalate.

On full success - Call /done.