**Use this before you start building a multi-part feature:**
"I want to build [feature or app idea]. Break it into 8-12 implementation steps.
Requirements for each step:
- It must build on the previous step
- It must produce something testable
- It must avoid mixing auth, billing, schema, and UI redesign into one step
- It must name the files or systems likely to change
- It must include a short verification check before the next step
Start with foundations first.
Tell me which steps need my approval before an agent should continue."Breaking Big Ideas into Small Tasks — The Decomposition Pattern
Learn why small, focused prompts produce better code than trying to build everything at once.
Prompt FAQ
Questions to answer before you paste it
When should I use the Breaking Big Ideas into Small Tasks — The Decomposition Pattern prompt?
Learn why small, focused prompts produce better code than trying to build everything at once. Use it when you need a safer starting point than a blank prompt and you want the agent to stay inside explicit constraints.
Should I paste this prompt exactly as written?
No. Treat it as a safe starter. Replace the task, files, constraints, and verification details with your actual context before you run it.
What should I do after the agent answers?
Read the diff, run the checks, and stop after one reviewable step. If you need deeper context, open the lesson that explains the reasoning behind the prompt.
Related prompts worth copying next
Chain-of-Thought — Making AI Think Step by Step
Use chain-of-thought prompting to get AI to reason through complex coding problems.
Open prompt pageFew-Shot Prompting — Teaching AI by Showing Examples
Use examples to teach AI your patterns, styles, and conventions before it writes new code.
Open prompt pageThe Anti-Patterns — Prompts That Produce Bad Code
Recognize and avoid the most common prompting mistakes that lead to buggy, bloated, or wrong code.
Open prompt page