Define the Task and Keep a Baseline
Give PromptLab one small job, describe a usable answer and preserve a starting result before improving the prompt.
What You Will Learn
- Translate a broad goal such as help me study into a small, reviewable task.
- Separate success requirements from preferences about style.
- Keep a baseline prompt and answer so later improvement has a reference.
Understand the Idea
A prompt is the request and supporting material you give an AI system. Prompt engineering is the practical work of making that request clear and checking whether its answers meet your needs. PromptLab has a deliberately narrow job: turn a supplied passage and question into one useful study card. It is not a general tutor that invents a curriculum. Narrowing the job makes errors easier to spot and changes easier to evaluate.
Write the success conditions before examining an answer. For our first card, the answer must preserve the order of the routine, include its source identifier and avoid adding a claim that the source never made. A preference such as friendly wording is useful, but it cannot compensate for an invented fact. You can mark each requirement pass or fail with evidence from the card. This is more informative than giving the whole response a vague score out of ten.
The fictional source pack below is deliberately short enough to inspect manually. Its statements are exercise inputs, not research findings or universal learning prescriptions. For example, S6 describes this club's break recommendation; it does not establish the best schedule for everyone. Keep that distinction when writing cards. An answer can accurately report a source while the source itself remains incomplete or unsuitable for another purpose.
A baseline is an unchanged starting attempt. Save the prompt, its inputs and its answer together. If an assistant is available, use the exact worked prompt in a fresh conversation and retain what it actually returns. Otherwise use the illustrative answer supplied here and label it accordingly. Both routes teach evaluation, but an offline review cannot tell you how a model would have behaved. Never turn a sample answer into a claimed test result.
WORKED EXAMPLE
The First Study Card and Source Pack
Copy the six source lines into sources.md. The complete prompt below includes the same pack, so it can be used independently. All passages are original fictional exercise material.
Create one study card for a beginner.
Question: What is the club's recall routine?
Use the source pack below.
S1: Read a short section, close it, write one idea you remember, then reopen the section and check your note.
S2: A study card asks one clear question. Its answer uses your own words and records the supporting source identifier.
S3: In our web exercise, a button performs an action on the current page. A link with an href takes the reader to a destination.
S4: Before changing a program, record the steps that reproduce the problem, the expected behavior and the actual behavior. Change one suspected cause, then repeat the same check.
S5: A failed sign-in event records an unsuccessful attempt. By itself it does not identify the person responsible or prove a successful intrusion.
S6: The club recommends a five-minute break after twenty minutes of study. This note does not specify a daily study duration.- The question fixes the task. Only S1 directly supplies the requested routine; the remaining notes create a small context-selection challenge.
- Before reading any candidate answer, list the four actions in S1. This gives you an independent reference for checking order and omissions.
- Compare each claim in the answer with S1. A correct-looking routine still needs its source identifier to meet the project's requirements.
Expected Result
Illustrative baseline answer for offline review: 'Q: How do I practice recall? A: Read a short section, close it, write one remembered idea, then reopen it and check.' This preserves the routine and adds no factual claim, but omits S1. Record two passes and one failure. It is a prepared teaching example, not a measured model output.
PROJECT STAGE 01 / 12
Create the PromptLab Brief
Builds on: An empty PromptLab notebook and the six supplied source passages.
- Create brief.md. Write the audience, one-card task and intended use: helping a beginner recall supplied material rather than answering from unrestricted knowledge.
- Copy S1-S6 unchanged into sources.md. Add a note that these are fictional exercise statements and keep their identifiers attached to their text.
- Save the worked prompt as baseline.txt and the received or supplied answer as baseline-answer.txt. Label its origin explicitly.
- Start ledger.md with columns for run, case, prompt revision, answer origin, source support, format, clarity and notes. Enter B1 for this baseline.
- Write a short diagnosis of the missing citation. Do not edit the baseline answer; your first improvement belongs in a new prompt file.
Keep This Deliverable
A project brief, intact source pack, saved baseline and first manual evaluation row.
Check Your Build
- The brief names one audience, one task and three observable success conditions.
- S1-S6 are complete and unchanged, and B1 identifies whether its answer was observed or supplied.
- The baseline remains available even after its missing citation has been diagnosed.
Common Mistakes and Fixes
- The baseline becomes a polished answer after several silent edits.
- Restore the original and save corrections separately. Otherwise there is no trustworthy starting point for comparison.
- A card claims this routine guarantees better grades.
- Mark the claim unsupported. Nothing in S1 measures grades or promises an outcome.
Check Your Understanding
Why is 'sounds helpful' a weak success condition?
Reveal the explanation
It does not tell two reviewers what to check. Preserving the four actions, citing S1 and adding no unsupported claim make the judgment explainable and repeatable.
Ready to Move On?
You can explain who the card helps, identify its source and distinguish an observed answer from an illustrative one.
Open the learning resource
