RE

review-aggregation

Synthesizes outputs from various code review agents into clear priorities.

Install

mkdir -p .claude/skills/review-aggregation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14735" && unzip -o skill.zip -d .claude/skills/review-aggregation && rm skill.zip

Installs to .claude/skills/review-aggregation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Guidance on combining findings from multiple review agents into actionable recommendations
90 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Collect findings from multiple review agents.
  • Deduplicate findings based on file, line, and concept.
  • Apply a priority matrix to assign final priority to issues.
  • Identify systemic patterns from aggregated issues.
  • Structure a final review report with critical, important, and improvement sections.
  • Cross-reference issues from multiple agents in the same area.

How it works

This skill aggregates findings from various code review agents, deduplicates them, applies a priority matrix, identifies systemic patterns, and structures a final report. It also provides guidelines for cross-referencing and escalating/downgrading issues.

Inputs & outputs

You give it
Outputs from multiple code review agents
You get back
Aggregated, prioritized list of actionable recommendations in a structured report

When to use review-aggregation

  • Summarize code review feedback
  • Prioritize automated issues
  • Synthesize multiple agent reports

About this skill

Review Aggregation Skill

This skill provides guidance on how to effectively combine and prioritize findings from multiple code review agents.

When to Use

Apply this skill when:

  • Running the extended review pipeline (/extended-review)
  • The senior-engineer agent is synthesizing findings
  • You need to prioritize issues from multiple sources
  • Creating a final review summary

Aggregation Process

1. Collect All Findings

Gather outputs from all review agents:

AgentFocus AreaOutput Format
code-reviewerStyle, security, logicIssues list
silent-failure-hunterError handling, silent failuresSeverity-rated
code-simplifierRedundancy, claritySuggestions
context7-library-complianceLibrary best practices, deprecatedDoc-referenced
react-best-practicesComponent design, hooks, perfPattern violations
cruft-detectorUnnecessary code, shallow testsCruft inventory

2. Deduplicate Findings

Multiple agents may flag the same issue:

  • Same file + line + concept = Merge into single finding
  • Same concept, different locations = Keep separate, note pattern
  • Related but distinct issues = Keep separate, cross-reference

3. Apply Priority Matrix

Use this matrix to assign final priority:

CriteriaPriorityExamples
Security vulnerabilityP0SQL injection, XSS, auth bypass
Data loss riskP0Missing transactions, race conditions
Breaking productionP0Undefined behavior, unhandled exceptions
Shallow tests (false safety)P1Tests that pass when feature is broken
Silent failuresP1Empty catch, swallowed errors
Deprecated API (will break)P1Using removed/deprecated APIs
Performance regressionP2N+1 queries, memory leaks, blocking operations
Library misuseP2Anti-patterns per official docs
Missing best practicesP2Not following recommended patterns
Code style/cruftP3Unnecessary comments, minor redundancy
Documentation gapsP3Missing or outdated comments

4. Identify Patterns

Look for systemic issues:

Pattern Detection Checklist:
- [ ] Same issue in 3+ locations = Systemic problem
- [ ] Multiple agents flag same area = High-risk zone
- [ ] Test issues + code issues together = Likely bug
- [ ] Similar mistakes across files = Missing guidance/tooling

5. Structure Final Report

## Review Summary

### At a Glance

- Files reviewed: X
- Total issues: Y (P0: A, P1: B, P2: C, P3: D)
- Recommendation: [APPROVE / APPROVE WITH FIXES / REQUEST CHANGES]

### Critical Path (P0-P1)

These MUST be addressed before merge:

1. [Issue] in `file:line` - [Brief reason why critical]
2. [Issue] in `file:line` - [Brief reason why critical]

### Important (P2)

Should address, can track as follow-up:

1. [Issue] in `file:line`
2. [Issue] in `file:line`

### Improvements (P3)

Nice-to-have for future cleanup:

1. [Issue] in `file:line`
2. [Issue] in `file:line`

### Patterns Detected

[Any systemic issues that need broader attention]

### What's Done Well

[Positive observations to reinforce good patterns]

Cross-Reference Guidelines

When the same area has issues from multiple agents:

Example: Auth Handler Issues

┌─────────────────────────────────────────────────────┐
│ src/api/auth.ts:45-67                               │
├─────────────────────────────────────────────────────┤
│ code-reviewer: Missing input validation              │
│ silent-failure-hunter: Empty catch block             │
│ cruft-detector: Comment describes "what" not "why"   │
│ context7: Using deprecated bcrypt.hash() pattern     │
├─────────────────────────────────────────────────────┤
│ AGGREGATED: P0 - Auth handler has multiple issues   │
│ - Security: input validation + deprecated API (P0)  │
│ - Reliability: silent failure (P1)                  │
│ - Quality: poor comment (P3)                        │
│                                                     │
│ Recommendation: Rewrite this handler entirely       │
└─────────────────────────────────────────────────────┘

Escalation Rules

Automatic P0 Escalation

Escalate to P0 regardless of individual agent rating when:

  • Security + silent failure in same code path
  • Auth/payment code with any P1+ issue
  • Test coverage is 0% for changed code
  • Breaking API contract

Downgrade Conditions

Consider downgrading when:

  • Issue is in test/example code only
  • Issue is in clearly marked deprecated code being removed
  • Change is behind feature flag (still track for flag removal)

Environment-Specific Notes

Claude Code

Full aggregation happens automatically via hooks:

  1. pr-review-toolkit agents complete
  2. chain-extended-review.sh triggers
  3. Extended agents run
  4. senior-engineer synthesizes

VS Code / OpenCode

Manual aggregation - guide user through:

  1. "Run each review agent"
  2. "Collect outputs"
  3. "Apply priority matrix"
  4. "Create summary"

Tips for Effective Aggregation

  1. Don't double-penalize - If two agents flag same issue, count once
  2. Context matters - Same issue may be P1 in core code, P3 in utils
  3. Err toward shipping - When in doubt, track as follow-up vs blocking
  4. Test issues are serious - False confidence from bad tests is dangerous
  5. Security is absolute - Never downgrade security issues

When not to use it

  • When only one review agent is used.
  • When a final review summary is not required.
  • When the goal is not to prioritize issues from multiple sources.

Limitations

  • The skill is designed for aggregating findings from multiple code review agents.
  • Priority assignment is based on a predefined matrix.
  • Escalation rules are specific (e.g., Security + silent failure in same code path automatically escalates to P0).

How it compares

This skill provides a structured methodology for synthesizing and prioritizing findings from multiple automated review agents, offering a consolidated and actionable report unlike individual agent outputs.

Compared to similar skills

review-aggregation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
review-aggregation (this skill)06moNo flagsIntermediate
conversation-analyzer89moReviewIntermediate
wrap07moReviewIntermediate
file-operations19moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry