Moss Toolbox
1 min read

How to write a ChatGPT prompt that works

Most prompts fail because the AI has to guess the details. The three parts of a prompt that works.

By Tarlow

On this page
  1. The job
  2. The context
  3. The format

Every day someone pastes a one-line prompt into ChatGPT, gets a vague answer, and decides AI is useless. The prompt is usually the problem, not the AI.

Here is the difference. A weak prompt: “Write a product description.” The AI has to guess the product, the tone, the length, and the reader. Every guess is a chance to be wrong.

A prompt with a job, context, and format: “Write a product description for a handmade leather wallet that holds 8 cards. Tone: simple and warm, like a shop owner talking to a customer. Keep it under 80 words, include the card slots and the two-year guarantee.”

Same AI, different result. It is not magic. It is just telling the model what a human would need to know before doing the job.

The job

What you want it to do, in one clear sentence. “Write”, “summarize”, “rewrite”, “come up with”. If you cannot say the job in a few words, the AI will not be able to either.

The context

Anything it needs to know: what the thing is, who it is for, what matters about it. This is where most prompts lose or win.

The format

Length, tone, structure. “Under 80 words” beats “concise”. “Three options” beats “give me ideas”.

That covers most cases. The rest is checking the output, because the model still invents details when you leave gaps. If you write “leather wallet”, it does not know the card slots exist unless you mention them.

Keep reading