Task Decomposition
Forces Cline to plan before executing, which prevents it from going down the wrong path and making changes you need to undo. The explicit 'wait for approval' instruction is critical for complex tasks.
I need to implement {{feature_name}}. Before writing any code, break this into a step-by-step plan:\n\n1. List every file that needs to be created or modified\n2. For each file, describe what changes are needed (be specific — not "update the component" but "add a new prop called X and render it in the header")\n3. Identify the order of operations — which changes depend on others?\n4. Note any potential risks or side effects\n\nContext:\n- Tech stack: {{tech_stack}}\n- Relevant existing files: {{relevant_files}}\n- Requirements: {{requirements}}\n\nPresent the plan and wait for my approval before making any changes. I may want to adjust the scope or approach before you start.
Variables to customize
Why this prompt works
Forces Cline to plan before executing, which prevents it from going down the wrong path and making changes you need to undo. The explicit 'wait for approval' instruction is critical for complex tasks.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.