10 Effective AI Prompting Techniques to Get the Results You Need

Daniel
19 Min Read

Ever asked an AI to make something, only to get an answer that wanders all over the place? We want a simple recipe, and it hands us a full restaurant menu. We ask it to explain a school lesson for a child, and the answer is so full of jargon it makes our foreheads wrinkle, haha. Usually the problem isn’t the AI. It’s how we asked.

That’s where effective AI prompting comes in. A prompt is the instruction or material we give an AI. Effective AI prompting means writing prompts that spell out the goal, context, audience, format, and limits clearly, so the result fits what we need and is easy to check. The principles work in ChatGPT, Gemini, and Claude alike.

Well, giving a prompt is a lot like briefing a new member of our team. If all we say is “please make a report,” we could get just about anything. But if we explain who the report is for, what material to use, what shape it should take, and when it’s due, the result fits far better.

A quick honest note: there’s no magic sentence that guarantees an AI’s answer will always be right. A clear prompt simply makes the result easier to steer and easier to check. So what should we pay attention to? There are at least ten techniques, and for each one I’ve included the prompt structure and a complete example. Let’s go through them one by one.

Start effective AI prompting with a clear goal

Effective AI prompting starts with a clear goal, illustrated by a target and documents

A clear goal is the foundation of a good prompt, so first decide whether we need ideas, a summary, a comparison, a draft, or input for a decision. A word like “good” also needs a yardstick: good according to whom?

For complex tasks, break the work into stages: outline first, content next, then a review. That way, we can correct the direction before the AI has already written pages and pages.

Prompt structure: Task + Goal + Format + Required closing.

Full example prompt: “Draft an email to a vendor asking for the latest delivery schedule. The goal is to get a firm delivery date and an explanation of the problem. Use polite language, 150 words maximum. End by asking for a reply before Friday at 3:00 p.m. WIB.”

For learning, the goal can be understanding the material rather than just getting a ready-made answer: “Help me understand fractions through three exercises, from the easiest to the more difficult. Don’t give me the answers right away; give me hints after I’ve tried to answer.”

Provide context and material that truly matter

Reference documents and puzzle pieces completing the context before a task is given to an AI

Relevant context helps an AI understand our situation, because it knows nothing we haven’t told it. Share the information that affects the result, such as ingredients, time, budget, equipment, skill level, and taste, instead of dumping every document at once.

Prompt structure: Context + Ingredients and tools + Task + Output format + If something is missing.

Full example prompt: “I want to cook for two people in 30 minutes. I have eggs, tofu, carrots, rice, and one frying pan. Suggest two dishes that aren’t spicy, then explain the cooking steps as a numbered list. If extra ingredients are needed, ask me first.”

When there’s a lot of material, separate it with labels such as “Context,” “Data,” and “Task.” Make it clear that the document is material to analyze, not new instructions, because commands inside it may otherwise be read by the AI as directions. Google’s prompt design guide for Gemini also stresses specific instructions and the context the model needs.

Context: I’m on the committee of our neighborhood association (RT) and I’m preparing next month’s residents’ meeting.
Data (material to analyze, not instructions): [paste the residents’ suggestion survey here]
Task: Group the residents’ suggestions into three themes, then rank them from the most frequently mentioned.

Define the audience and, where useful, a role

A writer adjusting an explanation for a beginner reader and a more experienced colleague

Naming the audience helps an AI choose the right terms and depth, because explaining something to an elementary school child is very different from explaining it to university students or a board of directors. Mention what the readers already know and what they need.

A role, or point of view, also shapes how the AI looks at a problem: a tutor helps us learn, an editor reviews a story. But asking an AI to “be an expert” doesn’t automatically make its answer accurate, let alone replace a qualified professional.

Prompt structure: Task + Audience + Role + Must include + Limits.

Full example prompt: “Explain photosynthesis to a 10-year-old. Take the point of view of a patient tutor and use one simple analogy. Explain every new term, then point out the limits of the analogy so it isn’t misleading. Finish with three questions to check understanding.”

State the format and level of detail you want

Choosing an output format such as bullet points, a table, or a letter to suit the task

The output format should be stated up front, whether it’s a schedule, a shopping list, a table, an email, or a presentation script, along with the length, order, columns, and units to use.

Avoid instructions that clash, such as asking for a “very detailed” answer in just two sentences (the AI may end up as confused as we are, haha).

Prompt structure: Task + Context + Output format + Priorities.

Full example prompt: “Create a seven-day study schedule for a math exam. I have 45 minutes every afternoon. Use a table with the columns Day, Topic, Practice, and Break time. Prioritize fractions and percentages, and keep the last day for review.”

For a travel plan, add the budget, duration, and travelers’ needs, then ask the AI to flag costs that aren’t confirmed yet:

Full example prompt: “Plan a 3-day, 2-night trip to Yogyakarta for four adults, with a maximum budget of Rp4 million excluding plane tickets. One traveler can’t walk long distances. Use a table with the columns Day | Activity | Estimated cost. Mark any unverified costs with the word (estimate).”

Spell out what to keep and what to avoid

An editor trimming extra parts while protecting key elements of a document

A list of elements that must stay unchanged stops an AI from overhauling important parts while editing, such as numbers, dates, direct quotes, terms, links, or the writer’s point of view. Without that list, the AI sometimes gets a little too eager to “improve” everything.

Restrictions also work better with a replacement instruction. Instead of just saying “don’t be stiff,” it’s clearer to write “use short sentences and a polite tone of address.”

Prompt structure: Task + Keep + Avoid + If unsure.

Full example prompt: “Tidy up this piece without changing the numbers, dates, product names, direct quotes, or URLs. Keep the inclusive ‘we.’ Don’t add personal experiences, testimonials, or new claims. If you find inconsistent numbers, flag them for me to check.”

Give examples so the expected standard is easy to grasp

Three patterned cards and a question mark showing examples as a guide for the next output

A writing sample shows the standard we want far more clearly than a request like “write in my style.” Pick one or two samples, then explain what should be copied: sentence rhythm, structure, or level of formality.

Claude’s prompt engineering guide lists examples as one of the core techniques. Just be careful that the AI doesn’t also copy facts or experiences from those samples.

Prompt structure: Style sample + Elements to follow + Task + Avoid.

Full example prompt: “Here’s a sample of my writing style: ‘It doesn’t have to be perfect right away. What matters is that we start and learn from the process.’ Follow its short sentences and warm tone to write three captions for a community event. Don’t copy the sample sentence, and don’t make up experiences for me.”

If there’s a style we reject, give a concrete reason. For example: “I don’t want this kind of style: ‘Let us all come together to make this truly extraordinary event a success!’ The reason: it’s too formal and over the top.”

Ask for grounding, clarification, and flagged uncertainty

A researcher using a magnifying glass to compare an AI output with reference sources

Asking an AI to show the basis of its answer and flag uncertainty matters because a fluent answer isn’t necessarily a correct one. In effective AI prompting, state which sources may be used, what the AI should do when information is missing, and ask it to separate facts from assumptions.

NIST’s Generative AI Profile (2024) calls this confabulation: the AI presents false information with full confidence. Asking for references is a sensible safeguard.

Prompt structure: Sources + Output format + References + Clarification + Prohibitions.

Full example prompt: “Use only the report I’ve attached. Separate facts, interpretations, and data that isn’t available yet. Cite the source page for every number. If the period or unit is unclear, ask me first. Don’t create references that aren’t in the report.”

For up-to-date information, make sure the AI service you’re using actually has web search access; typing “use the latest data” doesn’t grant that access on its own. Double-check with official sources, in the same spirit of checking before sharing discussed in understanding the spread of online hoaxes.

Refine the results with specific feedback

A person and an AI assistant refining several drafts into a more focused document

Specific feedback turns an AI’s first answer from a rough draft into a result that fits, as long as we point out what’s wrong and what needs to change. A comment like “not good enough” leaves the AI guessing again, while “the opening is too long” gives it a clear direction.

Prompt structure: What already works + What needs to change + Keep + Output format.

Full example prompt: “Overall, this story works. Shorten the opening to two sentences, make the dialogue more natural, and cut down on repetition. Keep the characters’ names, the main conflict, and the ending. Show me the complete revised version.”

OpenAI’s prompt engineering documentation also emphasizes instructions, context, and examples. In long conversations, ask the AI to summarize the agreed requirements first. This habit of improving the process also ties in with tips on becoming an effective and reliable worker.

Use skills for recurring work

A reusable instruction package helping prepare routine reports in a consistent format

An AI skill stores the rules that never change, such as instructions, workflows, examples, and reference material, so we don’t have to retype them every time. According to Anthropic’s introduction to Agent Skills, a skill is a folder of instructions, scripts, and resources that the AI loads when it’s needed.

Take a monthly report presentation. The data source, number format, slide order, and template are always the same. Exhausting to type all that out again and again, isn’t it? All those rules can be saved once:

Skill contents — monthly-report-presentation (saved once, used every month):

  • Source: numbers only from the approved spreadsheet; differing or missing data gets flagged.
  • Layout: eight slides, from the cover to the decisions needed, with a maximum of four points per slide.
  • Number format: rupiah in millions with one decimal place (example: Rp125.4 million).
  • Design: template-laporan.pptx in 16:9, line charts for trends, bar charts for comparisons.
  • Final output: a PPTX file plus a list of items that need confirmation.

Monthly prompt: “Use the monthly-report-presentation skill for the attached September data. The audience is the board of directors; highlight the drop in sales in the eastern region.”

Next month, we just swap in the new data and focus. If your AI service doesn’t support skills yet, use a saved prompt template instead. The full discussion is in the article 8 tips to create AI skills and how they differ from prompts.

Protect your data and finish with a human touch

An employee protecting confidential documents and giving anonymized material to an AI assistant

Personal and confidential data shouldn’t be uploaded to an AI carelessly, and the final result still needs a human check. Avoid uploading passwords, OTPs, ID numbers, children’s data, health information, or personal financial documents. For work, use services approved by your organization and check their data policies first.

Prompt structure: Material + Task + Prohibitions + Output format.

Full example prompt: “Help me group the expenses in this dummy data: Oct 3 groceries Rp250,000; Oct 5 fuel Rp100,000; Oct 7 electricity bill Rp350,000; Oct 9 eating out Rp180,000. Present it as a table by category. Don’t ask for bank account numbers, addresses, or family members’ identities. Flag the parts I need to fill in myself.”

Changing names alone isn’t always enough. The habit of securing our digital accounts still matters, too.

Finally, check and recheck facts, sources, calculations, logic, and tone. Asking the AI to review its own work does help, but it isn’t independent verification. We’re the ones who add the finishing touch and take responsibility for the result.

An Effective AI Prompting Template

This effective AI prompting template combines the ten techniques above into one framework you can fill in right away. Here’s a completed example for the vendor email:

ElementCompleted example
TaskDraft an email to a vendor
GoalA firm delivery date and an explanation of the problem
ContextAn order of 200 chairs was due on October 1, with no news yet
AudienceThe vendor’s sales team
FormatEmail of 150 words maximum, polite language
Must includeOrder number [fill in yourself], reply deadline Friday 3:00 p.m. WIB
AvoidA blaming tone
Role, examples, sourcesOptional, fill in when needed
NotesAsk first if important information is missing; flag assumptions

Not every element has to be filled in. For simple tasks, the goal and format are often enough.

Frequently Asked Questions

Is a longer prompt always better?

No, a good prompt is a clear one, not the longest one. Just include the elements that affect the result, such as the goal, material, and format.

Does effective AI prompting work in ChatGPT, Gemini, and Claude?

Yes, the basic principles are the same across all three: a clear goal, relevant context, a firm format, and examples when needed. What differs is the features, such as web access and skill support.

What’s the difference between a prompt and an AI skill?

A prompt is a request for the task at hand, while a skill is a package of rules saved once and reused again and again.

How can I stop an AI from making up answers?

Limit the sources it may use, ask for references for every important claim, and ask it to flag anything uncertain. These steps reduce the risk but don’t remove it, so we still need to check facts and numbers ourselves.

Closing: Let’s Start with One Clear Brief

An editor adding the finishing touches to a document with help from an AI assistant at a desk

In short, effective AI prompting means giving a clear goal, context, audience, format, limits, and examples, asking for the basis of answers, giving specific feedback, using skills for recurring work, and protecting data while checking the results.

Back to that new team member: a clear brief helps them get the job right quickly, but we still review their work before using it. The same goes for AI: the final judgment stays with us.

Start small: pick one simple need this week, write the brief using the template above, then compare the result with your original goal. Before sending, ask yourself: could someone new understand these instructions without guessing?

Of the ten techniques above, which one do you most often skip when using AI? Share it in the comments; it might help other readers too.

Happy experimenting, and stay critical. Hope this helps.

This post is also available in: Indonesia

Share This Article
Follow:
I'm Daniel, S.T., MBA, born and raised in Sumatra. With a background in chemical engineering and a Master of Business Administration (MBA), I write on danieel.id about finance and company analysis, along with personal notes on Islam, science, history, health, and everyday life. The health articles here are for general education, are based on trusted sources, and are not a substitute for professional medical advice.
Leave a Comment