Iro AI Blog
How to write a good AI prompt: a step-by-step guide
A good prompt has four parts: context, role, task, and format. Add those, then refine the first answer. Here's the simple recipe, with before-and-after examples you can copy.
Iro AI Blog
A good prompt has four parts: context, role, task, and format. Add those, then refine the first answer. Here's the simple recipe, with before-and-after examples you can copy.
A good prompt gives the AI four things: context, a role, a clear task, and the output format you want. Most weak answers come from skipping these — the model has to guess what you mean. Add them and you'll get sharp, useful results from ChatGPT, Claude, Gemini, or any other tool. Then treat the first answer as a draft and refine it.
You won't need all four every time, but the more ambiguous the task, the more they help. This is the heart of prompt engineering.
Weak: write a post about our new feature
You'll get something generic, because the AI is guessing the audience, tone, length, and the feature itself.
Good: You are a product marketer. Write a LinkedIn post (under 120 words, confident but not hypey) announcing our new AI feedback feature for our app that helps people learn AI. Audience: busy professionals. End with a question to drive comments.
Same model, dramatically better output — because it now has context, a role, a task, and a format. For more reusable structures, see the 7 prompt patterns that work everywhere.
Iro AI turns ideas like the ones in this post into 5-minute exercises with feedback. Free tier, Pro from $0.96/week ($49.99/year, 7-day free trial).
The first answer is a draft, not the deliverable. Improve it with quick follow-ups:
Two or three rounds of this beats hunting for a perfect one-shot prompt.
Being vague. "Make it better" gives the model nothing to aim at — say what "better" means. Skipping context. The AI can't read your mind about audience or constraints. Accepting the first draft. Iterating is where the quality comes from. Chasing magic words. There aren't any — clarity beats tricks. If your prompts keep underperforming, see why your AI prompts aren't working, and practice hands-on in the Prompt Lab.
Iro AI turns ideas like the ones in this post into 5-minute exercises with feedback. Free tier, Pro from $0.96/week ($49.99/year, 7-day free trial).
Give the AI four things: context (the background), a role (who it should act as), a clear task (what to do), and the format you want (length, structure, tone). Then treat the first answer as a draft and refine it with quick follow-ups.
A reliable formula is Context + Role + Task + Format: tell the AI the situation, who to be, exactly what to do, and how you want the answer. The more ambiguous the task, the more these matter.
Usually the prompt is too vague or missing context and a clear format. Add who it's for, the constraints, and exactly what 'good' looks like, then iterate on the first answer instead of starting over.
Mostly yes. The context-role-task-format structure works across all major AI tools. You tune small details per model, but the core recipe transfers.