Break a Large Task into Subtasks
Split a complex feature into small, independently promptable pieces that build on each other.
5 min|Beginner
BuildQuick WinDeveloperFounder
Prompt Template
I need to build [describe the full feature]. Break this into small, independent subtasks that I can prompt an AI to build one at a time. For each subtask: 1. What to build (one specific piece) 2. Inputs: what does this subtask need from previous subtasks? 3. Outputs: what does this subtask produce for the next one? 4. Test: how do I verify this subtask works before moving on? 5. Estimated complexity: quick (5 min) / medium (15 min) / complex (30+ min) Ordering: arrange subtasks so each one builds on the last. I should be able to test after every subtask. Rules: - No subtask should touch more than 2-3 files - Each subtask should be completable in a single AI prompt - Include 'checkpoint' steps where I test the running app - The first subtask should produce something visible (not just setup) Do NOT create subtasks that are 'set up types' or 'create interfaces' as standalone tasks. Types should be created alongside the code that uses them." **Output format:** Ordered list of subtasks with test criteria.
Each subtask is small enough for a single AI prompt and testable on its own. The checkpoint steps prevent you from building 10 things before discovering the first one is wrong.
Any feature that would take more than 20 minutes to build in a single prompt.