How do you break a big task down for AI?
23 posts
Playbook
Practitioners front-load planning to generate granular, trackable tasks or benchmarks before letting agents execute autonomously or in parallel.
- Force AI to ask 100+ questions to generate 40+ issues
Instruct the AI to ask over 100 questions to fully plan a feature before coding, creating 40 or more Linear issues to automate the build process. 1
- Set a 1500-line diff threshold for decomposition
If an agent-generated diff exceeds 1500 lines, decompose the output into atomic, incremental tasks assigned to parallel agents. 6
- Hand-write first module as a benchmark
Manually code the first module to establish a benchmark, freeze it into a single-purpose skill, and split subsequent migrations into small steps. 4
- Build parity harness before migration layers
Create a parity test harness to compare old and new systems, then migrate in layers using up to 20 sub-agents. 8
- Use GitHub issues as single task source
Log or generate GitHub issues with labels and dependencies, then instruct Claude Code to work through them sequentially. 10
Choosing between approaches
Alex Finn advocates for high autonomy after planning, while Mitchell Hashimoto maintains human oversight for architectural integrity during decomposition 16. Gokul treats existing bugs as expected behavior during migration to ensure parity, whereas others may fix them immediately 8.
Not covered yet
The material lacks guidance on handling non-migration tasks or specific strategies for debugging complex logical errors rather than structural refactoring.
Posts
- Chain four Anthropic models into a structured coding workflowkvinsi uses Fable 5.2 to write a four-field specification with a 12-word limit per field.

- Plan a design-system migration in four stages, with each batch handed to its own cloud agentInstead of one giant PR or a hundred stacked in sequence, the team migrated a design system in four stages.

- When asking AI to grill your requirements, explain the why, not the whatMatt Pocock advises that when you ask AI to question your requirements, you explain the why rather than the what.
- Hand-write the first module as a benchmark, then freeze it into a single-purpose skillEngineers at lastminute.com migrated 137 modules to dependency injection.

- Ask the AI 100 questions first, then let it build from 40 Linear issuesAlex Finn uses a prompt that forces the AI to ask as many questions as needed to fully plan a feature before writing code.
- Have agents do the slow async prep so humans can run fast synchronous sprintsGeoffrey Litt revisits his view from a year ago: he no longer writes code by hand, but the core principle holds.

- Build evidence inventories to decide how to modernize applicationsSam Quakenbush describes an evidence-first method for application modernization.
- Tag temporary migration code with CLEANUP-NOTE so agents can later delete itTemporal engineers looked back at moving billing storage to ClickHouse and found, by reading prompt history, that the agent's most useful work was deletion.

- Run multi-phase security audits using isolated coding agentsCloudflare provides a coding-agent skill to conduct structured audits.
- Make GitHub issues the only task source for Claude Code, with labels and dependenciesThe author treats GitHub issues as the single source of tasks for the coding agent.

- Split agent diffs over 1500 lines into parallel atomic tasks
- Ask for a running implementation-notes file while the AI implements a spec
- Build a parity test harness first, then migrate in layers with up to 20 sub-agents
13 more posts to see