with one click
verify-output
// Execute the team's verification pipeline against a completed task. Reads verificationPipeline configuration from the team template and runs each verification step sequentially.
// Execute the team's verification pipeline against a completed task. Reads verificationPipeline configuration from the team template and runs each verification step sequentially.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | Verify Output |
| description | Execute the team's verification pipeline against a completed task. Reads verificationPipeline configuration from the team template and runs each verification step sequentially. |
| version | 1.0.0 |
| category | quality |
| skillType | claude-skill |
| assignableRoles | ["team-leader"] |
| triggers | ["verify output","check work","review task","quality check","verify task"] |
| tags | ["verification","quality","review","management"] |
| execution | {"type":"script","script":{"file":"execute.sh","interpreter":"bash","timeoutMs":60000}} |
Executes the team's verification pipeline against a completed task. Reads the task output and runs verification checks (build, tests, content scans) based on the team template configuration.
Supports two modes:
checks[] array directly with specific verification stepstemplateId to automatically load verification steps from the team template's verificationPipelinedonereport-status indicates task completionbash {{SKILLS_PATH}}/team-leader/verify-output/execute.sh '{"taskId":"task-123","taskPath":"/project/.crewly/tasks/m1/done/task.md","workerId":"worker-1","teamId":"team-123","projectPath":"/path/to/project","checks":[{"name":"build","command":"npm run build"},{"name":"tests","command":"npm test"}]}'
bash {{SKILLS_PATH}}/team-leader/verify-output/execute.sh '{"taskId":"task-123","taskPath":"/project/.crewly/tasks/m1/done/task.md","workerId":"worker-1","teamId":"team-123","projectPath":"/path/to/project","templateId":"dev-fullstack"}'
| Parameter | Required | Description |
|---|---|---|
taskId | No* | Task ID for tracking lookup |
taskPath | No* | Absolute path to the task markdown file |
workerId | No | ID of the worker who completed the task |
teamId | No | Team ID (for context) |
projectPath | No | Project directory (required for command-type checks) |
templateId | No | Template ID to load verification pipeline from |
checks | No | Array of verification steps (overrides template pipeline) |
*At least one of taskId or taskPath is required.
Run a shell command in the project directory and check exit code:
{ "name": "build", "type": "command", "command": "npm run build" }
Search task output for a regex pattern:
{ "name": "has-tests", "type": "content-scan", "pattern": "test.*pass|coverage.*[89]\\d%" }
Steps that require Team Leader judgment (auto-loaded from template pipeline):
{ "name": "code-review", "type": "manual", "method": "code_review", "description": "Review code diff" }
When templateId is provided and checks is empty, the skill loads the verification pipeline from the template API (GET /api/templates/:id) and converts pipeline steps to checks:
| Pipeline Method | Execution |
|---|---|
quality_gates | Runs gate commands (typecheck, tests, build, lint) |
e2e_test | Runs end-to-end test framework |
code_review | Marked as manual review for TL |
screenshot_review | Marked as manual review for TL |
gemini_vision | Marked as manual review for TL |
content_check | Marked as manual review for TL |
fact_check | Marked as manual review for TL |
source_verify | Marked as manual review for TL |
data_validate | Marked as manual review for TL |
browser_test | Marked as manual review for TL |
manual_review | Marked as manual review for TL |
custom_script | Marked as manual review for TL |
The template's passPolicy controls the overall pass/fail determination:
| Policy | Behavior |
|---|---|
all | All checks must pass (default) |
majority | More than 50% of checks must pass |
critical_only | Only critical steps must pass |
{
"passed": false,
"score": 67,
"feedback": "Verification failed: 1/3 checks failed (policy: critical_only).",
"passPolicy": "critical_only",
"failedSteps": ["quality-gates-tests"],
"results": [
{ "name": "quality-gates-build", "passed": true, "critical": true, "output": "..." },
{ "name": "quality-gates-tests", "passed": false, "critical": true, "output": "3 tests failed..." },
{ "name": "code-review", "passed": true, "critical": true, "output": "Requires TL judgment: Code Review", "method": "code_review", "requiresReview": true }
],
"taskId": "task-123",
"workerId": "worker-1",
"templateId": "dev-fullstack"
}
passed: true → Report success to Orchestrator via aggregate-results
passed: false → Call handle-failure with the failure details
requiresReview: true → TL must manually evaluate these steps
handle-failure — Handle verification failuresaggregate-results — Include verification results in reportsdecompose-goal — Original task decomposition