Pr Review Output
by mrstroz
Defines the standard output format for aggregated PR review reports. Use this skill to format the combined output from all review agents into a unified, actionable report.
Skill Details
Repository Files
2 files in this skill directory
name: pr-review-output description: Defines the standard output format for aggregated PR review reports. Use this skill to format the combined output from all review agents into a unified, actionable report.
PR Review Output Format
This skill standardizes the format of PR review reports that aggregate findings from multiple specialized agents.
Report Structure
The final PR review report MUST follow this structure:
# PR Review Report
**PR/Changes:** [Branch name or PR title]
**Reviewed:** [Date]
**Agents Used:** [List of agents that ran]
---
## Executive Summary
**Overall Verdict:** ✅ Approved | ⚠️ Approved with Comments | 🔶 Changes Requested | ❌ Blocked
**Risk Level:** 🟢 Low | 🟡 Medium | 🟠 High | 🔴 Critical
| Category | Issues | Critical | High | Medium | Low |
|----------|--------|----------|------|--------|-----|
| Architecture | X | X | X | X | X |
| Code Quality | X | X | X | X | X |
| Bugs | X | X | X | X | X |
| Requirements | X | X | X | X | X |
| Security | X | X | X | X | X |
| Tests | X | X | X | X | X |
| Performance | X | X | X | X | X |
| **Total** | **X** | **X** | **X** | **X** | **X** |
### Key Findings
1. [Most critical finding - one sentence]
2. [Second most critical]
3. [Third most critical]
---
## Critical & High Priority Issues
[Only issues with Critical or High severity, grouped and deduplicated]
### 🔴 Critical Issues (Must Fix)
#### [CATEGORY-XXX] Issue Title
**Agent:** [Which agent found this]
**Location:** `file/path.ts:line_number`
[Issue description]
**Fix:**
```[language]
// solution code
🟠 High Priority Issues (Should Fix)
[Same format as Critical]
Medium & Low Priority Issues
[Collapsed or summarized for readability]
🟡 Medium Priority (X issues)
| ID | Issue | Location | Agent |
|---|---|---|---|
| CLEAN-001 | Variable naming | src/file.ts:42 |
Code Cleaner |
| ... | ... | ... | ... |
🟢 Low Priority (X issues)
[Same table format]
Positive Observations
What the code does well:
- ✅ [Positive aspect from Architect]
- ✅ [Positive aspect from Code Cleaner]
- ✅ [Positive aspect from Tests]
Recommended Actions
Before Merge (Required)
- [Action for critical issue 1]
- [Action for critical issue 2]
Before Merge (Recommended)
- [Action for high priority issue 1]
- [Action for high priority issue 2]
Post-Merge (Consider)
- [Action for medium issue]
- [Action for low issue]
Issue ID Prefixes
CRITICAL: Use agent-specific prefixes, NEVER generic HIGH-001, MED-001.
| Agent | Prefix |
|---|---|
| Architect Visioner | ARCH- |
| Code Cleaner | CLEAN- |
| Bug Smasher | BUG- |
| Acceptance Checker | REQ- |
| Security Guard | SEC- |
| Test Guardian | TEST- |
| Performance Scout | PERF- |
Each agent has its own counter (001, 002...). Prefix = agent, NOT severity.
Deduplication Rules
When multiple agents find overlapping issues:
- Same issue, different perspectives - Keep the most detailed report, note which agents flagged it
- Related but distinct issues - Keep both, cross-reference them
- True duplicates - Merge into single entry, list all agents that found it
Severity Mapping
| Severity | Merge Impact | Description |
|---|---|---|
| Critical | ❌ Blocked | Security vulnerability, data loss risk, breaking bug |
| High | 🔶 Changes Requested | Significant issue that should be fixed |
| Medium | ⚠️ Approved with Comments | Notable issue, fix recommended |
| Low | ✅ Approved | Minor suggestion, optional fix |
Verdict Decision Matrix
| Critical | High | Verdict |
|---|---|---|
| > 0 | any | ❌ Blocked |
| 0 | > 3 | 🔶 Changes Requested |
| 0 | 1-3 | ⚠️ Approved with Comments |
| 0 | 0 | ✅ Approved (with medium/low noted) |
File Output
Save the report to: docs/pr-reviews/{branch-name}-{date}.md
Example: docs/pr-reviews/feature-auth-2024-01-15.md
Related Skills
Attack Tree Construction
Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.
Grafana Dashboards
Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.
Matplotlib
Foundational plotting library. Create line plots, scatter, bar, histograms, heatmaps, 3D, subplots, export PNG/PDF/SVG, for scientific visualization and publication figures.
Scientific Visualization
Create publication figures with matplotlib/seaborn/plotly. Multi-panel layouts, error bars, significance markers, colorblind-safe, export PDF/EPS/TIFF, for journal-ready scientific plots.
Seaborn
Statistical visualization. Scatter, box, violin, heatmaps, pair plots, regression, correlation matrices, KDE, faceted plots, for exploratory analysis and publication figures.
Shap
Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing models, or implementing explainable AI. Works with tree-based models (XGBoost, LightGBM, Random Forest), deep learning (TensorFlow, PyTorch), linear models, and any black-box model
Pydeseq2
Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.
Query Writing
For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations
Pydeseq2
Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.
Scientific Visualization
Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib/seaborn/plotly with publication styles. For quick exploration use seaborn or plotly directly.
