Skip to content

Current path

Prompt Engineering
Level: Intermediate33 lessons
Progress0/33 · 0%

Complex Tasks and Reasoning

Decompose Complex Tasks

Break a complex problem into subgoals or deliverables when that improves clarity and verification without unnecessary process constraints.

In this lesson

Why this matters

Decompose a task when it has natural stages with checkable outputs, such as extraction, analysis, then recommendation. Do not split simple tasks into artificial steps.

How to apply it

  1. Define the task and desired outcome.
  2. Add only context or rules that affect success.
  3. Specify an output form or checkable criterion when needed.
  4. Test on realistic input and revise when a failure pattern appears.

Practical example

Weak example:

text
Weak version of the same task: اقرأ المراجعات واعمل كل شيء.

The weak version leaves an important part of the task or its boundaries to guesswork. The improved version adds information tied directly to success without treating length or complexity as a goal.

Improved example:

text
Improved version: 1) استخرج موضوعات الشكاوى. 2) احسب الشواهد لكل موضوع. 3) اقترح أولويات مرتبطة بالأكثر تكرارًا.

Short practice

Apply the lesson concept to this task: قسّم «تقرير منافسين» إلى ثلاث مراحل وحدد مخرج كل مرحلة.

Check your understanding

Check: متى يفيد التقسيم؟
Answer: عندما تكون للمهمة مراحل مختلفة وفحص كل مرحلة يحسن التحكم.

Summary

Keep this concept as one tool rather than a magic formula. Tie it to the goal and success criteria, then build on it in the next lesson.