1. Observable learning objectives
- Write a task-specific prompt with objective, context, inputs, constraints and format.
- Distinguish well-specified instructions from tested performance.
- Use examples where they clarify the desired output.
- Evaluate a prompt with a rubric and document iterations.
Prerequisites: M01 recommended; no programming skills needed.
2. Lesson
2.1 Prompts are not magic formulas
A prompt is a request or instruction intended to guide model behavior. There is no secret wording that guarantees reliable answers. Google emphasizes clarity, context, examples and iteration. Anthropic recommends defining success criteria and empirical tests first. OpenAI recommends evaluation because output varies by model and version. These perspectives are complementary but not identical prescriptions for every tool. [S4][S5][S6]
2.2 Four building blocks to start
Define what you need, who it is for, what information the model can use, and the output format. Add constraints for known risks: invented numbers, unsupported claims or missing data. Giving the model an “expert role” may shape style but cannot give it facts or prove professional competence. Select components based on the actual task. [S4][S6]
2.3 Keep source material apart from instructions
Clearly distinguish documents to be analyzed from the instructions governing the task. External text may contain instructions that should not be obeyed; this is the basic idea behind prompt-injection risk. Also determine whether your service and permissions allow the information to be uploaded.
2.4 Examples and output schemas
Few-shot examples can clarify labels, format and tone. Their value depends on relevance and consistency: poorly designed examples can introduce mistakes. Ask for explicit uncertainty handling, such as “if it is not in the source, say not specified”. [S4][S6]
2.5 Improve by testing, not by guessing
A prompt remains “proposed” until it is tried. For a reproducible claim, record date, model/version when known, input, output and scoring criteria. Test more than one case, change one element at a time and note regressions. One attractive output is not evidence of universal effectiveness. [S5][S6]
3. Worked example, original MANZO AI material
Scenario: You are announcing a lunch menu before pricing has been decided.
Initial request:
Write an amazing post for my restaurant.
Improved request / sound next step:
Task: draft an Instagram post in English, up to 90 words, announcing that our restaurant plans to launch a lunch menu next month. Audience: local customers. Menu items and prices are not confirmed. Tone: professional and welcoming. Do not make up prices, promotions, exact dates or ingredients. End by inviting people to follow for updates.
Analysis and limitations: The revised request states channel, audience, boundaries and output. It is better specified; we are not claiming measured improvements on a model.
4. Independent exercise
Rewrite “Plan the perfect trip” using objective, context, known data, constraints, output and uncertainty handling.
Explained solution
Example: “Propose two one-day walking itineraries for [city], two adults, budget [x] and preferences [y]. Do not invent opening times or prices. Mark items to check on official sites; return a table”. The city, date and preferences are still missing.
5. Quiz with reasoned answer key
Q1. Does an “expert” role guarantee truth?
Reveal the explained answer
A1. No. It can influence style, not independently establish facts. [S6]
Q2. When can a prompt be described as tested?
Reveal the explained answer
A2. When conditions, cases and observed outputs are documented. [S5]
Q3. Why add few-shot examples?
Reveal the explained answer
A3. To show the expected pattern using relevant examples. [S4]
6. Assessment rubric
- 1. Clear task and audience. — 0 = absent, 1 = partial, 2 = clearly demonstrated.
- 2. Inputs and constraints separated. — 0 = absent, 1 = partial, 2 = clearly demonstrated.
- 3. Useful output and explicit uncertainty handling. — 0 = absent, 1 = partial, 2 = clearly demonstrated.
- 4. Test plan rather than unsupported claims. — 0 = absent, 1 = partial, 2 = clearly demonstrated.
Max: 8 — thresholds are provisional and not externally validated.
7. Limits, privacy and application
Prompt engineering does not replace evidence, tools or privacy authorization. Illustrative text is not an actual model test.
8. Sources and traceability
- [S4] Google — Gemini API — Prompt design strategies. https://ai.google.dev/gemini-api/docs/prompting-strategies
- [S5] Anthropic — Prompt engineering overview. https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview
- [S6] OpenAI — Prompt engineering — OpenAI API. https://developers.openai.com/api/docs/guides/prompt-engineering
9. Links to other modules
Continue with M04 and practice with library cards P01–P12.