AI-assisted development playbook
Rules for building software with AI coding agents. Set up the project, work in small steps, turn rules into checks and review every change before it ships.
- Required 20
- Recommended 49
- Avoid 1
An AI-assisted development playbook for any team that builds with coding agents. It works the same for terminal agents, editor agents and app builders, such as Claude Code, Codex, Cursor, Copilot, Lovable, Bolt, Replit and v0.
Agents write code fast, and they copy what they see. They also make confident mistakes, skip steps and follow instructions hidden in the content they read. These rules keep the speed and catch the mistakes before they reach users.
Start with Setting up the project. It gives every agent the same instructions and one command that says whether its work is right. Then read Reviewing agent output, because a person still signs off every change. Before an agent runs without you watching, read Isolation and credentials. Before you add a tool server, a skill or a shared settings file, read Agent config supply chain.
When several agents run at once, or a whole team starts using them, read Running agents at scale.
Chapters
Setting up the project
Before an agent writes a line, give it short instructions, one command that checks everything, and code small enough to read in one pass.
- Recommended 3
Working in small steps
Plan before code, give each task clear acceptance criteria, keep every change small, and commit on a branch so any step can be undone.
- Recommended 8
Rules the agent cannot break
Agents forget instructions, so turn every rule that matters into a linter, test, build gate or hook that stops the work when it is broken.
- Required 1
- Recommended 2
Reviewing agent output
A person reads every change an agent makes, runs it, and checks for invented packages, weakened checks and changes outside the task before it ships.
- Required 2
- Recommended 7
Isolation and credentials
Run agents in a sandbox with no open network, the fewest rights and no production keys, and treat everything they read as possibly hostile.
- Required 13
- Recommended 2
Agent config supply chain
Instruction files, settings, hooks, skills and MCP servers can run code or steer an agent. Review, pin and enforce them like any other dependency.
- Required 3
- Recommended 2
Apps built with AI builders
App builders such as Lovable, Bolt, Replit and v0 ship working apps fast. Own the code, add tests early and know when to move off the builder.
- Recommended 3
Context and memory
Agents only know what they are given. Keep instructions short and current, show good examples and point agents to documents they can trust.
- Recommended 5
Measuring and improving
Track what agents get wrong, add a check for every repeated mistake, measure delivery, and keep a person's sign-off before every release.
- Recommended 4
Agent skills
Package each repeated task as a skill the agent loads only when it matches, with a clear description, bundled scripts and a test.
- Required 1
- Recommended 6
- Avoid 1
Running agents at scale
Run many agents without losing control. Give each its own copy and identity, cap what reaches review, attribute every cost and roll out in steps.
- Recommended 7
This is a lot to check. An Expert can check it for you.
Related playbooks
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.