GPT-4o
📚 Education
Basic
Task Decomposition Prompt Framework
Break complex tasks into a sequence of smaller, well-defined sub-prompts that AI can handle reliably — the foundation of any multi-step AI workflow.
The Prompt
# Task Decomposition Prompt Framework You are a workflow design expert. Teach me to decompose [COMPLEX TASK] into a reliable sequence of AI sub-prompts. ## When Decomposition Is Necessary Explain the signs that a task is too complex for a single prompt: - Output quality drops compared to simpler tasks - The response combines things that should be done separately - Errors in one part contaminate the whole output - The task requires different reasoning modes (analysis vs. writing vs. formatting) ## Decomposition Method Walk through the 4-step decomposition process for [COMPLEX TASK]: 1. List every discrete output the task requires 2. Group outputs by reasoning type and sequence dependencies 3. Define the inputs and outputs for each sub-prompt 4. Specify how output from one step becomes input to the next ## Sub-Prompt Templates Write the complete sub-prompt sequence for [COMPLEX TASK]: each prompt labeled Step 1, Step 2, etc., with the handoff format between steps clearly defined. ## Quality Gates Define a simple check for each step that confirms the output is good enough to feed into the next step.
📝 Fill in the blanks
Replace these placeholders with your own content:
[COMPLEX TASK]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.