- All playbooks
- Run cheap formatting before semantic formatting
Run cheap formatting before semantic formatting
Normalize whitespace with a fast folder pass before the full solution formatter runs.
Company examples
How Stripe used this technique
Read what Stripe changed and follow the original sources.
Run cheap formatting before semantic formatting
Stripe .NET added a folder-based whitespace pass ahead of its existing solution formatter, which still runs.
- Use it when
- Generated code makes a formatter’s full analysis expensive.
- Before applying it
- Keep the semantic pass and its output, and measure the two passes together against the old single pass.
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