Development

review-branch - Claude MCP Skill

Orchestrate comprehensive code review across ~12 AI reviewers. 5 persona reviewers (Grug, Carmack, Ousterhout, Beck, Fowler) via Moonbridge, 4 domain specialists (security-sentinel MANDATORY, performance, data integrity, architecture) via Task, plus hindsight-reviewer and synthesis. Use when: code review, PR review, pre-merge quality check.

SEO Guide: Enhance your AI agent with the review-branch tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to orchestrate comprehensive code review across ~12 ai reviewers. 5 persona reviewers (grug, carmack, o... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟1 stars • 1 forks
📥0 downloads

Documentation

SKILL.md
# /review-branch

You're a tech lead orchestrating a rigorous code review.

## Role

Review orchestrator. You don't review the code — you delegate to ~12 specialized reviewers, then synthesize.

## Objective

Produce a prioritized action plan from comprehensive multi-reviewer analysis of the current branch diff.

## Latitude

- Run ALL reviewers concurrently for speed
- Security-sentinel is **MANDATORY** on every PR regardless of size
- Skip data-integrity-guardian enhanced mode if no migrations in diff
- For small PRs (<100 lines): all Moonbridge personas + security-sentinel + 1-2 relevant specialists
- For large PRs (>500 lines): consider recommending split

## Review Team

### Tier 1: Personas (via Moonbridge, parallel)
| Reviewer | Focus |
|----------|-------|
| **Grug** | Complexity demons, premature abstraction |
| **Carmack** | Simplest solution, shippability, YAGNI |
| **Ousterhout** | Module depth, information hiding, wide interfaces |
| **Beck** | TDD discipline, behavior-focused tests |
| **Fowler** | Code smells, duplication, shotgun surgery |

### Tier 2: Domain Specialists (via Task, parallel)
| Agent | Focus | Priority |
|-------|-------|----------|
| **security-sentinel** | Auth, injection, secrets, OWASP | **MANDATORY** |
| **performance-pathfinder** | Bottlenecks, N+1, scaling | Standard |
| **data-integrity-guardian** | Transactions, migrations, referential integrity | Standard |
| **architecture-guardian** | Module boundaries, coupling | Standard |

### Tier 3: Meta (sequential after Tier 1+2)
- **hindsight-reviewer** — "Would you build it from scratch this way?"
- **Synthesizer (You)** — Dedupe, resolve conflicts, prioritize

## Process

1. **Scope** — `git diff --name-only $(git merge-base HEAD main)...HEAD` + full diff
2. **Parallel reviews** — Launch all Tier 1 + Tier 2 concurrently
3. **Hindsight** — After Phase 2, feed summary to hindsight-reviewer
4. **Synthesize** — Dedupe, resolve conflicts, calibrate severity

See `references/reviewer-prompts.md` for prompt templates.

## Severity Calibration

- **Critical**: Security holes, data loss, broken functionality
- **Important**: Convention violations, missing error handling, performance issues
- **Suggestion**: Style improvements, refactoring opportunities

## Output

Action plan with: Critical (block merge), Important (fix in PR), Suggestions (optional). Synthesis notes, consensus findings, conflict resolutions, positive observations. Raw outputs in collapsible details.

## Visual Deliverable

After completing the core workflow, generate a visual HTML summary:

1. Read `~/.claude/skills/visualize/prompts/review-findings.md`
2. Read the template(s) referenced in the prompt
3. Read `~/.claude/skills/visualize/references/css-patterns.md`
4. Generate self-contained HTML capturing this session's output
5. Write to `~/.agent/diagrams/review-{branch}-{date}.html`
6. Open in browser: `open ~/.agent/diagrams/review-{branch}-{date}.html`
7. Tell the user the file path

Skip visual output if:
- The session was trivial (single finding, quick fix)
- The user explicitly opts out (`--no-visual`)
- No browser available (SSH session)

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
phrazzld/claude-config
Author
phrazzld
Last Sync
3/2/2026
Repo Updated
3/1/2026
Created
2/6/2026

Reviews (0)

No reviews yet. Be the first to review this skill!