Setting up a codebase for working with coding agents
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Willison's practical checklist tells developers that tests, linting and issue trackers, not documentation, are what make codebases work well with AI coding agents.
Simon Willison, a well-known programmer and writer, answered a question on Hacker News about preparing a codebase for AI coding tools like Claude Code. His advice: write lots of automated tests (his project has 1,500), let the AI run them, and provide linters and type checkers the tools can use. He argues documentation matters little because AI reads code faster than humans, and what helps human maintainers helps AI too.
Willison's advice for teams adopting AI coding agents is practical: invest in automated test suites, he cites a project with 1,500 pytest tests that Claude Code runs selectively, plus linters, type checkers and dev-server instructions for interactive testing. Notably, documentation is low priority since agents read code directly. Teams with strong engineering hygiene gain the most; no costs, timelines or products are announced.
Willison recommends pytest suites agents can selectively run, one project has 1,500 tests, with Claude Code running relevant subsets then the full suite, plus Playwright or curl against a dev server for interactive verification. He suggests pasting GitHub issue URLs directly into Claude Code and providing linters, type checkers and auto-formatters. Documentation is de-emphasised because LLMs parse code directly; no benchmarks or limitations are given.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Simon Willison Hacker News Claude Code pytest Playwright GitHub
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Node graph engine that runs big diffusion models on 4GB VRAM
ComfyUI's asynchronous weight streaming lets large diffusion models run on 4GB VRAM, meaning practitioners with modest GPUs no longer need expensive hardware for local image, video and audio generation.
iCloud apps for Windows, Linux and Android, written in Rust
Skykeep gives Rust-based native iCloud apps for Windows, Linux and Android, ending the iCloud.com-browser workaround for non-Apple-device users.
An open-source video editor covering auto-captions, voice isolation and keyframes
Very little for most professionals: Concat is a free, pre-1.0 open-source video editor that makes basic auto-captions and voice isolation available on mobile and desktop without a subscription.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
A Flipper Zero CAN bus toolkit for Tesla, from $14
An open-source $14 ESP32/Flipper Zero build replicates $200+ commercial Tesla dongles at the CAN bus level, including FSD region-gate bypass and TLSSC restore, with real VIN-ban risk.