- All playbooks
- Lead a large pull request with its core change and keep formatting noise out of the review
Lead a large pull request with its core change and keep formatting noise out of the review
A guided review splits a large diff into chapters in the order the work was reasoned through.
Company examples
How Linear used this technique
Read what Linear changed and follow the original sources.
Lead a large pull request with its core change and keep formatting noise out of the review
Translated to GitHub Actions
- What Linear built
- Linear's Diffs break a pull request into chapters, with the core of the change first and structural highlighting that strips formatting changes.
- Your GitHub Actions version
- A pull request description an agent writes in reading order, with formatting-only changes in their own commit.
Linear's Diffs break a pull request into chapters that follow the order the work was reasoned through: the core of the change first, then its consequences, with auxiliary changes and glue code kept separate. Structural diff highlighting strips the formatting changes, so what is left on the page is the actual change. In a repository without Diffs, the same order comes from a pull request description an agent writes and a formatting-only change in its own commit.
A 2,000-line PR becomes legible in a single sitting. Source
- Use it when
- Large pull requests, often written by agents, are reviewed in file-system order with formatting changes mixed into the substantive edits.
- Before applying it
- The description is a guide, and the diff itself stays complete. Formatting-only changes go in their own commit, so blame and revert stay clean.
- GitHub Actions adaptation
- Compare the source system with your own workflow before applying this translation.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookMove a CPU-bound test suite to a faster CPU
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed