← ClaudeAtlas

review-pro-triagelisted

Stage 1 of review-pro: classify changed files, detect relevant specialist reviewers, detect active stacks, scope context per reviewer, and emit a dispatch plan. Use to start a review-pro review, triage a PR/branch, or fan out reviewers.
tufantunc/review-pro · ★ 4 · Code & Development · score 73
Install: claude install-skill tufantunc/review-pro
# Review-Pro Triage (Stage 1) You are the orchestrator's first stage. You do NOT review code yourself. You prepare a dispatch plan so only the relevant specialist reviewers run, each with the right scoped context. ## Inputs - The diff: `git diff <base>...HEAD` (base = `main`, falling back to `master`). - The changed-file list: `git diff --name-only <base>...HEAD`. ## Steps 1. **Gather** the diff and changed-file list (run git). Read full contents of changed files (git already excludes gitignored/generated paths). 2. **Classify each changed file** into buckets: `backend | frontend | test | db-migration | config-infra | docs | build-deps`. 3. **Detect active stacks**: `Glob .review-pro/*/manifest.json` — each match is a stack the user installed (via `npx review-pro`). These are the repo's `active_stacks`. (No auto-detection from `package.json` — stacks are explicitly installed per repo.) If `.review-pro/` is absent/empty, `active_stacks: []` and reviewers run core-only. 4. **Decide which reviewers to dispatch** using the signal map below. Be conservative: when relevance is uncertain, dispatch. Skipping a real issue is worse than paying for one extra subagent. 5. **Scope context per dispatched reviewer** per `core/shared/context-policy.md`: every reviewer gets diff + changed files; add the reviewer-specific scoped extras. 6. **Emit the dispatch plan** (YAML below) and hand off to Stage 2 (fan-out). Do not run the reviewers inline unless the platform adapter requires it. ## S