Back to guide/General Productivity

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.

cline-tipsfeature_nametech_stackrelevant_files
Edit View
Prompt
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

{{feature_name}}{{tech_stack}}{{relevant_files}}{{requirements}}

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.