Comprehensive React/TypeScript frontend code review with optional parallel agents
Performs comprehensive React/TypeScript code reviews with optional parallel agents. Use when reviewing frontend PRs to catch React Router, shadcn/ui, and technology-specific issues before merge.
/plugin marketplace add existential-birds/beagle/plugin install beagle@existential-birds--parallel: Spawn specialized subagents per technology areagit diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.(tsx?|css)$'
# Detect React Flow
grep -r "@xyflow/react\|ReactFlow\|useNodesState" --include="*.tsx" -l | head -3
# Detect Zustand
grep -r "from 'zustand'\|create\(\(" --include="*.ts" --include="*.tsx" -l | head -3
# Detect Tailwind v4
grep -r "@theme\|@layer theme" --include="*.css" -l | head -3
# Check for test files
git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.test\.tsx?$'
Use the Skill tool to load each applicable skill (e.g., Skill(skill: "beagle:react-router-code-review")).
Always load:
beagle:react-router-code-reviewbeagle:shadcn-code-reviewConditionally load based on detection:
| Condition | Skill |
|---|---|
| @xyflow/react detected | beagle:react-flow-code-review |
| Zustand detected | beagle:zustand-state |
| Tailwind v4 detected | beagle:tailwind-v4 |
| Test files changed | beagle:vitest-testing |
Sequential (default):
Parallel (--parallel flag):
Task tool## Review Summary
[1-2 sentence overview of findings]
## Issues
### Critical (Blocking)
1. [FILE:LINE] ISSUE_TITLE
- Issue: Description of what's wrong
- Why: Why this matters (bug, a11y, perf, security)
- Fix: Specific recommended fix
### Major (Should Fix)
2. [FILE:LINE] ISSUE_TITLE
- Issue: ...
- Why: ...
- Fix: ...
### Minor (Nice to Have)
N. [FILE:LINE] ISSUE_TITLE
- Issue: ...
- Why: ...
- Fix: ...
## Good Patterns
- [FILE:LINE] Pattern description (preserve this)
## Verdict
Ready: Yes | No | With fixes 1-N
Rationale: [1-2 sentences]
After fixes are applied, run:
npm run lint
npm run typecheck
npm run test
All checks must pass before approval.