Free course · Lesson 3 of 5
Prompt Engineering Fundamentals
In this lesson you will
- Write prompts with task, facts, audience, format and constraints
- Use examples to control style
A good prompt tells the model the task, gives the facts it must use, names the audience, sets the format and adds constraints. Specific prompts produce drafts that need far less editing.
- Examples help (few-shot prompting): show one or two outputs in the style you want, and the model follows their length and tone.
- Change one thing at a time when improving a prompt, and keep a short log of what worked.
- Image prompts name the subject, setting, style, composition and colours. Add prices and names later with a design tool, because generators handle text in images poorly.
Task: Write three short social media posts for school uniforms.Facts: Shirts 8,000 SSP; skirts and shorts 10,000 SSP; made to measure in 3 days; shop near Konyo Konyo market (fictional business).Audience: Parents in Juba; friendly, simple English.Format: Each under 35 words, ending with "Order on WhatsApp".Constraints: Use only these facts. No discounts. No claims about quality awards.
Practice exercise
Rewrite 'Write an advert for my shop' into a structured prompt for a business you know, including the real facts the advert must use.
Key takeaways
- Facts belong in the prompt
- Specific prompts give usable drafts
Free self-study lesson — no certificate. For the full instructor-led program, see registration options.