- All playbooks
- Format with bun fmt
Format with bun fmt
Move the format check from oxfmt to bun fmt, the formatter built into bun, as Ramp did for the full CI pipeline of Glass.
How Ramp used this technique
Read what Ramp changed and follow the original sources.
Format with bun fmt
On 20 November 2026 Pontus Abrahamsson, who builds Glass at Ramp, wrote: “Our full CI pipeline is now sub 1 min.” He listed eight changes. The fourth was the formatter: oxfmt -> bun fmt. His prompt gives the step a budget (“Format, under 1 second: `bun fmt`.”), and the pre-commit hooks he shared run the same formatter on staged files with `bun fmt --no-script {staged_files}`. In a tool benchmark he published on 30 November 2026, run on the Supabase codebase, he timed bun fmt at “~130× vs Prettier”. As with every tool in the prompt, old and new run side by side before the switch. The OPT84 recipe describes the same swap procedure for formatters: migrate the config first, then time both tools on the same commit and runner class, and ship a bulk reformat as its own commit.
2026: One of eight changes Pontus Abrahamsson, who builds Glass at Ramp, listed on 20 November 2026 in his post “Our full CI pipeline is now sub 1 min.” Source
- Use it when
- A pull request job checks formatting with oxfmt or Prettier, and the format step runs on every pull request.
- Before applying it
- bun fmt has to produce the same formatting as the tool it replaces on this repository, so format the tree with both, diff the results, and ship any bulk reformat as its own commit before removing the old formatter.
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 playbookType-check with a native checker
- 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
- Read OpenClaw’s playbookSelect only the tests and proofs a change can affect