Runs an adversarial multi-perspective code review with root-cause analysis and security focus. Invoked via /swarm-review on a branch or PR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentic-framework:swarm-review [branch-name-or-pr-number][branch-name-or-pr-number]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Multi-perspective code review with root cause analysis and security focus.
Multi-perspective code review with root cause analysis and security focus.
Sequential Thinking (analysis):
gh (GitHub CLI):
gh pr diff to fetch PR diffsgh pr view --json commits for commit historygh pr review to approve or request changesgh pr comment for inline feedbackRoute review depth by the PR template's Risk Tier field: risk:high → full multi-perspective review (all perspectives below); risk:low → lite pass, where lite = single-perspective quality review; skip the security/performance/architecture panel; risk:medium → use judgment, defaulting to full when unsure.
Launch worker-reviewer agents for each perspective:
security.md for OWASP Top 10 and severity classificationcode-quality.md for performance checklist (N+1 queries, blocking I/O, memory allocations, pagination, algorithms, caching)code-quality.md for SOLID principlesChallenge Assumptions
Question Design
Probe Weaknesses
Apply until reaching systemic cause (may be 3-7 whys):
**Issue**: [Describe the problem]
**Why 1**: [First-level cause]
**Why 2**: [Deeper cause]
**Why 3**: [Even deeper]
**Why 4**: [Getting to root]
**Why 5**: [Root cause — systemic/organizational]
**Systemic Fix**: [What prevents recurrence]
Approve when:
Request Changes when:
## Code Review: [Branch/PR]
### Summary
**Verdict**: ✅ Approved | ⚠️ Needs Work | ❌ Request Changes
### Positive Observations
- [What was done well]
### Critical Issues (Must Fix)
- [ ] [File:Line] [Issue] - [Remediation]
### High Priority
- [ ] [File:Line] [Issue] - [Remediation]
### Medium Priority
- [ ] [File:Line] [Issue] - [Suggestion]
### Root Cause Analysis
[If systemic issues found]
testing, swarm-coordination
/swarm-execute: With specific remediation tasks/architect: For architectural concerns requiring ADR/security-auditor: For deep security analysisnpx claudepluginhub dralgorhythm/claude-agentic-framework --plugin agentic-frameworkCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.