A civil engineering student needs a short report on crack detection in bridges. Below is a well-structured prompt followed by a component-by-component explanation of why each slot improves the response.
The Prompt:
"Act as a senior civil engineer specialising in bridge health monitoring (Role). I am a final-year B.Tech student preparing a 2-page report for my Structural Engineering lab (Context). Write a short report on crack detection in reinforced-concrete bridges covering: (i) common crack types, (ii) visual vs. non-destructive detection methods, and (iii) one case study (Task). Use the following format: a 3-line introduction, three numbered sections with sub-bullets, and a 2-line conclusion (Format). Keep the total under 400 words, use plain language suitable for a lab instructor, and cite at least one standard (e.g., IS 456 or ACI 224) (Constraint)."
Why Each Part Improves the Response:
Step 1 — Role ("Act as a senior civil engineer…"): Anchors the model's vocabulary and depth to professional engineering discourse. Without it, the model may produce generic or overly academic text that lacks practical field terminology.
Step 2 — Context ("final-year B.Tech student… lab report"): Tells the model the audience and purpose, so it calibrates complexity — not too basic for a layperson, not research-paper level for a journal.
Step 3 — Task ("Write a short report covering…"): Removes ambiguity about what content to include. The three sub-topics act as a checklist the model must satisfy, preventing it from skipping a section.
Step 4 — Format ("3-line intro, three numbered sections, 2-line conclusion"): Guarantees a predictable structure the student can drop directly into a document without reformatting. This saves post-editing time.
Step 5 — Constraint ("under 400 words, plain language, cite one standard"): Prevents the model from over-generating or drifting into jargon. The citation requirement adds academic credibility and signals the expected rigour level.
Result: The five-slot prompt transforms a vague request ("tell me about bridge cracks") into a precise, reproducible instruction that yields a publication-ready draft in one pass, with minimal human editing.
Tip from Examiner: Always label each slot explicitly in your answer (Role, Context, Task, Format, Constraint) — examiners look for these five keywords. A common mistake is merging Context and Task into one sentence; keep them separate. Also, the constraint slot is where students lose marks by omitting a word limit or citation requirement; always include at least one measurable constraint.