top of page

OUR RECENT BLOG POSTS

The Prompt Formula: How to Write Prompts That Get Better Answers from Claude

Writer: Shazia Kanwal Malik
Shazia Kanwal Malik
58 minutes ago
13 min read

The prompt formula is a simple four-part structure that helps you get better answers from Claude: who you are, the task, the detail, and the answer format. When you give Claude clear context, a specific task, enough detail, and a clear format, the answer is more accurate, more useful, and much closer to what you actually wanted. Most weak answers from Claude are not caused by the model — they are caused by vague prompts that leave Claude guessing about your goal.


What Is the Prompt Formula for Claude?


The prompt formula is a repeatable way of writing instructions for Claude so that every request contains the information Claude needs to do good work. It has four parts: Who You Are, The Task, The Detail, and Answer Format. Each part answers a different question that Claude would otherwise have to guess. Who You Are tells Claude your role, your audience, and your level of knowledge. The Task tells Claude exactly what to do. The Detail gives Claude the facts, limits, examples, and background it needs. Answer Format tells Claude how the result should look, how long it should be, and how it should be organised.


Think of the formula as a brief you would give to a skilled human colleague. You would not walk up to a colleague and say "write something about marketing" and expect a perfect result. You would say who the work is for, what you need, what must be included, and how it should be presented. Claude works in the same way. The more clearly you brief it, the better the output. The formula does not make prompting complicated. It makes prompting complete, so you stop going back and forth with corrections and get a usable answer in the first or second try.


The formula works for almost every kind of work Claude can do. It works for writing, planning, analysis, coding, learning, research, and everyday questions. It works whether you are a beginner who has never used an AI assistant before or an experienced user who writes long prompts every day. It also works across the different Claude models, from the fast Haiku 5.5 to the most powerful Fable 5.2, because the quality of the input shapes the quality of the output on every model. If you learn only one prompting skill, learn this formula.

Why Do Most Prompts Fail to Get Good Answers?


Most prompts fail because they are too short, too vague, or missing one of the four parts of the formula. A prompt such as "write an email" gives Claude almost nothing to work with. Claude does not know who the email is for, what it is about, what tone to use, or how long it should be. It has to invent all of those details, and the invented details are rarely the ones you wanted. The result feels generic, and you spend more time fixing it than you would have spent writing it yourself.


Another common failure is asking for too many things at once without separating them. A prompt that says "research this topic, write a blog post, make a social media caption, and design a logo" asks Claude to do four different jobs in one reply. Each job gets less attention, and none of them is done well. The formula helps here too, because it forces you to name one clear task. If you have four tasks, write four prompts, or ask Claude to do them one at a time in the same conversation.


A third failure is giving Claude the wrong kind of detail. Some people give no detail at all, while others paste a huge block of text with no guidance about what matters in it. Both approaches waste Claude's ability. The right approach is to give the detail that changes the answer: the audience, the purpose, the key facts, the constraints, and one good example of what you like. Detail that does not change the answer is noise. Detail that changes the answer is the most valuable part of your prompt.

What Is the First Part: Who You Are?


Who You Are is the context that tells Claude your role, your situation, and your audience. It answers the question "who is asking, and who is this for?" For example, "I am a small business owner in Pakistan who sells handmade soap online" is very different from "I am a university student writing an assignment on marketing." The same task — "write a product description" — needs a completely different answer for each person. When Claude knows who you are, it can choose the right words, the right level of detail, and the right examples.


This part can be short. One or two sentences are usually enough. You can say your role, your industry, your audience, and your experience level. You can also say what you are not: "I am not a programmer, so explain this in plain English" is a very useful instruction. Claude adjusts its language when it knows your level. A beginner gets simple explanations and step-by-step guidance. An expert gets concise, technical answers without unnecessary background.


You can also save this part for repeated use. If you use Claude often, tell Claude about yourself once in the settings, or set it up in a project, so you do not have to repeat it every time. That is one reason Claude Memory and Projects: How Claude Remembers Your Work matters so much for regular users. When Claude already knows who you are, your daily prompts can be shorter, because the first part of the formula is already in place. You still need the task, the detail, and the format, but you do not need to reintroduce yourself in every message.

What Is the Second Part: The Task?


The Task is the single clear action you want Claude to perform. It should be a verb with a clear object: write, summarise, explain, compare, plan, edit, translate, analyse, or brainstorm. A good task is specific enough that you could tell whether Claude did it or not. "Write a 300-word introduction for a blog post about indoor plants for beginners" is a clear task. "Do something about plants" is not a task at all.


The task should also name the deliverable. Are you asking for a draft, an outline, a list, a plan, a script, or an explanation? Each one is a different kind of output, and Claude needs to know which one you want. If you ask Claude to "help with my presentation" without saying what kind of help, Claude may give you general advice when you actually wanted slides, or slides when you actually wanted speaker notes. Naming the deliverable removes that confusion.


One task per prompt is the safest rule. If your work has several steps, you can still use one conversation and ask for the steps in order. For example, first ask Claude to outline an article, then ask it to write the first section, then the next. This step-by-step approach gives you control at each stage, and it usually produces better work than asking for everything in one giant reply. Claude's ability to keep context in a conversation makes this easy: each new message builds on the last one.

What Is the Third Part: The Detail?


The Detail is the information Claude needs to complete the task correctly. It includes the facts, the background, the constraints, and the examples that shape the answer. This is the part most people skip, and it is the part that makes the biggest difference. Without detail, Claude gives a general answer. With good detail, Claude gives an answer that fits your exact situation.


Useful detail includes the audience, the purpose, the tone, the length, the key points that must be included, and anything that must be avoided. For example, if you are writing for school students in Pakistan, say so. If the tone should be friendly and simple, say so. If the answer must avoid technical jargon, say so. If there is a deadline, a budget, a word limit, or a rule that must be followed, include it. Constraints are not restrictions on Claude's creativity — they are the boundaries that make the answer usable.


Examples are one of the strongest forms of detail. If you show Claude one example of the style you like, it can match that style far better than any description of the style. You can paste a paragraph you like and say "write in this style" or "match this tone." You can also show Claude an example of what you do not want. A single good example often does more work than a whole paragraph of instructions. When you have a previous document, a past email, or a sample answer, attach it or paste it into the prompt and refer to it clearly.

What Is the Fourth Part: Answer Format?


Answer Format tells Claude how the result should be structured and presented. It covers the layout, the headings, the length, the language, and any special features such as bullet points, tables, numbered steps, or a summary at the end. Without a format instruction, Claude chooses a format for you, and that format may not suit your purpose. A format instruction turns a good answer into a ready-to-use answer.


Format instructions can be very simple. "Give me five bullet points" is a format. "Write it as a table with two columns" is a format. "Start with a one-paragraph summary, then give three headings with short paragraphs under each" is a format. "Write it in plain English, at a level a 14-year-old can understand" is both a format and a style instruction. The clearer the format, the less editing you need to do afterwards.


Format also includes length. Claude cannot guess how long you want an answer to be. If you want a short reply, say "in under 150 words." If you want a detailed guide, say "about 1,500 words with headings." Length instructions are especially important for articles, reports, and documents. Without them, you may get a short overview when you needed a full guide, or a long essay when you needed a quick summary. For longer documents, you can also ask Claude to create an artifact, as explained in Claude Artifacts Explained: Apps, Websites, Documents and More.

How Do You Put the Four Parts Together?


Putting the four parts together is simpler than it sounds. You do not need to label them in your prompt, and you do not need to write them in a rigid order, although the order Who You Are, Task, Detail, Format is a good default. You simply make sure all four are present before you send the message. A complete prompt might read: "I am a teacher preparing a lesson for O Level students in Pakistan. Write a 400-word explanation of photosynthesis. Include the role of chlorophyll, sunlight, water, and carbon dioxide. Use simple English, short paragraphs, and a bullet list of key terms at the end."


That prompt is only a few sentences long, but it contains everything Claude needs. It says who is asking, what the task is, what must be included, and how the answer should look. Compare that with "explain photosynthesis" — the same topic, but a far weaker prompt. The first prompt will produce a lesson-ready explanation. The second will produce a general answer that may be too advanced, too long, or too short for your students.


You can also build the prompt in stages inside the conversation. Start with the task, see the first answer, and then add detail and format in follow-up messages. Claude remembers the conversation, so you can refine the result step by step. This is often the best way to work on creative or complex tasks, because you can react to what Claude produces and guide it towards the version you want. The formula still applies — you are simply spreading the four parts across several messages instead of putting them all in the first one.

How Can You Ask Questions So Claude Works More Efficiently?


One of the most useful habits in prompting is asking Claude to ask you questions before it starts. If your request is complex or you are not sure what detail Claude needs, add a line such as "Ask me any questions you need before you start, so you can do this work efficiently." This turns Claude from a passive answer machine into an active collaborator. It will ask about your audience, your goal, your constraints, and anything else that is missing.


This technique is especially valuable when you are starting a large project, such as a business plan, a research report, or a website. Claude may ask three or four focused questions that reveal gaps in your own thinking. Answering those questions improves your brief and improves the final result. It also saves time, because Claude does not waste effort on a version built on wrong assumptions.


You can also ask Claude to confirm its understanding before it writes a long answer. For example, "First, summarise what you think I am asking for, and wait for my confirmation before you write the full document." This is a good safety check for important work. It takes one extra message, but it prevents a long, wrong answer that you would have to discard. For research-heavy work, the same habit pairs well with Claude Deep Research: Cited Reports on Any Topic, where a clear brief makes the research far more useful.

What Are Common Prompting Mistakes to Avoid?


The most common mistake is being vague about the goal. Words like "good," "nice," "better," and "interesting" mean different things to different people. If you want a formal tone, say formal. If you want a funny tone, say funny. If you want a persuasive answer, say what the reader should do after reading it. Replace vague adjectives with concrete instructions, and Claude will have something real to aim for.


Another mistake is giving contradictory instructions. "Make it short but cover everything in detail" is a contradiction. "Use simple language but include advanced technical terms" is also a contradiction. When instructions conflict, Claude has to choose one and ignore the other, and it may choose the wrong one. If you notice a contradiction in your own prompt, resolve it before you send it. Decide what matters most and say so clearly.


A third mistake is never checking or correcting the answer. Claude can make mistakes, misunderstand a detail, or invent a fact. The prompt formula reduces those risks, but it does not remove them. Always read the answer, check important facts, and tell Claude what to fix. Phrases such as "make the introduction shorter," "add an example here," or "this part is wrong — the correct figure is X" are part of good prompting. Prompting is a conversation, not a single command, and the best results usually come after one or two rounds of feedback.

How Should You Write Prompts for Different Kinds of Work?


Different kinds of work need different emphasis within the formula. For writing tasks, the format and tone matter most. Say who the reader is, what style you want, and how long the piece should be. For analysis tasks, the detail matters most. Give Claude the data, the document, or the facts to analyse, and say what question the analysis should answer. For learning tasks, your level matters most. Say what you already know and what confuses you, so Claude can explain at the right level and focus on the gap in your understanding.


For coding tasks, the task and the detail matter most. Say what the code should do, what language or tool to use, and what the input and output should look like. If there is an error, paste the error message and the relevant code. Claude can debug far better when it can see the actual error than when you only describe it in general terms. The same principle applies to every kind of work: show Claude the real material, not just a description of it.


For creative work, such as brainstorming or story writing, give Claude a clear direction but leave room for variety. Say how many ideas you want, what kind of ideas they should be, and what to avoid. Then ask for more variations on the ideas you like best. Creative prompting works best as a loop: generate, choose, refine, and generate again. The formula gives the loop a clear starting point, and your feedback steers it towards the result you want.

Can You Use Templates and Examples to Prompt Faster?


Yes, and templates are one of the best ways to make the formula a habit. Once you have a prompt that works well for a repeated task — for example, writing a product description, summarising a meeting, or drafting an email — save it as a template and reuse it. Replace only the details that change each time. This saves time and gives you consistent results. You can keep templates in a document, in a Claude project, or in your notes app.


Examples work in the same way. Keep one or two examples of your best work — a well-written email, a good report, a clear explanation — and paste them into prompts when you want Claude to match that quality. Claude learns style from examples far faster than from descriptions. This is also how Claude Skills: Teach Claude Your Repeated Tasks works at a deeper level: you give Claude a set of instructions and examples once, and it applies them every time you use that skill.


Over time, your templates will improve. You will notice which instructions help and which ones do not, and you will refine them. You will also learn which parts of the formula you tend to skip, and you can add a reminder to yourself to include them. Good prompting is a skill, and like any skill, it improves with practice and reflection. The formula gives you a structure to practise with, so every prompt becomes a small lesson in what works.

How Do You Know If Your Prompt Worked?


You know a prompt worked when the answer needs little or no editing before you can use it. The tone is right, the facts are right, the length is right, and the format is ready to copy, print, or publish. If you find yourself rewriting most of the answer, the prompt probably missed one of the four parts. Look back at your prompt and ask which part was weak. Was the audience unclear? Was the task vague? Was the detail missing? Was the format unspecified? Fixing that part usually fixes the next answer.


You can also judge a prompt by how many follow-up messages it needed. A good prompt often needs only one small correction. A weak prompt needs many rounds of fixing. That is not a failure — it is useful feedback. Each round tells you what Claude misunderstood, and that tells you what to add to the next prompt. Over time, you will need fewer rounds, because you will have learned to include the right information the first time.


Finally, remember that prompting is not about tricking Claude or finding secret words. It is about clear communication. The prompt formula is simply a checklist for clear communication: say who you are, say what you want, give the detail that matters, and say how the answer should look. Do that consistently, and Claude will give you better answers, faster, with less editing — whether you are writing, learning, planning, or building.


Need help using Claude for your business, your studies, or your content? eNeWix can help you set up Claude, write better prompts, and turn AI into real work for your business. Call or WhatsApp 03217083938 or email shaziakanwalmalik@gmail.com to get started.

Comments


bottom of page