From agent-teams-review
Smart triage of Agent Teams Review findings into three action groups (Fix Now / Fix Later / Skip) with intelligent grouping and severity verification. Use when the user wants to triage, prioritize, or sort review findings after a code review. Also use when the user asks what to fix first, wants an action plan from a review, or mentions triage, prioritize findings, review priorities, or sort review results. Requires a completed review report from agent-teams-review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-teams-review:triageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze a completed Agent Teams Review report and divide all findings into three actionable groups. The triage produces a prioritized, grouped output that tells the developer exactly what to fix now, what to schedule for later, and what to skip entirely.
Analyze a completed Agent Teams Review report and divide all findings into three actionable groups. The triage produces a prioritized, grouped output that tells the developer exactly what to fix now, what to schedule for later, and what to skip entirely.
Reviewers assign severity based on their domain perspective. A Security Sentinel may flag a missing rate limit as Critical on an internal admin endpoint behind VPN — that's not actually Critical. A Quality Purist may mark a naming issue as Medium when it's a 30-second rename you should just do now.
Triage is the final decision-maker. Evaluate every finding by its real-world impact on the running application, not by its severity label.
If $ARGUMENTS contains a file path, read that report directly.
If no argument is provided, find the most recent review report:
ls -t docs/reviews/*.md | head -1
If no reports exist, inform the user and exit.
Read the full report. Extract all findings from the Action Items and Findings sections. Also read the Won't Implement section if it exists — those items are already triaged and should be excluded from analysis.
To make informed triage decisions, gather additional context:
git log --oneline main...HEAD | head -20
git diff main...HEAD --name-only
This context matters because findings in changed code deserve more attention than findings in adjacent code the PR didn't touch.
For every active finding (not in Won't Implement), evaluate it across seven dimensions. Read references/assessment-guide.md for detailed criteria and examples.
The seven dimensions:
| # | Dimension | Question to answer |
|---|---|---|
| 1 | Real impact | What actually breaks if we ignore this? Not the label — the consequence. |
| 2 | Blast radius | How many users/flows does this affect? Hot path or edge case? |
| 3 | Effort | Is this a 2-minute fix or a 2-hour refactor? |
| 4 | Location | Is this in code the PR changed, or in adjacent/pre-existing code? |
| 5 | Regression risk | Could fixing this break something else? |
| 6 | Dependencies | Does this finding block or unlock other findings? |
| 7 | Nature | Security/data-integrity vs performance vs code-quality vs stylistic? |
No single dimension is an automatic classifier. A Critical-labeled finding can land in Skip if the real impact is negligible. A Low-labeled finding can land in Fix Now if it's a 30-second fix in a file you're already touching.
Based on the seven-dimension assessment, place each finding into one of three groups:
Fix Now — fix in this PR, before merge:
Fix Later — schedule for next sprint:
Skip — intentionally exclude:
After classification, group related findings within each category into logical work packages. This is where triage adds real value — instead of a flat list of 15 items, the developer gets 5-6 coherent tasks.
Apply these five grouping strategies (detailed rules in references/assessment-guide.md):
Proximity — findings in the same file within ~30 lines become one task. If one is Fix Now and another would be Fix Later, pull the second into Fix Now with a note ("fix together, same location").
Domain — findings addressing the same concern across multiple files (e.g., three input validation issues in different controllers) become one task ("Input Validation Pass").
Pattern — identical fix type repeated in multiple places (e.g., "add strict_types" in 4 files) become one task with a checklist.
Dependency — when fixing A makes B trivial or B depends on A, chain them together with a suggested order.
Effort bundling — multiple quick fixes in one file become a single "cleanup" task rather than separate items.
After grouping, number the groups sequentially across all three categories for easy reference.
Present the triage result to the user using the format below. Display directly.
## Triage
> Based on: `{report-path}`
> PR: {branch-name} | {total-findings} findings analyzed | {won't-implement-count} previously triaged
### Fix Now ({group-count} groups, {finding-count} findings, ~{effort-estimate})
**1. {Group Name}** _({N} findings{, grouping-reason})_
- `[XX-NNN]` **Title** — `file:line` — {original-severity} in review{, reclassification-note}
- `[XX-NNN]` **Title** — `file:line` — {original-severity} in review
> {Why fix now. If grouped: why together. If reclassified: why the original severity was wrong.}
**2. {Group Name}** _({N} findings)_
- `[XX-NNN]` **Title** — `file:line` — {original-severity} in review
> {Why fix now.}
### Fix Later ({group-count} groups, {finding-count} findings)
**3. {Group Name}** _({N} findings{, grouping-reason})_
- `[XX-NNN]` **Title** — `file:line` — {original-severity} in review
- `[XX-NNN]` **Title** — `file:line` — {original-severity} in review
> {Why defer. What to consider when implementing later.}
### Skip ({finding-count} findings)
- `[XX-NNN]` **Title** — `file:line` _(Reviewer)_ — {reason for skipping}
- `[XX-NNN]` **Title** — `file:line` _(Reviewer)_ — {reason for skipping}
> blockquote explaining the reasoning.After displaying the triage, use AskUserQuestion to ask the user whether to save the triage output to a file. Derive the filename from the source review report path by stripping .md and appending -triage.md:
docs/reviews/{branch-name}-{YYYY-MM-DD}.md → docs/reviews/{branch-name}-{YYYY-MM-DD}-triage.md
Example question:
Save this triage to
docs/reviews/feature-auth-2026-03-16-triage.md?
If the user confirms, write the full triage output (the markdown displayed in Step 6) to that file. If the user declines, proceed to Step 8.
After presenting the triage, the user may ask follow-up questions or disagree with classifications. Adjust the triage based on their feedback and re-display the affected sections. Typical follow-ups:
npx claudepluginhub mrstroz/claude-code-plugins --plugin agent-teams-reviewInteractively triages code review findings in Phoenix projects: approve, skip, or prioritize issues via multi-select. Follows /phx:review; auto-approves Iron Law violations; generates fix queue summary.
Triage PR review comments by categorizing them as actionable, false positive, or deferrable, fixing actionable items, and posting a status update.
Coordinates parallel code reviews across security, performance, architecture, testing, and accessibility dimensions with finding deduplication, severity calibration, and consolidated reporting.