Free account

Save your progress

Keep your skill report, learning progress and passport safe, and pick up on any device.

  • Report updates after every test
  • Learning progress on every device
  • Reserve your passport link
or with email
Free forever. No card. Your scores stay private unless you choose to share them.
Learn AI fundamentalsModule 2 of 4 · 0 done
  1. How AI models actually work
  2. Prompting that works first time
  3. Checking AI output
  4. Responsible AI at work
Module 2 of 4 · Prompting · 30 min

Prompting that works first time

A simple structure — role, task, context, constraints, examples, format — and how to iterate when the output misses.

By the end you’ll be able to

  • Write structured prompts
  • Use examples (few-shot) to set quality and tone
  • Iterate with specific feedback instead of starting over

The six parts of a strong prompt

Role (who it should act as), task (one clear verb), context (audience, purpose, background), constraints (length, tone, must/must-not), examples (what good looks like) and format (bullets, table, JSON). You rarely need all six, but missing context is the usual reason for generic output.

  • Be specific about the audience
  • Give the model the source material
  • Ask for the format you’ll paste into

Show, don’t just tell

One or two examples of the output you want (few-shot prompting) communicate tone, length and structure better than adjectives. “Write it like this:” followed by a sample beats “make it punchy”.

Iterate like an editor

When output misses, give targeted feedback: “Shorter — 3 bullets, each under 12 words, lead with the number.” Ask the model to list its assumptions or questions before writing on complex tasks. Save prompts that work as templates.

Practical exercise

Build a reusable prompt template

Choose one of the three tasks from your task map.

0/5 steps

Deliverable: A before/after comparison and a reusable template. Add it to your skills passport as a project when it’s done.

Checkpoint

Check your understanding

Answer 3 scenario questions. Get 2 or more right to complete the module.

1. Output is generic and off-target. What is most often missing?
2. What does few-shot prompting mean?
3. The draft is too long. Best next prompt?
Measure it

See how your prompting scores

A free test adds Prompting to your skill report and shows how close you are to the 75% job-ready target.

Go deeper

Free PDF · 74 pages · 2 editions

The Laws of UX, in one field guide

60 research-backed principles in 6 categories — what each one means, why it works on the human brain and how to use it on your own screens. Written by Sushant Singh, founder of Science of Apps, who has scaled consumer apps to lacs of users and spent 10+ years leading product across startups and digital businesses in the US, EU & India.

Pick your edition
Free PDF · 74 pages

Get Laws of UX by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy

Free PDF · 90 pages · 2 editions

100+ Subscription Paywalls, decoded

110 real paywalls from top apps, taken apart, rated out of 5 and decoded with the Laws of UX — plus the frameworks, copy and checklists to ship your own. By Sushant Singh, founder of Science of Apps.

  • 110 paywalls rated
  • 34 Laws of UX
  • 12 frameworks

Which paywall scored 4.8 out of 5, and which scored 2.6? It’s all inside.

Pick your edition
Free PDF · 90 pages

Get 100+ Paywalls, Decoded by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy