When should you use it?
- You're tempted to let an agent build a large feature in one go
- Reviews of agent pull requests take longer than writing the code
- Agent changes keep breaking things you didn't expect
Not for: Throwaway prototypes where nobody will maintain the code
What do you need, and what do you get?
You need
- A feature description and the plan you agreed with the agent
- Your test setup
- A rule on maximum pull request size
You get
- A list of small slices, each a pull request of a few files
- Tests written with or before each slice
- A working feature assembled step by step
How does it work, step by step?
- Plan togetherDiscuss the feature until the plan names concrete files, interfaces and tests.
- Slice itUse our prompt to split the plan into pull requests of five to ten files each.
- Test every sliceRequire tests that pass before moving to the next slice.
- Review as you goRead each small pull request; fix the plan when something surprises you.
The prompt
Our own prompt, inspired by Christos Athanasiadis (@ckathanasiadis) and written to work in Claude Code, Custom agent and Grok Bot. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
We've agreed this plan for {feature}: {plan}. Don't build it in one go. First, split it into slices that each fit in one pull request of at most {max_files} files, in an order where each slice works on its own. Show me the list and wait. For each slice I approve: write or update tests first, implement, run the full test suite, and open a pull request with a short summary. If a slice needs more files than the limit, or the plan doesn't cover something you find, stop and tell me rather than expanding the change.
Inspired by Christos Athanasiadis (@ckathanasiadis): Letting Claude deliver an entire feature autonomously. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Agents often skip tests when the task is large. Make tests part of 'done' for every slice.
- A slice that grows beyond its limit is a sign the plan was vague. Stop and re-plan.
Our take
It's useful to hear from an experienced engineer who tried the fully autonomous approach and documented the result plainly. Christos agreed a concrete plan with the agent, let it run, and got back 70 changed files, no tests and a feature that didn't work. His normal practice of small pull requests of five to ten files that build toward a feature is what two years of use taught him works, and this experiment reinforced it. The lesson isn't that agents are useless. It's that review effort grows faster than change size, and tests are the first thing an agent drops when a task is big. Our prompt turns his habit into a rule: slice the plan, write tests per slice, and stop when a slice outgrows its limit. In our dry run on a sample repository, the prompt split a 'team invitations' feature into 5 slices of 3 to 8 files, wrote tests with each, and paused after slice 3 when it found the plan hadn't covered expired invitations.
Where the time goes back: Small slices are quick to review and easy to undo, so you don't lose a day untangling a 70-file change that doesn't work.
FAQ
Does this mean agents can't build features?
How big is too big?
Source and credit
Inspired by Christos Athanasiadis (@ckathanasiadis). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Letting Claude deliver an entire feature autonomously
- Creator
- Christos Athanasiadis (@ckathanasiadis)
- Published on
- X
- Original date
- Oct 1, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Claude Code
- AI dry run
- Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Size limit and stop rule respected.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.