Comprehensive verification after code changes. Uses Boris Cherny's multi-subagent adversarial approach.
Runs comprehensive verification of recent code changes using multi-subagent adversarial approach.
/plugin marketplace add CloudAI-X/claude-workflow/plugin install project-starter@claude-workflowRun comprehensive verification of recent code changes using multi-subagent adversarial approach.
Run these commands to understand what changed:
git diff HEAD~1 --stat
git log -3 --oneline
git diff --name-only HEAD~1
Identify affected files and their corresponding test files.
Use the Task tool with run_in_background: true to spawn subagents in parallel.
CRITICAL: Launch ALL subagents in a SINGLE message for true parallelism:
[All Task calls in ONE message]
Task 1: {
description: "Syntax & Type Check",
prompt: "Run language-specific type checker (tsc, mypy, go vet)...",
run_in_background: true
}
Task 2: {
description: "Test Runner",
prompt: "Run tests for affected files first, then integration tests...",
run_in_background: true
}
Task 3: {
description: "Lint & Style Check",
prompt: "Run project linter (eslint, ruff, golangci-lint)...",
run_in_background: true
}
Task 4: {
description: "Security Scan",
prompt: "Grep for hardcoded secrets, check for vulnerabilities...",
run_in_background: true
}
Task 5: {
description: "Build Validator",
prompt: "Run build command, verify artifacts exist...",
run_in_background: true
}
After all complete, use TaskOutput to retrieve each result:
TaskOutput: task_1_id
TaskOutput: task_2_id
TaskOutput: task_3_id
TaskOutput: task_4_id
TaskOutput: task_5_id
Spawn 3 adversarial subagents to review Phase 2 findings:
Combine all subagent outputs into final report:
## Verification Results: [PASS/FAIL]
### Confirmed Issues
1. [Issue] - [Location] - [Why it's confirmed real]
### Warnings (Review Recommended)
1. [Warning] - [Location] - [Context]
### All Checks
- [ ] Type checking: [PASS/FAIL]
- [ ] Tests: [PASS/FAIL]
- [ ] Linting: [PASS/FAIL]
- [ ] Security: [PASS/FAIL]
- [ ] Build: [PASS/FAIL]
### Subagent Summary
- Initial findings: X issues
- After adversarial review: Y confirmed issues
- False positives filtered: Z
Copy this file to your project's .claude/commands/ directory:
cp templates/subagents/verify-changes.md .claude/commands/
Then invoke with: /project:verify-changes