# Squash Merging & PR Size Distribution — Tips from Boris Cherny A summary of insights shared by Boris Cherny ([@bcherny](https://x.com/bcherny)), creator of Claude Code, on March 25, 2026.
| ← Back to Claude Code Best Practice |
---
## 2/ PR Size Distribution — Keep PRs Small
Boris shared the size distribution across those 141 PRs, totaling **45,032 lines changed** (additions + deletions):
| Metric | Lines (add+del) | Meaning |
|--------|---------------:|---------|
| **p50** | **118** | Median PR size — half of all PRs were 118 lines or fewer |
| p90 | 498 | 90% of PRs were under 500 lines |
| **p99** | **2,978** | Only ~1 PR exceeded ~3K lines |
| min | 2 | Smallest PR — a quick 2-line fix |
| max | 10,459 | Largest single PR — likely a migration or generated code |
- A **median of 118 lines** means most PRs are focused and reviewable, even at 141 PRs/day
- The distribution is heavily right-skewed — the occasional large PR is inevitable (bulk renames, migrations), but the norm is tight
- Small PRs reduce merge conflict risk, are easier to review, and pair perfectly with squash merging for clean reverts
---
## Sources
- [Boris Cherny (@bcherny) on X — March 25, 2026](https://x.com/bcherny)