How to Write Better AI Prompts

Turn good prompts into a repeatable system.

Use one repeatable method to turn a rough request into a clearer, reusable instruction. Then test the result, identify what failed, and adapt the prompt for the task and model.

🎯
Build a repeatable prompting system

This guide turns the earlier basics and examples into a method you can reuse. Continue with mistakes and advanced techniques before the LLM deep-dive guides.

Section 1

The 6-element better prompt formula

Each relevant element can reduce a specific ambiguity, but unnecessary or conflicting instructions can make a prompt worse. Use only what the task and evaluation criteria require.

1
Goal
The specific task you want done. Replaces vague verbs with precise actions.
"Write 5 Instagram captions" not "Write social posts"
2
Context
Background information the AI needs β€” your product, brand, situation, or industry.
"For a sustainable clothing brand targeting Gen Z"
3
Audience
Who will read this output. Changes vocabulary, complexity, examples, and tone automatically.
"For busy professionals aged 30–45 with no technical background"
4
Tone
The voice and feel of the output. Without this, the AI defaults to generic neutral.
"Tone: friendly and conversational, not corporate"
5
Format
How the output should be structured β€” type, length, sections, word count.
"5 bullet points, each under 20 words. No intro paragraph."
6
Constraints
Explicit limits that prevent unwanted content and force focus.
"No jargon. No filler. Do not mention competitors."
πŸ’‘
Minimum viable prompt: Goal + Format. Add Context and Audience when the task is specific to your situation. Add Tone, Constraints only when they matter for the output. Start simple and add layers as needed.
Section 2

Basic β†’ Better β†’ Advanced

The same topic at three levels of instruction detail. Each version adds one or more formula elements; the effect varies by task, model, and source quality.

Scroll to see full table on mobile
Basic prompt Better prompt Advanced prompt
Write about coffee Write a 700-word blog post about the health benefits of coffee for busy professionals. Include 5 benefits with H2 headings. Act as a nutrition content editor. Write a search-optimised article on coffee benefits for office workers aged 25–45. Include H2 headings, caution notes, a FAQ, and a CTA. Under 900 words. No promotional language.
Write social media post Write 3 LinkedIn posts for a freelance designer announcing a new logo service. Professional but approachable tone. Act as a B2B copywriter. Write 5 LinkedIn posts for a freelance designer launching a new brand identity service targeting early-stage startups. Use the hook-insight-CTA format. Each post under 150 words. Avoid generic phrases like "excited to announce".
Email customer Write a friendly support email explaining a 2-day refund delay. Under 100 words. End with an apology and a solution. Act as a senior customer experience manager. Write an empathetic support email for a customer whose refund is delayed by 2 days due to a bank processing issue. Acknowledge frustration, explain simply, offer a concrete next step, and include a goodwill gesture. Under 120 words. No corporate filler.
Explain AI Explain artificial intelligence to a complete beginner in 5 bullet points. Use simple language and one real-world analogy. Act as a science communicator. Explain what artificial intelligence is to a 14-year-old with no technical background. Use 3 analogies from everyday life. Avoid the word "algorithm". Format: short intro, 3 analogy blocks, one sentence conclusion. Under 200 words.
Make it shorter Rewrite this paragraph to be 40% shorter. Keep the main argument. Remove filler phrases and passive voice. Act as a senior editor. Rewrite the paragraph below to be exactly 50 words. Rules: keep the central argument, remove all passive voice, cut every sentence that doesn't move the argument forward, keep the original tone. Show the original word count and the new word count.
Upgrade and reuse

Apply focused improvements, build a prompt live, and save the structures that work for repeated tasks.

Section 3

7 techniques to upgrade any prompt

Each technique is a single focused change you can apply to any prompt you already have. Pick the one that fits what you're trying to improve.

Replace vague verbs with precise actions Specificity

Words like "write", "help", "improve", and "explain" are starting points, not instructions. Replace them with exact deliverables β€” what type, how many, how long, in what format.

Before
"Improve my headline"
After
"Rewrite my headline 5 ways to maximise click-through rate. Under 8 words each. Vary the angle: curiosity, benefit, urgency."
Add a role when perspective or tone matters Persona

A role can steer perspective, vocabulary, priorities, and tone. It does not add verified qualifications or knowledge, so use it only when that lens helps and check factual claims independently.

Before
"Write a pricing page"
After
"Act as a conversion copywriter with SaaS experience. Write a pricing page..."
Add a hard length constraint Constraints

Models can be more verbose than the task needs. A relevant word or sentence limit can encourage prioritisation, but overly tight or conflicting limits may omit important content or reduce quality.

Before
"Summarise this article"
After
"Summarise this article in exactly 3 sentences. Each sentence must stand alone as a useful insight."
Add explicit exclusion rules Quality

Exclusion rules can prevent predictable style problems such as generic openings, jargon, filler phrases, or hollow enthusiasm. Keep the list short and make sure exclusions do not conflict with required content.

Before
"Write a cold email"
After
"Write a cold email. Do not open with 'I hope this email finds you well'. No jargon. No passive voice. No filler sentences."
Give one example of what you want Few-shot

A relevant example can communicate a pattern that is difficult to describe. Use representative examples, remove sensitive data, and check that the model has not copied unwanted wording or errors β€” or adapt one from these AI prompt examples.

Before
"Write a tweet in my style"
After
"Write a tweet in this style: 'Most productivity advice ignores the real problem: you don't have too many tasks. You have too many priorities.' Now write 3 more on the topic of focus."
Refine with surgical follow-up instructions Iteration

When a draft has useful parts, use precise follow-up instructions to say what to keep and what to change. Restart or change sources when the draft is built on a false premise or unreliable evidence.

Too vague
"Make it better"
Surgical
"Rewrite only the second paragraph. Make the opening sentence more direct. Cut the last sentence entirely."
Ask for reasoning, not just output Accuracy

For analytical or strategic tasks, provide explicit criteria and ask for assumptions, trade-offs, a concise rationale, and a verification checklist. Some reasoning models prefer direct goals over "think step by step", so follow model-specific guidance.

Before
"Which pricing model should I use?"
After
"Compare flat-rate and usage-based pricing for a B2B SaaS against revenue predictability, customer simplicity, cost-to-serve, and expansion potential. State assumptions, then give a recommendation with a concise rationale."
Section 4 β€” Interactive

Live prompt builder

Fill in any combination of fields and watch a structured prompt assemble in real time. Copy it directly into any AI.

Generated prompt
Fill in any field above to see your prompt build here…
Section 5

Build your prompt library

A useful AI productivity habit is to save prompts that perform well on representative tasks. Record the model, date, inputs, and quality criteria because prompts can behave differently after model or product changes.

πŸ“
How to build it: Copy the prompt. Replace specific details with [placeholders]. Organise by category. A tested prompt library can reduce repeated drafting work; the actual saving depends on usage frequency and review effort.

Example library categories

Writing
Blog post template
Your go-to structure for any blog post. Fill in topic, audience, word count.
Email
Cold outreach
A reusable cold-email template. Personalise the opening, evidence, and goal each time, and test it against your audience.
Analysis
Competitor analysis
SWOT and positioning analysis structure. Works for any competitor pair.
Social
LinkedIn post batch
Your brand voice + hook-insight-CTA structure. Change topic each session.
Productivity
Meeting notes β†’ actions
Can turn meeting notes into a draft list of decisions, actions, and open questions; verify it against the original notes.
Code
Code review checklist
Senior engineer persona + 5-point review structure. Works for any language.
You are my personal prompt librarian. I will paste a prompt that produced excellent output. Your job: convert it into a reusable template. Replace all specific details with [PLACEHOLDER] labels. Organise it with a title, category tag, and a one-line description. Then suggest 2 variations for different use cases. Prompt to convert: [paste your prompt here]

Use this meta-prompt to turn a useful prompt into a reusable starting template, then test it on representative inputs.

FAQ

How do I know if a prompt is good?
A good prompt produces useful, relevant, and repeatable output. If you run the same prompt three times and get consistent, usable results β€” it is a good prompt. Inconsistency usually means the prompt is underspecified in at least one element.
How many formula elements should I use?
At minimum: Goal and Format. Ideally add Context and Audience when the task is specific to your situation. Tone and Constraints are needed only when they materially affect the output. You do not need all six every time β€” use what the task requires and no more.
What is a prompt template?
A prompt template is a reusable prompt structure with [placeholders] for the parts that change between uses. Templates save time, ensure consistency, and allow you to build a library of proven prompts for recurring tasks. The more you build, the faster your AI work gets.
How do I build a personal prompt library?
Every time a prompt produces an excellent result, save it. Replace the specific details with [placeholders]. Store them in a simple document or note-taking app organised by category β€” writing, email, analysis, social, code. Over time this becomes your most valuable productivity asset.
Does the AI tool matter for prompt quality?
Less than most people think. A well-structured prompt produces significantly better output from any tool. The technique matters more than which AI you choose. That said, some tools suit specific tasks β€” Claude for long-form writing and reasoning, Perplexity for research, ChatGPT for general tasks, Grok for current news.
Continue learning

Related Prompting Guides

Strong prompts become easier to reuse when you keep a library of structures that performed well in your own tests. Revisit AI prompt examples and adaptable templates whenever you want templates you can adapt and evaluate.

Build your prompt library next

Take everything from this series and put it into practice. Next, create a structured prompt with a generator, then apply it in a workflow such as marketing, website building, studying, or business communication.

Share this guide

Add PromptingEasy to your screen

Use your browser menu and choose the option to install this site or add it to your home screen.