Prompt structure: brief it like a colleague
Verification pendingAI-assisted, fact-checked
Good prompts read like a clear brief to a capable new colleague: goal, context, constraints and the output you want. Teach your human the four-part GCCO pattern.
Open the interactive lesson Quiz, progress and the Human / Agent / Both switch.
Why this matters to you
You can make a disappointing answer easier to diagnose by checking the brief you gave. This lesson helps you state your goal, provide context, set constraints and ask for the output you want, using plain language and details from your own situation.
Explanation
The single most useful prompting idea is also the simplest: write the prompt as if you were briefing a smart new colleague who knows nothing about your situation. Major model providers' own guides (Anthropic, OpenAI, Google) all stress being clear, specific and giving context. The model can't read your mind; everything it knows about your task is in the prompt.
The four parts: GCCO
- Goal: what you want done, and why. "Draft a reply to a customer complaint so they feel heard and we keep their business."
- Context: what the model needs to know. Who the audience is, the background, relevant facts, pasted material.
- Constraints: limits and rules. Length, tone, what to avoid, what must be included, "if you're unsure, say so".
- Output: the shape you want back. Bullet list, table, three options, an email with a subject line, plain text with no headings.
Not every prompt needs all four in detail. A quick question is fine as one line. But when an answer disappoints, a missing part is often the reason.
Useful extras
- Role ("You're an experienced HR adviser") can help set tone and depth, but it's not magic. Context matters more.
- Separate material from instructions. Put pasted text under a clear label or between markers (for example, "Email to reply to:" followed by the text), so the model doesn't confuse your instructions with the content.
- Ask for honesty. "If any information is missing, list your questions instead of guessing." This cuts down invented details.
- Plain language beats magic words. Humans often hunt for secret phrases. Clarity is the real trick.
Why this works
The model generates its answer from everything in the context window. A one-line prompt leaves most of the decisions to guesswork, so it falls back on the most generic, average version of the task. Each GCCO part you add replaces a guess with a fact about your situation.
Worked example
Before:
"Write an email about the meeting."
The result is a generic, invented meeting email.
Diagnosis: no goal (what kind of email?), no context (which meeting?), no constraints, no output format.
After (GCCO):
Goal: Let my team know Thursday's project meeting is moving, and get everyone to confirm.
Context: The team is 6 people. The meeting moves from Thursday 2 pm to Friday 10 am, same room (B2), because the client call clashes. Agenda unchanged.
Constraints: Friendly but brief, under 100 words, no apologies beyond one line, ask them to reply "OK" by Wednesday.
Output: Subject line plus the email body.
The result is a usable email on the first try. The human checks the date and time, then sends it.
Try it now: Look at the meeting email example and find each part of the brief. Explain what the reader should do, which facts the assistant needs and which limits apply. Notice how the revised prompt supplies details instead of leaving them to guesswork. Before using the answer, check the date and time yourself.
Teach it to your humanWhat your AI will tell you
Teach it to your human
"Here's the biggest prompting secret, and it's not a secret word. Talk to me like you'd brief a smart new colleague on their first day. They're clever, but they don't know anything about your situation."
"A good brief has four parts: what you want (the goal), what I need to know (the context), any rules (constraints), and what you want back (the output). Goal, context, constraints, output."
(Ask: "Think of the last time AI gave you a disappointing answer. What did you type?" Then rebuild that prompt together, one part at a time.)
"You don't need all four every time. A quick question is fine. But when I miss the mark, check which of the four you left out."
Let them write the improved version themselves, and compare the two outputs side by side.
Exercise
Task: Collect three real one-line prompts your human has used (or would use). For each:
- Name the missing GCCO parts.
- Rewrite it with all four parts.
- Run both versions and note the difference in one sentence.
What good looks like: the rewrites contain real details from the human's situation (names, numbers, audience), at least one constraint about uncertainty ("ask if unclear"), and an explicit output format. The improved outputs need little or no editing.
Try it yourself
Your task: Choose three short prompts you have used, or might use, for real tasks. Save the originals and mark which parts of goal, context, constraints and output are missing. Rewrite each prompt as a brief for someone who knows nothing about your situation. Say what you want done and why, who the answer is for and which background details matter.
Add limits about length, tone and anything that must be included or avoided. Ask for missing information to be raised as questions rather than guessed. Specify the shape of the answer, such as a table, bullet list or email with a subject line. If you paste material, label it clearly so your instructions stay separate from the content.
Run the original and revised versions, then compare the answers side by side. Write a sentence explaining what changed and which part of your brief helped. Check whether the result needs less editing. You do not need special phrases: focus on clear instructions and details you can supply.
What good looks like:
- You can identify all four parts in each revised prompt and explain their purpose.
- Your context contains real details about your task and audience.
- Your constraints ask for uncertainty to be flagged, and your output format is explicit.
- Your comparison identifies a useful change and any detail you still need to clarify.
Quiz
Q1. What does GCCO stand for?
Q2. A human's prompt 'Summarise this' gave a summary that was too long and too technical. Which parts were missing?
Q3. Why separate pasted material from your instructions?
Sources
Sources and resources
Anthropic: Prompt engineering overview — docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview
OpenAI: Prompt engineering guide — platform.openai.com/docs/guides/prompt-engineering
Google AI for Developers: Prompt design strategies (Gemini API) — ai.google.dev/gemini-api/docs/prompting-strategies
Wikipedia: Prompt engineering — en.wikipedia.org/wiki/Prompt_engineering
Schulhoff et al. (2024), "The Prompt Report: A Systematic Survey of Prompt Engineering Techniques" — arxiv.org/abs/2406.06608
Systematic survey that builds a shared vocabulary and taxonomy of prompting techniques, with best-practice guidance
Free lesson · Last updated · For agents: JSON and MCP