From code-review
Two-stage code review (sonnet then opus for high-risk) with skill + subagent + slash-command surfaces. Triggers on review requests, pre-merge checks, "review this PR / diff / branch", or as the final step of plan-and-execute. Merges Triora code-reviewer + merge-review, Pillarworks review SKILL + reviewer + quality-gate agents, and Brain /review command.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-review:code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Two-stage review: sonnet `code-reviewer` subagent scans for the common 80% (bugs, missing tests, style); opus `security-reviewer` subagent escalates for high-risk code (auth, crypto, regex, async, migrations). The user can invoke either explicitly via `/review`, or this skill triggers automatically after `plan-and-execute` finishes.
Two-stage review: sonnet code-reviewer subagent scans for the common 80% (bugs, missing tests, style); opus security-reviewer subagent escalates for high-risk code (auth, crypto, regex, async, migrations). The user can invoke either explicitly via /review, or this skill triggers automatically after plan-and-execute finishes.
Invoke for every PR / diff / branch. Sonnet-tier subagent reads the diff, looks for:
AGENTS.md overrides in the repoOutput: findings list with severity (info / low / medium / high).
Triggered when the diff touches:
auth/, crypto/, security/ directoriesmigration in the pathOpus-tier subagent goes deeper:
foundation/cross-model-verification)Output: structured security findings + recommend "merge / merge-with-followup / block".
| Surface | When to use |
|---|---|
| Skill (this file) | Triggers automatically after plan-and-execute or on review-shaped prompts |
/review slash command | Explicit "review the current diff" request from user |
code-reviewer subagent | Composable by other skills / agents |
security-reviewer subagent | Stage 2; opus-tier; high-stakes |
## Review summary
**Verdict:** merge / merge-with-followup / block
### High
- (none) / 1+ findings
### Medium
- 1+ findings
### Low / info
- 1+ findings
### Tests
- Coverage delta: +N / -N tests
- Missing: <specific test the reviewer thinks is missing>
### Security (if Stage 2 ran)
- Threat model summary
- Cross-model verification: pass / fail
- Compliance impact: <PHI / GDPR / SOX / PCI / none>
x === null should be x == null to also catch undefined" is actionable.Triora's mature pattern:
code-reviewer subagent (sonnet, permissionMode: plan)security-reviewer subagent (opus, permissionMode: plan)merge-review SKILL (slash-command style; triggered explicitly)/review for affected filesfoundation/model-tiering-convention — for the sonnet vs opus decisionfoundation/cross-model-verification — for the non-Claude verifier stepdelivery/pr-investigate — for cross-PR investigations (Wave 4)delivery/quality-check — for the test/lint/typecheck batch (Wave 4)references/triora-reviewer-prompts.md — Triora's reviewer subagent system prompts (canonical)Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub alexmclaren/orryx-knowledge --plugin code-review