Code review for PRs or staged changes. >80% confidence threshold. Verdict: APPROVE, REQUEST CHANGES, or COMMENT. Triggers: review, pr, code review.
From kernelnpx claudepluginhub ariaxhan/kernel-claude --plugin kernel/reviewRuns Codex code review on local git state (working tree or vs base branch). Supports --wait/--background, --base <ref>, --scope auto|working-tree|branch.
/reviewReviews staged changes or recent commits across five axes—correctness, readability, architecture, security, performance—producing categorized findings with file:line references and fixes.
/reviewReviews HTML file for design anti-patterns, principles violations, and accessibility issues. Generates markdown report with status tables and recommendations.
/reviewReviews specified code scope via four specialists (quality, security, performance, architecture), producing summary, detailed findings, refactoring suggestions, prioritized action plan.
/reviewPerforms expert multi-LLM code review with inline PR comments on staged changes, open PRs, working tree, or paths. Checks LLM providers and queries focus areas.
/reviewDispatches the reviewer agent to review current branch code changes against code quality principles.
Load: skills/testing/SKILL.md, skills/security/SKILL.md Reference: _meta/research/ai-code-anti-patterns.md </purpose>
<context> ai_code_stats: buggier: 1.7x more issues than human code security: 40-62% contain vulnerabilities findings: 10.83 per AI PR vs 6.45 humanpriority: check Big 5 first (what AI actually breaks) </context>
<on_start>
agentdb read-start
<identify_scope>
gh pr diff {number} # For PRs
git diff --staged # For staged
git diff HEAD~1 # For recent
</identify_scope> </on_start>
<confidence_threshold>
| Confidence | Category | Report? |
|---|---|---|
| 95%+ | Definite bug | YES |
| 85-95% | Likely issue | YES |
| 70-85% | Possible issue | MAYBE |
| <70% | Style preference | NO |
| </confidence_threshold> |
Files: X changed Findings: Y (Z critical)
[file:line] Issue (confidence: XX%) → Fix: suggestion
[file:line] Issue (confidence: XX%) → Fix: suggestion
Summary: APPROVE | REQUEST CHANGES | COMMENT </output_format>
<ask_user> Use AskUserQuestion when: a finding is between 70-85% confidence (ambiguous) Ask: "Found {issue} at {file:line} (confidence {X}%). Intentional, or should I flag it?" Options: intentional — skip, flag it, investigate deeper </ask_user>
<verdict_rules>
<on_complete>
agentdb write-end '{"command":"review","verdict":"X","critical":N,"high":N,"big5_violations":N}'
</on_complete>
</command>