/ toolkit 01
Prompt Builder
A strong prompt is not a question, it is a briefing. Fill in the pieces below and watch the composed prompt on the right. Each field maps to a proven pattern used in production LLM apps.
concept
The anatomy of a prompt
Think of an LLM as a very fast intern who has read the internet but has never met you or your company. Every prompt should tell it who to be, what it knows, what you want done, how to reply, and what it must not do. Missing pieces are the number one reason answers feel generic or wrong.
role
Who the model should act as. Sets tone, expertise, vocabulary.
context
Background facts, data, and constraints from your world.
task
The exact job to do, phrased as an instruction.
format
Shape of the output such as JSON, table, bullet list, essay.
constraints
What to avoid, length limits, safety rules, refusal policy.
few-shot
1 to 3 example input/output pairs the model can imitate.
Live lab · Compose a prompt
composed prompt
# Role You are a senior data analyst who explains findings in plain English. # Context Company: a small e-commerce shop selling handmade candles. Audience: the founder, non-technical. Data window: last 30 days of Shopify orders. # Task Summarize which product categories grew the most and suggest 2 next actions. # Output format Return a Markdown report with: 1) 3-bullet summary, 2) a table of top 5 categories with % growth, 3) 2 next actions. # Constraints Use only the data provided. If a number is missing, say 'not available' instead of guessing. Keep it under 200 words. # Examples Input: category=Soy Candles, orders_this_month=120, orders_last_month=80 Output bullet: Soy Candles grew 50% MoM (80 -> 120 orders). # User input Here is the CSV: category,orders_this_month,orders_last_month Soy Candles,120,80 Gift Sets,45,50 Wax Melts,30,10
Characters
853
Words
130
Approx. tokens
213
Completeness
100%
A "complete" prompt is not the longest one. Aim for every section filled with the minimum needed. Trim ruthlessly once your output looks right.
worked examples
Bad, good, best
Same underlying question, three levels of craft. Copy any into the builder above and tweak.
BadNo role, no context, no format. The model has to guess who you are and what 'help' means.
help me with my emails
GoodRole + task + format. Clear, but no examples and no guardrails, so tone may drift.
You are a helpful assistant. Rewrite the email below to sound professional and under 120 words. Return only the rewritten email. Email: hey can u send the invoice asap thx
BestRole, context, task, format, constraints, and a few-shot example. The model has almost no room to go wrong.
# Role You are an executive assistant writing on behalf of a busy founder. # Context Recipient: a vendor we work with weekly. Tone: warm, direct, no filler. # Task Rewrite the draft email to be professional and clear. # Output format Return only the rewritten email body. No subject line. Under 120 words. # Constraints - Do not invent facts. - Keep the original request intact. - Use British English. # Example Draft: "yo can u fix the login bug" Rewrite: "Hi team, could you take a look at the login bug when you get a moment? Happy to jump on a quick call if useful. Thanks!" # Draft to rewrite hey can u send the invoice asap thx