From hb
Orchestrates parallel read-only reviewers over a diff, consolidating results into a severity-ranked verdict. Use for pre-ship PR review or spawning agents to review a change.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hb:review [PR-number-or-branch] [agent-count][PR-number-or-branch] [agent-count]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Workflow orchestrator for the REVIEW phase of the SDLC. Resolve the diff, fan out **parallel read-only reviewers** — each in its own subagent (fresh context) — and consolidate everything into one severity-ranked verdict.
Workflow orchestrator for the REVIEW phase of the SDLC. Resolve the diff, fan out parallel read-only reviewers — each in its own subagent (fresh context) — and consolidate everything into one severity-ranked verdict.
Reviewers come from two complementary sources; use whichever fit the change (usually both):
a11y-audit, i18n, perf-audit, deps-audit, harden, safe-repo. Which run is decided by scope detection.Fanning out to subagents keeps each reviewer's work out of the main thread (no bleed between a11y and security reasoning) and runs them concurrently instead of one-after-another. Findings two reviewers reach independently are the highest signal — surface that convergence.
Sibling skills: code-review is a single in-thread lens; triage-review evaluates existing reviewer comments rather than generating new ones.
Priority order:
gh pr view <num> for context, gh pr diff <num> for the diff.git diff <base>...<branch>.git merge-base HEAD main (fall back master, then origin/HEAD), then git diff <base>...HEAD.Capture the changed-file list. If the diff is empty, report "Nothing to review" and stop. State the resolved scope before spawning: "Reviewing branch X vs main — 6 files, 224 insertions."
Always include: correctness (code-review), sensitive-data scan (safe-repo, diff-only), and test effectiveness. Add the rest from the diff. Default to ~3–5 reviewers total; honor an explicit count from $ARGUMENTS (2–5).
| Reviewer | When | Kind | Suggested agent type |
|---|---|---|---|
Correctness & bugs (code-review) | always | lens/skill | code-reviewer |
Sensitive data (safe-repo diff-only) | always | audit skill | general-purpose |
| Test effectiveness | always | lens | test-quality (or test-auditor) |
Accessibility (a11y-audit) | JSX/TSX/HTML/CSS changed | audit skill | frontend-architect (or general-purpose) |
User-facing strings (i18n) | new JSX text nodes / template literals in changed .jsx/.tsx | audit skill | frontend-architect (or general-purpose) |
Bundle / perf (perf-audit) | package.json, vite/webpack/next.config.* changed | audit skill | general-purpose |
Dependencies (deps-audit) | package.json / lockfile changed | audit skill | general-purpose |
Security & trust boundaries (harden) | routes/, api/, controllers/, models/, *.sql, auth/input/external calls | audit skill | security-auditor |
| Type safety | heavy TS / type-level changes | lens | ts-enforcer |
| Architecture friction | cross-module / structural changes | lens | frontend-architect |
Agent types are environment-specific. Match each reviewer to an available agent type (listed in the harness); if none fits, spawn general-purpose (or Explore) with a focused prompt. Never invent an agent type. Announce the chosen reviewers + agent types before spawning, and skip irrelevant ones with a one-line reason ("No frontend changes, skipping a11y-audit").
Spawn all reviewers in a single message (multiple Agent calls) so they run concurrently. Give each:
cd away)..specs/plans/*.md), point the test/correctness reviewers at it to check coverage against intent.file:line, a severity (critical / important / suggestion), a one-line rationale, and a closing summary. Read-only — must not modify, stage, commit, or push.Build/install collisions: reviewers that mutate the working dir (perf-audit builds; deps-audit may touch node_modules) can clobber each other in the same checkout. Give those worktree isolation, or run them serially after the read-only ones.
Merge every subagent's findings into one report. Dedupe overlaps and flag convergence (two reviewers hitting the same line = higher signal).
## Review Summary
**Scope**: <files/lines changed> · **Reviewers**: <code-review (code-reviewer), tests (test-quality), ...>
### Critical (blocks merge)
- <file:line> — <issue> — <which reviewer flagged it>
### Important (should fix before merge)
- <file:line> — <issue> — <reviewer>
### Suggestions (nice-to-have)
- <file:line> — <issue> — <reviewer>
### Converged (≥2 reviewers agreed)
- <issue> — <which reviewers>
### Non-issues / already resolved
- <thing a reviewer flagged that's actually fine, with why>
### Reviewers run
- code-review ✓ · safe-repo ✓ · tests ✓ · a11y-audit ✓ · ...
Critical = correctness, security, sensitive data, accessibility blockers (WCAG level A). Important = readability, architecture friction, missing tests, deps with known CVEs. Suggestions = style, naming, optional perf wins.
Drop or downgrade a finding if you can verify it's already handled — but say why.
State explicitly: APPROVE, REQUEST CHANGES, or NEEDS DISCUSSION.
Then offer next steps (e.g. "apply the cheap test fixes? leave the design refactor as a follow-up?"). Do not auto-fix.
code-review, safe-repo, and a test-effectiveness reviewer — these are non-negotiable.general-purpose. Never name an agent type that isn't available.e2e or visual-validate — those belong to VERIFY phase, not REVIEW.git merge-base fails (no main/master/origin) → fall back to HEAD~10, warn the base may be wrong.gh pr <...> fails → fall back to current-branch diff, warn the user.npx claudepluginhub helderberto/agent-skills --plugin hbReviews code changes using parallel personas for correctness, testing, maintainability, and conditional areas like security, performance, APIs. Merges into P0-P3 severity reports for PR prep and iterative feedback.
Multi-agent code review with parallel correctness, security, and simplification checks, then auto-fixes critical/high issues. Use before shipping a diff or PR.
Multi-agent code review with parallel specialized reviewers, architecture validation, and challenge validation. Invoke via `rq` to review diffs or `rs` to respond to findings.