Skip to content

+ Education · April 2026

How to Write a Good AI Prompt: The Science, Engineering, and Human Judgment Behind Effective Instructions

A good prompt is less like a password and much more like a good brief: it defines the problem, provides context, sets priorities, and explains what result we need. The science behind a good prompt begins with technology but ends with human judgment.

Editorial illustration: A person types a brief on their laptop, and the text transforms into geometric blocks that flow toward an abstract artificial intelligence entity, in black, white, and red

Article

How to Write a Good Prompt for AI

Artificial Intelligence can summarize documents, compare proposals, organize information, analyze data, classify requests, study trends, detect inconsistencies, or help us structure processes that previously required many hours of manual work. But there is a significant difference between simply telling a tool to “analyze this” and providing it with clear context about what we want to analyze, why, with what information, and based on what criteria.

Both instructions are prompts. However, they do not contain the same amount or quality of information, and for that reason, we should not expect them to produce equivalent results. Much of what we now know as prompt engineering stems precisely from that difference: learning to communicate a task clearly enough so that an AI model can better interpret our intent.

However, the concept can be misinterpreted. The word “engineering” might lead one to believe that there is a secret formula, a perfect combination of words, or some kind of special language that unlocks AI’s hidden capabilities. In practice, the issue is much more interesting. A good prompt is less like a password and much more like a good brief: it defines the problem, provides context, sets priorities, and explains what result we need.

And before that brief even exists, someone has to have come up with the idea.

+

The best prompt starts before you write it

Artificial Intelligence can process large amounts of information, but it does not necessarily understand the context that a person takes for granted. We know what happened at yesterday’s meeting, what the client wants, which version of a document is current, why a certain metric matters, and what decision we are trying to make. A model can only work with what is part of its available context or with the information it has access to through the appropriate tools.

This difference may seem simple, but it explains a significant part of the frustration many people experience when they start using AI. They ask a very general question, receive an equally general answer, and conclude that the tool “didn’t understand.” Often, the problem isn’t that the system ignored the instruction, but that it never received enough information to correctly interpret what the user had in mind.

That is why human planning remains the first step. Before asking ourselves how we should draft the prompt, we should ask ourselves what problem we are trying to solve, what information we have available, what data is reliable, and what characteristics a useful response would have. That preliminary organization is not a task for artificial intelligence. It is part of the intellectual work of the person leading the process.

At Alterno , we view this principle as fundamental. AI can increase capacity, speed up processes, and reduce routine work, but leadership still begins with the individual.

+

Prompt engineering is, to a large extent, context engineering

A prompt can be a single question, but in professional tasks it is usually more useful to think of it as a set of information that guides the model. The instruction is only one part of it. The context may also include documents, previous conversations, data, examples, rules, constraints, and previous results.

If we ask, “Summarize this report,” we are leaving it up to the model to decide what it considers important. If, on the other hand, we explain that the summary will be used by management, that it should focus on budget variances and results, that it should compare the current quarter to the previous one, and that any missing data should be flagged rather than estimated, we have completely changed the task.

We're not just giving them more words. We're giving them more structure.

That's one of the key ideas behind a good prompt: reducing the number of important details the model has to guess.

+

What Happens Technically When We Provide Context to a Model

Large language models process information using units called tokens. A token can represent a whole word, part of a word, punctuation marks, or other linguistic units. Instructions, provided documents, previous conversation, and other available data occupy space within what is known as the model’s context window.

Based on that context, the system generates a response by sequentially estimating which information is most likely and appropriate to produce. Modern models based on Transformer architectures use attention mechanisms to establish relationships between different parts of the context and determine which elements may be relevant to the task.

This helps explain why a small difference in the information provided can significantly change an answer. The instruction “analyze this campaign” opens up many possibilities. Should we analyze creativity, investment, audience, media, conversion, or profitability? If we specify that we want to compare CPA, conversion rate, and ROAS to the previous period, the problem becomes much more clearly defined.

The technology may be sophisticated, but the principle for the user is surprisingly human: if you want a more specific answer, you need to formulate a more specific problem.

+

The context window does not replace the selection of information

Today's models can handle ever-increasing amounts of information. We can attach lengthy documents, reports, spreadsheets, manuals, policies, presentations, and other materials. That capability is extraordinarily useful, but it can also create a misconception: the idea that the more information we send, the better the result will automatically be.

Not necessarily. A single, relevant 100-page file can be invaluable. Twenty partially related documents, duplicate versions, and outdated material can introduce noise. The technical ability to process large amounts of information does not eliminate the human need to decide what information really matters.

In a sense, this is very much like conducting research. A researcher does not improve a study simply by accumulating sources. He or she must select, classify, contextualize, and establish hierarchies among them.

Something similar happens with AI. A best practice might be to explain which document is the official source, which one contains background information, and which one should be used only for comparison. If two files contradict each other, we can also determine which one takes precedence. The model receives more than just documents—it receives a framework for interpreting them.

+

From Tacit Knowledge to Explicit Knowledge

Here, a less technical and more organizational aspect comes into play. Many companies operate thanks to a vast amount of knowledge that has never been formally documented. One person knows how to prepare a certain report because they’ve been doing it for ten years. Another knows that certain clients require different treatment. Someone knows which figures need to be reviewed before sending a presentation. Another person knows which version of a process actually works, even if the manual says otherwise.

That knowledge is, to a large extent, tacit knowledge. It resides within people.

The serious use of artificial intelligence often requires us to convert part of that knowledge into explicit information. We have to explain the criteria, document rules, establish priorities, and describe exceptions. For a system to help us with a process, we first need to understand that process well enough to explain it.

That could be a positive outcome of adopting AI within organizations. Prompt engineering doesn't just help machines work better; it can also force us to better define how we work.

+

Why “sum it up for me” and a good prompt lead to different results

Let's say we've just finished a one-hour meeting with a client and we have the complete transcript. We can type: "Summarize this meeting." We'll probably get a decent summary. But the model will have to decide for itself what it means to summarize.

Now let’s imagine we write: “I’m attaching the transcript of a meeting with a client. I need an executive summary for the internal team. Identify the decisions that were confirmed, the pending issues, the tasks mentioned, and any dates discussed. Do not assign responsibilities unless they are explicitly mentioned in the conversation, and do not make up dates. The summary should allow someone who wasn’t present to understand what was decided and what needs to happen next.”

The difference isn't in using special words. The difference is that someone first thought about what the summary was supposed to do. That's prompt engineering in a professional context.

+

A good prompt is very similar to a good brief

Agencies, consultants, developers, and business teams have been using briefs for decades for one simple reason: it’s hard to produce good work when the person carrying out the task has to guess what the client expects. The same principle applies to AI.

A good prompt typically clarifies the objective of the task, provides the necessary context, identifies relevant sources, and specifies the desired outcome. It can also explain what information should be excluded, how to handle missing data, and the most useful format for the response.

This doesn't mean that every request has to become a five-page document. The complexity of the prompt should be proportional to the complexity of the problem. Asking for the capital of France doesn't require any additional context. Analyzing three years of advertising results probably does.

+

The longest prompt isn't necessarily the best one

As the topic of prompt engineering gained popularity, a huge number of templates filled with instructions, roles, steps, and commands began to circulate. Some of them may be useful, but there is a risk of confusing complexity with quality.

A prompt can be 2,000 words long and still be ambiguous. It can also contain contradictory instructions. We can simultaneously ask for a response that is both extremely comprehensive and extremely brief—one that leaves out no details but does not exceed two paragraphs. The number of instructions does not resolve these contradictions.

The latest models have also reduced the need for some techniques that were previously used to guide less capable systems. The current trend in documentation from leading providers favors clear instructions, relevant context, and a precise definition of the task.

The right question isn't "How can I make the prompt longer?" It's "What does the model need to know that it doesn't know yet?"

+

Documents can be better than an off-the-cuff explanation

One of the most useful features of today's platforms is the ability to work directly with documents. This significantly changes the way AI is used in professional settings.

Let's imagine we want to understand a company's benefits policy. We could try to explain the policy to the memory model. Or we could provide the official manual and ask it to use only that document to respond. The second option is much more reliable.

The same applies to reports, proposals, contracts, research, manuals, spreadsheets, market studies, and technical documentation. When the information already exists, providing the source is usually better than trying to reconstruct it within the prompt.

But even there, human judgment remains important. We have to determine which document is current, which one contains the correct information, and what the system should do if it cannot find an answer.

+

Uploading files doesn't mean you stop giving instructions

There’s also the opposite mistake: attaching twenty documents and simply writing, “Analyze them.” The AI now has the information, but it may still not understand what problem we’re trying to solve.

We can greatly improve this task by explaining that certain files contain results, others contain the budget, and still others contain the project's original goals. We can request a specific comparison and determine which indicators should be used.

Context and instructions work together. The documents primarily answer the question “What information?” The prompt should answer “What is it for?”

+

Examples help when we need consistency

Another important technique is to provide examples. In prompt engineering, this practice is often called “few-shot prompting.” Instead of simply explaining a rule, we show a few examples that accurately represent the pattern we want the model to follow.

This is especially useful in repetitive processes. Let’s imagine a company that receives hundreds of messages and needs to classify them as “Sales,” “Technical Support,” or “Billing.” We can explain what each category means, but we can also provide several real-world examples that have already been classified. The model then has specific references on how to apply the criteria.

An example does not replace the rule; it complements it. For operational tasks, such as classification, information extraction, or data transformation, this combination can significantly improve consistency.

+

A prompt should also specify what to do when something is missing

AI models can generate extremely convincing responses. That is precisely one of the reasons why we need to design tasks carefully. If a number, a date, or a source is missing, we don't necessarily want the system to try to fill in the blank.

A simple instruction might be: “If the information isn’t included in the documents provided, state that clearly. Don’t estimate or make up the data.”

These types of rules are particularly important in research, business analysis, documentation, finance, and other contexts where accuracy matters more than fluency. The ability to generate text should not be confused with a guarantee of truth. That is why a good prompt also defines the limits of the response.

+

Complex tasks work best when they are broken down into steps

Sometimes we try to use AI as if all the work had to be done within a single instruction: “Read these twelve documents, identify problems, compare them, prepare recommendations, develop a plan, and give me a presentation.” The system can try to do that. But there’s another way to work.

First, we can ask you to identify the relevant data. Next, we’ll review that data. Then, we’ll ask for a comparison. After that, we’ll develop hypotheses, and finally, we’ll organize our recommendations.

This approach has two advantages. It reduces the complexity of each step and allows one person to validate the process as it progresses. That’s important because human oversight shouldn’t occur only at the end; it can be part of the entire execution.

+

Prompt engineering is an iterative process

The concept of the “perfect prompt” can also create the expectation that we should write a flawless prompt on the first try. In practice, professional prompting is much more like a process of trial and error and refinement.

We ask for something. We review the result. We identify where the task was misinterpreted. We add context. We remove instructions that caused confusion. We try again.

Over time, we can even turn a prompt that works consistently into a reusable template for a recurring task. Engineering lies precisely in that iteration—not in finding a magic phrase.

+

We can ask AI to help us identify what's missing

One of the most useful ways to begin a complex task is to not immediately ask for the final result. We can state the objective and write: “Before you begin, review the information I provided and identify what important data is missing so that you can complete this task correctly.”

That may reveal problems in our own brief. Perhaps we never defined the time period we want to analyze. Maybe two documents contain different versions of the same figure. Perhaps we didn't specify which metric determines success.

In those cases, AI is helping to better frame the question before attempting to answer it. And a good question is often the start of a better answer.

+

The Human Dimension: AI as an Extension, Not a Replacement

At Alterno , we make an important distinction between using artificial intelligence to increase capacity and using it as an automatic substitute for professional talent.

There are processes where technology can add tremendous value: organizing information, summarizing documents, comparing data, speeding up research, classifying content, detecting inconsistencies, automating repetitive tasks, or structuring information so that a person can work with it more easily. That doesn’t mean that every activity should be automated.

Our philosophy continues to place human talent at the center of our creative processes. Designers, art directors, photographers, videographers, editors, copywriters, and other professionals bring expertise, sensitivity, cultural context, and judgment—qualities we do not reduce simply to the ability to produce a final product.

The mere existence of a generative tool does not automatically make using it the best decision. The question should be: where does AI truly add value?

+

Creativity begins before the tool

Human creativity does not arise solely from combining information. It also arises from experience, observation, culture, intuition, memory, sensitivity, interpretation, and the ability to understand other people.

AI can help organize material related to a creative problem. It can summarize research or identify patterns within a study. It can reduce some of the operational work involved in a project.

But direction requires a purpose. Someone has to understand what a brand wants to communicate, why it matters, how an audience might interpret it, and what the consequences of that decision will be. The tool can play a role. The judgment remains human.

+

The prompt reflects the quality of the thought that precedes it

There is a principle that runs through this entire topic: a clear prompt is usually the result of clear thinking.

If we don't know what the goal is, it will be difficult to explain it to the AI. If we don't know what information is relevant, we'll likely give it too much or too little context. If we don't know how to evaluate a good answer, we won't know when the result is good enough either.

In that sense, prompt engineering is not just a technical skill. It is also a skill in communication, analysis, synthesis, organization, and decision-making.

People who develop these skills will likely be better able to use AI systems, regardless of which platform or model is available five years from now.

+

Not all models respond exactly the same way

Another important point is that the prompt does not exist in a vacuum. Models evolve. Their reasoning capabilities, tools, context windows, and behavior change. A technique that was particularly useful with one generation may become unnecessary with another. Even the same prompt can produce somewhat different responses across models.

That is why, in critical business applications, it is not enough to simply write a command and assume it will always work. It is important to test it with real-world examples and verify whether it continues to produce acceptable results when the inputs change. This is where we begin to explore another aspect of AI systems engineering: evaluation.

+

A good prompt is measured by its results

The quality of a prompt shouldn't be judged by how sophisticated it seems. It should be judged by how well it works.

If we're using AI to extract information from invoices, we can compare the extracted data with the original documents. If it classifies leads, we can review a sample and calculate how many classifications were correct. If it summarizes reports, we can check whether it retains the key figures and conclusions.

In more advanced AI implementations, these tests are known as “evals”: systematic evaluations of the model’s behavior when faced with known cases. For the average user, the concept can be greatly simplified: don’t just ask whether the answer “sounds right.” Ask yourself if it’s correct, complete, and useful.

+

Artificial intelligence can also fail even with an excellent prompt

It's important to have realistic expectations. A good prompt can significantly improve the result, but it doesn't guarantee perfection. The model may misinterpret something. It may omit information. It may use the wrong source. It may produce a statement that seems plausible but isn't supported.

That’s why the idea that everything depends on the prompt would also be an exaggeration. The model, the available tools, the sources, the quality of the data, and the nature of the task all matter. And human review still matters. Professional responsibility doesn’t disappear just because a response was generated by a machine.

+

True value lies in combining human insight with technological capability

We are likely entering a phase where knowing how to use artificial intelligence will increasingly cease to be a specialized skill and will instead become a general workplace competency. But the advantage won’t necessarily lie in memorizing hundreds of prompts. It will lie in knowing how to structure problems, select information, recognize reliable sources, define criteria, detect inconsistencies, ask good questions, evaluate answers, and use the appropriate tool when it truly adds value.

That also explains why organizations with strong processes can benefit particularly from AI. A team that already documents procedures, keeps information organized, and clearly defines its objectives has an excellent foundation for working with models.

AI can speed up processes. But first, there has to be a process worth speeding up.

+

So, how do you write the perfect prompt?

Perhaps the best answer is that there is no such thing as the perfect prompt. There is a prompt that is clear enough for a specific task. There is relevant context. There are reliable sources. There are instructions that reduce ambiguity. There is a definition of what we expect to receive. There is a review process. And there is a person capable of determining whether the result is truly valuable.

That's why the science behind a good prompt starts with technology, but it doesn't end there. It also has to do with how we, as people, transform knowledge into language, how we structure problems, and how we communicate our expectations.

AI can process an extraordinary amount of information. It can analyze. It can organize. It can speed things up. But someone has to guide it. The quality of the result depends largely on the quality of the context we provide. And the quality of that context still starts with us.

+

Frequently Asked Questions About Prompt Engineering

What is prompt engineering? It is the practice of designing and refining the instructions, context, sources, and criteria we provide to an artificial intelligence system to increase the likelihood of obtaining accurate, relevant, and consistent results. It involves more than just writing a question; it can include documents, examples, rules, background information, and a clear definition of the expected outcome.

How do you write a good prompt for artificial intelligence? A good prompt begins by defining the objective. It then provides the context the model needs to understand the situation and specifies what information it should use, what constraints exist, and how we want to receive the result. For complex tasks, it can also be helpful to break the process down into several stages and review each one before moving on.

Does a longer prompt always lead to a better response? Not necessarily. A longer prompt can provide useful context, but it can also introduce irrelevant information or conflicting instructions. Clarity, relevance, and structure are more important than the number of words.

Does uploading documents help you get better answers? It can be very helpful when the documents contain information the model needs to complete the task. A manual, report, PDF, or spreadsheet can provide specific context that would be difficult to explain manually. However, it’s still important to specify what to look for in those documents and what the goal of the analysis is.

What is an AI's context window? It is the amount of information a model can consider during an interaction. It may include the prompt, previous messages, documents, and other inputs. A larger window allows the model to work with more information, but it does not eliminate the need to properly select and organize the context.

Can a good prompt prevent errors in artificial intelligence? It can reduce ambiguity and significantly improve the quality of a response, but it does not completely eliminate the possibility of errors. That is why important results must be verified and kept under human supervision.

Let's talk

Do you want to turn better instructions into better results for your brand?

We can help you integrate artificial intelligence, strategy, and human judgment into clear processes that produce more useful results for your business.

REQUEST A PROPOSAL +

Conversation +

Comments.

0 published

Your input helps this conversation grow. Share your comments, questions, or experiences related to this article—we're here to listen.

Create an account or log in to comment using your real name.

Be the first to comment.

Continue reading

More from the blog.

← Back to the blog

+ Ideas That Keep Moving Forward

Get the next article.

Creativity, marketing, digital advertising, technology, and artificial intelligence—delivered straight to your inbox.

Let's get to work

Shall we talk about your brand?