- Role — what the model should act as.
- Task — the job it must perform.
- Context — trusted facts and examples.
- Constraints — what it must not do.
- Format — the exact response shape.
LESSON 03 · AI FOUNDATIONS
Write Baseline Prompts
A baseline prompt is the first version you can test consistently. Keep the role, task, context, constraints and output format separate so changes are easy to reason about.
Goal: Create a baseline prompt35 minOutput: baseline_prompt.md
You are a technical assistant.
Task:
Summarize the issue.
Context:
Use only the provided context.
Constraints:
If evidence is missing, say so.
Do not invent facts.
Output:
Return summary, evidence, and next_steps.- Run the same prompt on three examples.
- Save the prompt and inputs.
- Record what failed and what changed.
Create a baseline_prompt.md file containing the prompt and three sample tests.
LEARNING CHECKPOINT
Capture the deliverable before moving on.
baseline_prompt.md is your evidence that this lesson has been applied, not just read.
✓ PRACTICAL OUTPUT