AI

How to Write Better AI Prompts: A Beginner's Guide

How to Write Better AI Prompts: A Beginner's Guide

Why Your Prompt Is Almost Always the Problem

When an AI gives you a bad answer, most people assume the AI is not smart enough. In most cases, the AI is capable of giving you exactly what you need. The problem is that the question was too vague, too broad, or missing critical context for the AI to generate a useful response.

Think of it this way: if you asked a brilliant but context-blind assistant to "write something about investing," you would get a generic answer. If you asked the same assistant to "write a 200-word plain-English explanation of what a price-to-earnings ratio is, aimed at someone who just started investing and has no accounting background," you would get something genuinely useful.

The quality of the output is almost entirely determined by the quality of the input. This guide gives you a simple framework for writing prompts that consistently produce better results.

The Four Elements of a Good Prompt

Every effective prompt contains some combination of four elements: role, task, context, and format. You do not need all four in every prompt, but including more of them almost always produces a better output.

Role tells the AI what perspective to take. "Act as an experienced financial analyst" or "explain this as if I am a complete beginner" both shape the register, depth, and assumptions of the response. Task is the actual thing you want the AI to do: explain, summarise, compare, calculate, write, critique. Be precise about the verb. Context gives the AI the background it needs: who you are, what you already know, what decision you are trying to make, any constraints. Format tells the AI how to structure the output: bullet list, numbered steps, paragraph form, table, short or long.

Give Context First

The most common mistake beginners make is jumping straight to the question without any context. "What is a good investment?" tells an AI almost nothing about your situation, goals, timeline, risk tolerance, or existing knowledge. The result is a generic answer that may be technically correct but useless for your specific situation.

Before you ask your actual question, spend two or three sentences giving the AI relevant context. "I am 28, based in India, with a stable job and no dependents. I have been investing in mutual funds for two years and want to start researching individual stocks. I have about three hours a week to spend on research." Now any follow-up question will produce an answer calibrated to your actual situation.

You can also set context at the start of a session and then ask multiple questions within it. The AI retains the context through the conversation, so you do not need to repeat yourself each time.

Be Specific About the Output

Vague task descriptions produce vague outputs. "Tell me about index funds" is far less useful than "Compare Nifty 50 index funds and Nifty 500 index funds. Tell me the key differences in what they hold, how they have performed historically, and which type would be better suited to a 20-year investment horizon. Keep your answer under 300 words."

The second prompt specifies the comparison object, the dimensions of comparison, the relevant time frame, and the output length. The AI has almost no room to give you a generic answer. It has to address exactly what you asked.

If you want a list, ask for a list. If you want numbered steps, say so. If you want the AI to be opinionated rather than balanced, say "give me your honest recommendation, not a balanced view." If you want the AI to flag uncertainty, say "tell me where you are not sure rather than presenting everything with equal confidence."

Iterate, Do Not Start Over

One of the most powerful things about AI conversation is that you can iterate. If the first answer is not quite right, do not start a new chat. Push back in the same conversation. "That answer was too generic. Can you give me a more specific example?" or "The second point was the most useful. Can you expand on that?" or "You said X, but I have heard the opposite. Which is correct and why?"

The AI will refine its response based on your feedback. This back-and-forth is often where the most useful outputs come from. Treat it as a conversation with a very knowledgeable colleague rather than a search engine query.

Common Mistakes and How to Fix Them

Asking multiple questions in one prompt usually produces a shallow answer to each. Instead, ask one question at a time and go deep before moving to the next. Accepting the first response without pushing back leaves a lot of value on the table. Get into the habit of asking at least one follow-up for every substantive answer.

Not specifying the audience leads to answers that are either too technical or too basic. Always say who the explanation is for. Using AI to confirm what you already believe is a waste of its capabilities. The most valuable thing you can do is ask it to challenge your assumptions or argue the opposite case from your current view.

Finally, treating AI outputs as facts without verification is a risk in any domain where current or precise information matters. AI is excellent at reasoning, explaining, and helping you think. For facts that need to be current and accurate, always verify with a live source before acting.