Skip to content

Current path

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

Capstone Project

From Problem to Final Prompt

Turn a real problem into a goal, success criteria, context, inputs, constraints, and output shape, then build the first prompt.

In this lesson

Why this matters

The capstone starts with the problem, goal, and success criteria, not an attempt to write the “best prompt.” Add techniques only for demonstrated needs and treat v1 as a testable hypothesis.

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: أريد أفضل Prompt لتقارير العملاء.

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: المشكلة: 50 تعليقًا أسبوعيًا. الهدف: موضوعات متكررة دون اختراع أسباب. النجاح: شواهد وعددها ومفقود واضح. صمم مخرج JSON ثابتًا.

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.