- All playbooks
- Run a recurring agent that fixes stale documentation
Run a recurring agent that fixes stale documentation
Validate the docs in CI and let a scheduled agent open fix-up pull requests.
Company examples
How OpenAI used this technique
Read what OpenAI changed and follow the original sources.
Run a recurring agent that fixes stale documentation
OpenAI's agent-first team keeps its knowledge base in a structured docs directory, with a short AGENTS.md as the map. Dedicated linters and CI jobs validate that the knowledge base is up to date, cross-linked and structured correctly, and a recurring doc-gardening agent scans for stale or obsolete documentation and opens fix-up pull requests.
A short AGENTS.md (roughly 100 lines) is injected into context and serves primarily as a map Source
- Use it when
- Docs and agent instructions drift from the code, and agents act on the stale text.
- Before applying it
- Review the fix-up pull requests like any other change, and keep the validation jobs deterministic so the structure stays checkable.
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