Prompt Engineering SI
Hands-on tutorial

How to Write an AI Prompt: A Practical Step-by-Step Guide

Write a useful AI prompt by defining the deliverable, supplying relevant facts, naming the reader, setting boundaries, choosing a format, and stating how you will check the answer. Follow this tutorial to turn a vague project-update request into a reusable brief.

Step 1: define the deliverable

Start with something you can inspect. “Help with my project” is open-ended. “Write a status update that lets the sponsor decide whether to approve a limited rollout” defines a deliverable and its purpose.

If you need the definition first, read what prompt engineering is. This page concentrates on writing and checking one prompt.

Steps 2–6: fill the six-element brief

ElementWhat to supply in this example
1. TaskWrite a project update that makes the rollout decision clear.
2. ContextDesign is approved; testing found two payment defects; launch is planned for Friday.
3. AudienceThe launch sponsor, who needs a short decision brief.
4. ConstraintsDo not invent severity, resolved defects, owners, or commitments.
5. OutputStatus, Decision needed, and Next action; under 150 words.
6. AcceptancePreserve the facts and distinguish a planned launch from an approved launch.

These six elements match the builder. They are an organizing checklist, not a scientifically validated score. A simple rewrite may need only a short instruction and its source text; add detail when it changes the task.

Combine the instructions into one prompt

Weak request: “Write a professional project update.” It leaves the facts and the meaning of “professional” unspecified.

Write a project update for the launch sponsor.

Facts: design is approved; testing has found two payment defects; launch is planned for Friday; the team needs a decision on a limited rollout by Wednesday.

Use three headings: Status, Decision needed, Next action. Keep it under 150 words. Do not claim the defects are fixed, invent their severity, or invent an action owner. Distinguish the planned launch from a confirmed launch.

Success: the sponsor can identify the rollout decision and its deadline, and every factual claim is supported by the facts above.

What an acceptable answer could look like

Editorial reference answer for this teaching case; not a captured model response or benchmark.

Status: Design is approved. Testing has identified two payment defects. Launch is planned for Friday.

Decision needed: A decision on a limited rollout is needed by Wednesday.

Next action: Confirm the limited-rollout decision by Wednesday. The supplied facts do not specify an action owner or whether the defects have been resolved.

The key improvement in the prompt is a checkable contract. The reference answer preserves the distinction between a plan, a decision request, and a completed event.

Test the prompt against missing information

  1. Run the prompt with the supplied facts.
  2. Check each factual claim against those facts.
  3. Remove “by Wednesday” and run it again. A deadline should no longer be invented.
  4. Replace “design is approved” with “design awaits approval.” The answer must preserve the changed status.
  5. Record the actual outputs and fix the specific failure you observe.

Keep the original and revised prompts, the model name, date, and inputs together. Use the evaluation worksheet to record results. A single good output does not establish reliability.

Use the prompt in a real workflow

Supply the actual files in the AI application you use. A prompt cannot attach a missing document, grant browsing access, or guarantee factual accuracy. Check that confidential material is appropriate to share with the selected application.

Build your own version in the free prompt builder, compare other before-and-after prompt examples, or use the complete meeting-summary workflow.

Keep going