How to write better ChatGPT prompts
ChatGPT is only as good as the question you give it. Four levers do most of the work — role, context, constraints and format. Here's how to pull each one, with before-and-after examples.
Lever 1: give it a role
Opening with a role tells ChatGPT which version of itself to be. "You are a patient math tutor" and "You are a blunt startup advisor" produce very different tones, depth and assumptions from the same question. The role is a shortcut to a whole set of expectations you'd otherwise have to spell out.
how do I price my freelance work
You are an experienced freelance business coach. Walk me through how to set my rates as a freelance UX designer with 3 years of experience, including how to move from hourly to value-based pricing.
Lever 2: add the missing context
ChatGPT can't see your situation. The single biggest upgrade to most prompts is one or two sentences of background: who the output is for, what you've already tried, and what "good" looks like to you. Context turns a generic answer into one that fits.
write a cold email
Write a cold email from me (a freelance videographer) to a local restaurant owner. Context: I noticed they just opened a second location and have no video on their socials. Goal: book a short paid shoot. Keep it warm, specific to them, and under 90 words.
Lever 3: set constraints
Left unconstrained, ChatGPT defaults to medium-length, medium-formal, slightly generic prose. Constraints are how you take control: length, tone, reading level, and — crucially — what to avoid. "No clichés, no exclamation marks, don't invent numbers" removes the most common annoyances in one line.
Negative constraints are underused. Telling ChatGPT what not to do ("don't use the word 'delve', don't pad with a summary paragraph") often improves an answer more than adding another instruction.
Lever 4: name the format
Say exactly how you want the answer shaped and you'll skip a whole round of reformatting. A comparison table, a numbered checklist, a tweet thread, a two-paragraph summary followed by three bullet points — ChatGPT is happy to oblige, but only if you ask.
compare react and vue for a beginner
Compare React and Vue for someone building their first side project. Format as a table with rows for learning curve, job market, ecosystem and documentation, then one short paragraph recommending which to start with and why.
Treat the first answer as a draft
Even a great prompt rarely nails it in one shot, and that's fine. The fastest path to a strong result is a strong first prompt followed by one sharp correction: "cut it to half the length and lose the marketing tone," or "redo the third point — it's too generic, give a concrete example." Iterating is prompting, not a sign the prompt failed.
Get all four levers in one tap
Prompt AI Keyboard rebuilds your rough line with the right role, context, constraints and format for ChatGPT — right inside the app you're typing in.
FAQ
What makes a good ChatGPT prompt?
A clear role, the context the model can't infer, a specific task, constraints like length and tone, and the format you want back. Missing any one of these is the usual reason an answer disappoints.
Should I tell ChatGPT to act as an expert?
Yes, when the domain matters — a role primes the model toward the right vocabulary and depth. For simple factual questions it adds little.
How long should a ChatGPT prompt be?
As long as it needs to carry role, context, task, constraints and format — and no longer. A focused five-line prompt beats a rambling paragraph.