What goes into a useful prompt?
Start with the task: what should the model do? Add the context it needs, such as the text to summarize or the audience for an explanation. State any limits and describe the output format.
For example, “summarize this” leaves important decisions open. “Summarize the supplied note for a new team member in three bullets; include the deadline and do not add facts” gives a clearer target.
A prompt engineering example: before and after
Suppose your source note says: “The workshop is Friday at 2pm. Bring a laptop. Registration closes Wednesday.” A vague request is “write a reminder.” A more specific request defines the audience, required facts and length; the full practice prompt is below.
Evaluate the result by checking Friday at 2pm, the laptop requirement and Wednesday's registration deadline. Also check whether the response invents a location or other details. This is an illustrative exercise, not a measured comparison of model performance.
How to test and improve a prompt
Decide what success looks like before revising the prompt. Keep a few representative inputs and check the output for factual accuracy, required details and format. Try the same task more than once when consistency matters.
When a response fails, identify the failure before rewriting. Missing facts may call for clearer source material; a wrong format may call for a concrete example. Compare revisions under similar conditions so the result tells you something useful.
Prompt engineering, fine-tuning and retrieval
Prompt engineering changes the instructions and context supplied to a model. Fine-tuning changes model parameters through additional training. Retrieval adds relevant information from a separate source to the model's context.
These methods solve different problems and can be combined. A clearer prompt cannot supply facts that the model has never been given, and a detailed instruction does not guarantee that every answer will be correct.
Practice with a small, checkable task
Choose a task where you can judge the answer yourself, such as extracting dates from a short note or following a word limit. Keep a simple record of the prompt, response and what you changed.
An AI challenge adds a fixed objective and game rules to this practice. On J.A.R.V.I.S, read the task briefing and attempt cost first, then review the published result rather than treating an AI claim as a confirmed win.