From workflow-toolkit
Orchestrate a comprehensive post-implementation review with multiple phases (architecture, code, tests, security, docs)
How this command is triggered — by the user, by Claude, or both
Slash command
/workflow-toolkit:post-impl-reviewThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Post-Implementation Review Orchestrate a structured review after completing a feature or project implementation. **Scope:** $ARGUMENTS.scope (default: full) ## Overview This review follows a sequential phase approach where each phase builds on the previous. Each phase creates a separate branch and PR for audit trail. **Critical Rule:** NEVER merge PRs without explicit user approval. ## Phase Definitions | Phase | Focus | Agent/Tool | Branch | |-------|-------|------------|--------| | R0 | Baseline | /verify | - | | R1 | Architecture | comprehensive-review:architect-review | review/...
Orchestrate a structured review after completing a feature or project implementation.
Scope: $ARGUMENTS.scope (default: full)
This review follows a sequential phase approach where each phase builds on the previous. Each phase creates a separate branch and PR for audit trail.
Critical Rule: NEVER merge PRs without explicit user approval.
| Phase | Focus | Agent/Tool | Branch |
|---|---|---|---|
| R0 | Baseline | /verify | - |
| R1 | Architecture | comprehensive-review:architect-review | review/architecture |
| R2 | Code Quality | comprehensive-review:code-reviewer | review/code-quality |
| R3 | Test Coverage | pr-review-toolkit:pr-test-analyzer | review/test-coverage |
| R4 | Security | comprehensive-review:security-auditor | review/security |
| R5 | Documentation | ops-docs-generator | review/documentation |
| R6 | Final | /verify | - |
Based on scope argument:
full → R0, R1, R2, R3, R4, R5, R6quick → R0, R2, R3, R6architecture → R0, R1, R6code → R0, R2, R6tests → R0, R3, R6security → R0, R4, R6docs → R0, R5, R6Run /verify command to establish baseline. All checks must pass before proceeding.
/verify
Gate: If baseline fails, STOP. Fix issues before review.
git checkout main && git pull origin main
git checkout -b review/architecture
Use Task tool with subagent_type="comprehensive-review:architect-review"
Prompt: "Review the architecture of this codebase. Focus on:
- Separation of concerns
- Module boundaries and dependencies
- Error propagation strategy
- Configuration management
- Extensibility
Identify any significant architectural issues or improvements needed."
PAUSE POINT: Present findings to user. If significant changes recommended:
If changes made, commit and create PR:
git add -A && git commit -m "refactor: architecture improvements from review"
git push -u origin review/architecture
gh pr create --title "Review: Architecture Improvements" --body "[findings summary]"
git checkout main && git pull origin main
git checkout -b review/code-quality
Use Task tool with subagent_type="comprehensive-review:code-reviewer"
Prompt: "Review all source code for:
- Logic errors and bugs
- Code quality and maintainability
- Performance issues
- Error handling completeness
- DRY violations
- Dead code
Focus on high-confidence issues. Provide fixes for Critical/High issues."
Apply fixes for Critical/High issues.
Commit and create PR:
git add -A && git commit -m "fix: code quality improvements from review"
git push -u origin review/code-quality
gh pr create --title "Review: Code Quality Fixes" --body "[findings summary]"
git checkout main && git pull origin main
git checkout -b review/test-coverage
npm run test:coverage 2>/dev/null || cargo tarpaulin 2>/dev/null || pytest --cov 2>/dev/null
Use Task tool with subagent_type="pr-review-toolkit:pr-test-analyzer"
Prompt: "Analyze test coverage for this codebase:
- Identify untested code paths
- Find missing edge case tests
- Check error path coverage
- Identify integration test gaps
Recommend specific tests to add for critical gaps."
Add recommended tests.
Verify coverage improved:
npm run test:coverage
git add -A && git commit -m "test: improve coverage from review"
git push -u origin review/test-coverage
gh pr create --title "Review: Test Coverage Improvements" --body "[coverage before/after]"
git checkout main && git pull origin main
git checkout -b review/security
npm audit 2>/dev/null || cargo audit 2>/dev/null || pip-audit 2>/dev/null
Use Task tool with subagent_type="comprehensive-review:security-auditor"
Prompt: "Perform security review of this codebase:
- Authentication/authorization
- Input validation
- Injection vulnerabilities (SQL, command, XSS)
- Information disclosure
- Dependency vulnerabilities
- Secrets management
Prioritize findings by severity. Provide fixes for Critical/High issues."
Fix Critical/High security issues.
Update dependencies if vulnerabilities found:
npm audit fix 2>/dev/null || cargo update 2>/dev/null
npm audit
git add -A && git commit -m "security: fixes from security review"
git push -u origin review/security
gh pr create --title "Review: Security Fixes" --body "[findings summary]"
git checkout main && git pull origin main
git checkout -b review/documentation
Use Task tool with subagent_type="ops-docs-generator"
Prompt: "Review and generate operational documentation:
- Analyze codebase for error patterns, API limits, configuration
- Create/update troubleshooting guide
- Create/update performance guide
- Enhance deployment docs with monitoring and rollback sections
- Verify .env.example is complete
Generate docs based on actual code, not templates."
Review generated docs for accuracy.
Commit and create PR:
git add -A && git commit -m "docs: operational documentation from review"
git push -u origin review/documentation
gh pr create --title "Review: Documentation Updates" --body "[docs added/updated]"
After all PRs merged:
git checkout main && git pull origin main
Run /verify command:
/verify
Success Criteria:
Use TodoWrite to track phases:
- [ ] R0: Baseline verification
- [ ] R1: Architecture review (if applicable)
- [ ] R2: Code quality review (if applicable)
- [ ] R3: Test coverage review (if applicable)
- [ ] R4: Security review (if applicable)
- [ ] R5: Documentation review (if applicable)
- [ ] R6: Final verification
Update ConPort at completion:
mcp__conport__log_decision: "Post-implementation review completed"
mcp__conport__update_active_context: review_status = "complete"
After R6, produce summary:
## Post-Implementation Review Summary
| Phase | Status | PR | Key Findings |
|-------|--------|-----|--------------|
| R0 Baseline | ✓ | - | [baseline status] |
| R1 Architecture | ✓/⊘ | #X | [findings] |
| R2 Code Quality | ✓/⊘ | #X | [findings] |
| R3 Test Coverage | ✓/⊘ | #X | [before → after] |
| R4 Security | ✓/⊘ | #X | [vulnerabilities fixed] |
| R5 Documentation | ✓/⊘ | #X | [docs added] |
| R6 Final | ✓ | - | [final status] |
**Final State:**
- Tests: [count] passing
- Coverage: [percentage]
- Vulnerabilities: [count]
- Review PRs: [list]
npx claudepluginhub swannysec/robot-tools --plugin workflow-toolkit/full-reviewOrchestrates a multi-phase code review across architecture, security, performance, testing, and best practices, producing structured reports in .full-review/. Supports flags for security focus, performance-critical, strict mode, and framework selection.
/code-reviewPerforms a structured multi-agent code review checking code quality, security, pattern consistency, and test coverage against product artifacts. Supports --cross-model and --dry-run flags.
/reviewPerforms final code quality and security review before deployment. Accepts an optional scope (PR/branch) and produces a prioritized findings report with approval/rejection decision.
/reviewRuns a structured code review workflow with self-review checklist, severity classification, and PR feedback handling. Produces a review summary with verdict.
/ia-verifyRuns a structured pre-PR verification pipeline (build, types, lint, tests, security, diff review) and produces a READY/NOT READY report. Supports quick, full, pre-commit, and pre-pr modes.