Home
cd ../playbooks
Developer ToolsBeginner

Code Review Summary & Documentation

Generate structured code review summaries with findings categorization, pattern analysis, and team improvement recommendations.

5 minutes
By communitySource
#code-review#review-summary#engineering-quality#best-practices#documentation

Your team does code reviews but nobody tracks what gets caught. The same issues appear in every PR — inconsistent error handling, missing input validation, untested edge cases. Without summarizing patterns across reviews, you fix symptoms instead of root causes.

Who it's for: engineering managers wanting data on code quality trends, tech leads identifying recurring patterns across code reviews, teams establishing review quality standards and documentation, engineering organizations tracking improvement over time, developers wanting structured feedback summaries for learning

Example

"Summarize code review findings from this sprint" → Structured report: 23 issues across 8 PRs categorized by type (security: 3, performance: 5, style: 15), top 3 recurring patterns, team-level recommendations, and comparison to last sprint's review findings

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add recipe-code-review-summary
# Code Review Summary & Documentation

## Your Role
You are an expert engineering quality analyst. Your job is to synthesize code review findings into actionable summaries that identify patterns, track quality trends, and recommend team improvements.

## Core Principles
- Categorize findings: bug, security, performance, maintainability, style
- Patterns matter more than individual incidents
- Highlight strengths alongside improvement areas
- Automate recurring review comments with linter rules
- Track trends to measure improvement over time

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Synthesizes code review findings into structured summaries — categorizing issues, identifying recurring patterns, tracking quality trends, and producing improvement recommendations for engineering teams.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Provide Review Data

Compile code review comments, PR descriptions, and any review checklists from the analysis period.

Step 3: Start Using It

claude

Say: "Summarize code review findings from our last 50 PRs. What patterns emerge? Where should we invest in team training?"


Summary Components

Component Content
Finding Categories Bugs, security, performance, style, architecture
Pattern Analysis Recurring issues across multiple reviews
Quality Trends Improvement or regression over time
Hotspot Files Files that generate the most review comments
Team Insights Common knowledge gaps or strengths
Recommendations Training, tooling, or process improvements

Tips

  • Categorize findings: Bug, security, performance, maintainability, style — not just "change this"
  • Patterns over incidents: One-off issues are noise; recurring patterns are signals
  • Positive patterns too: Highlight what the team does well, not just what needs fixing
  • Automate what you can: If the same comment appears 10 times, it should be a linter rule

Commands

"Summarize code review findings from [period/PRs]"
"Identify recurring patterns across reviews"
"Which areas need the most engineering training?"
"Recommend linter rules or automation for common findings"

Troubleshooting

Too many findings to summarize Say: "Group by category and rank by frequency. Focus on the top 5 recurring patterns."

Reviews too nitpicky Ask: "Separate style issues (automate with linting) from substantive issues (require human review)."

Team not learning from reviews Specify: "Create a 'common patterns' guide from the top 10 recurring issues with examples."

$Related Playbooks

Developer Tools

Scientific Aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or ti...

10 minutes
Intermediate
Developer Tools

Scientific Astropy

Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordina...

10 minutes
Intermediate
Developer Tools

Scientific Cirq

Google quantum computing framework. Use when targeting Google Quantum AI hardware, designing noise-aware circuits, or running quantum characterization experiments. Best for Google hardware, noise modeling, and low-level circuit design. For IBM har...

15 minutes
Advanced
Developer Tools

Scientific Fluidsim

Framework for computational fluid dynamics simulations using Python. Use when running fluid dynamics simulations including Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, or when analyzing turbulence, vortex dynamics, o...

15 minutes
Advanced
Developer Tools

Scientific Get Available Resources

This skill should be used at the start of any computationally intensive scientific task to detect and report available system resources (CPU cores, GPUs, memory, disk space). It creates a JSON file with resource information and strategic recommend...

5 minutes
Beginner
Developer Tools

Technical Documentation from Engineering

Transform engineering inputs like code, architecture diagrams, and design docs into clear technical documentation for different audiences.

10 minutes
Intermediate
Developer Tools

Technical Specification Writing

Write detailed technical specifications with requirements, architecture decisions, interface definitions, and implementation plans.

10 minutes
Intermediate
Developer Tools

Accessibility Engineering for Components

Build accessible UI components at the code level, not just the audit level — 14 concrete engineering principles (focus-visible over bare :focus, roving tabindex for composite widgets, inert-based modal focus trapping, WCAG 2.5.8 hit-area minimums), a common-mistakes table with fixes, and a severity-rated review format ending in a hard Block/Needs-changes/Approve verdict.

5 minutes
Intermediate
Developer Tools

Adversary Emulation: MuddyWater

An intelligence-grounded, authorized purple-team emulation profile for MuddyWater (MITRE ATT&CK G0069), Iran's MOIS-linked cyber-espionage group — attribution, targeting, representative TTPs by ATT&CK tactic, emulation guidance mapped to generic red-team tooling, and paired detection/defense recommendations for every offensive technique, all under an explicit authorized-use caveat.

15 minutes
Advanced
Developer Tools

Adversary Emulation: Turla

An intelligence-grounded, authorized purple-team emulation profile for Turla (MITRE ATT&CK G0010), Russia's FSB-linked espionage group — attribution, distinctive TTPs (satellite C2 hijacking, steganographic email backdoors, parasitizing rival APT infrastructure), emulation guidance mapped to generic red-team tooling, and paired detection recommendations, under an explicit authorized-use and lab-only caveat for rootkit techniques.

15 minutes
Advanced
Developer Tools

AI Agent Red Team Methodology

A first-principles methodology for authorized red-team exercises against AI products, agents, MCP servers, skills, and repositories — capability and trust-boundary modeling, AI-specific attack hypothesis families (prompt injection, tool misuse, data leakage, SSRF), harmless-proof testing with canaries, one-variable-at-a-time adaptive iteration, and business-language evidence-based reporting.

10 minutes
Advanced
Developer Tools

Better Web Typography

Web typography engineering as a review discipline, not a style guide — CSS properties over raw variable-font tags, a semantic type scale with descending heading sizes, deliberate text-wrap usage (balance vs. pretty), tabular numbers for changing values, mobile input zoom fixes, and a severity-rated review report format with a concrete common-mistakes table.

5 minutes
Intermediate

Browse all Developer Tools playbooks →