Prompt Engineering for Product Managers: How I Treat Prompts Like Product Requirements

Christian Hernández standing beside a glass wall, reviewing an AI workflow diagram

01. I start with the user problem

I don’t treat a prompt as a clever sentence that happens to get a good answer. I treat it as part of the product. It shapes what a user experiences, what the AI workflow can do, and what happens when the model gets something wrong.

That makes prompt engineering a product practice, not just a writing exercise. As a Product Manager and Project Manager, I start with the same questions I would ask about any feature: Who needs this? What are they trying to accomplish? What should the system do, and what should it never do?

A useful example is an AI assistant that turns customer feedback into a short summary for a product team. “Summarize this feedback” is too broad to guide consistent behavior. A better requirement defines the user, the task, the evidence the AI may use, and what a useful result looks like.

I write those decisions down before I refine the prompt. That keeps the team focused on the user outcome rather than debating wording in isolation.

02. I write prompts like requirements

A prompt should tell the AI what job it has, what information it can rely on, and how to respond. It should also set clear boundaries. If context is missing, the assistant should not fill the gap with a confident guess.

For a feedback summarizer, my product requirement might look like this:

Goal: Help a product manager understand the main issue in a customer comment.
Input: One customer comment, which may be incomplete or unclear.
Output: A short issue summary, a sentiment label, and a direct quote that supports the summary.
Limits: Use only the supplied comment. Do not invent customer details or product behavior.
If unclear: Say that the comment does not provide enough information.
If the input is empty: Ask for a comment.

That’s not a finished prompt. It is a shared definition of the intended behavior. From there, a team can build and refine the prompt without losing sight of the product requirement.

The OpenAI prompt engineering guide recommends making instructions and task details clear. I find that advice most useful when I turn it into something the whole team can review: a plain-language description of the job, boundaries, and expected result.

A female product manager standing in a bright workspace and reviewing an AI workflow

03. I define what “good” looks like

A prompt is hard to improve if “good” means “I like this answer.” I define success in terms a product team can inspect. Does the summary reflect the customer’s comment? Does the quote support the summary? Is the output in the format the next step needs? Does the system acknowledge uncertainty instead of making things up?

Some checks can be simple and consistent. If another part of the workflow expects a sentiment label from a fixed list, an unexpected label is a failure. If a response must include a quote, a missing quote needs review. These checks don’t require product managers to write code. They require us to agree on the user-facing contract.

For qualities that need judgment, I use a short review rubric. A reviewer might assess whether the summary is faithful to the input, specific enough to be useful, and free of unsupported claims. I keep the criteria separate so a strong writing style does not hide a weak or inaccurate answer.

The Anthropic guide to defining success criteria and building evaluations is a useful reference for making success measurable. I also keep a small set of realistic examples, including vague, conflicting, and incomplete comments. An evaluation should reflect what users actually send, not only the clean examples we create in a planning meeting.

04. I test the prompt with real scenarios

I test prompts before asking users to trust them. I start with a small collection of representative inputs. Some are straightforward. Others include missing detail, unclear wording, or more than one possible interpretation.

For each example, I check the result against the requirements. Did the AI use only the supplied information? Did it follow the expected format? Did it handle uncertainty appropriately? I record issues as examples, not just observations. That way, the next prompt version can be tested against the same cases.

I don’t rely on one impressive output. A prompt that performs well on one example can still fail on a slightly different input. I also don’t assume a better-sounding response is a better product result. The output needs to do the job reliably.

The OpenAI guide to evaluations describes a repeatable loop: test outputs against defined criteria, review the results, and iterate. That is the approach I use. When a test fails, I first ask whether the prompt is unclear, the input is insufficient, or the product needs a different behavior. Each cause points to a different fix.

Overhead view of an AI workflow map, prompt specifications, test case cards, and a laptop corner on a table, with no people

05. I decide what happens when the AI cannot do the job

A useful prompt does more than describe the ideal response. It accounts for the moment the ideal response is not possible. That might be because the user provided too little information, the available source doesn’t support an answer, or the result is unclear.

I define these situations in product language before the team implements them. For example, if there is not enough evidence to summarize a customer issue, the AI should say so rather than invent context. If an output is incomplete or unusable, the workflow should have a clear next step. That might mean asking the user for more information, showing a simple error, or handing the case to a person.

This is where prompt engineering and product design meet. The model’s response is only one part of the experience. I also consider how the user will understand the limitation and what they can do next.

For an AI agent or multi-step workflow, I apply the same thinking to actions. What is the system allowed to do? When should it ask for confirmation? Which cases need human review? Clear boundaries make it easier to plan the workflow and explain its behavior to users.

06. I version prompts and record why they changed

When prompts change, behavior can change too. So I give each production prompt a version and keep a short note about what changed and why. I also keep the test examples with the prompt, so the team can compare versions against the same expectations.

A simple version record might include the prompt’s owner, the behavior it is meant to support, the change being made, and the test results. If a change improves summaries for short comments but makes vague comments harder to handle, that trade-off should be visible before release.

Versioning helps distributed teams work with more confidence. A colleague in another time zone can see what changed, review the examples, and understand the intent without relying on a meeting or someone’s memory. It also makes it easier to return to an earlier behavior if a new version causes problems.

I treat a prompt change like a product change. I want a clear reason for it, a way to review its impact, and a record of what went live. That doesn’t mean every edit needs a large release process. It means changes should be deliberate enough to understand and revisit.

07. I evaluate the workflow, not just the words

In an AI workflow, a prompt may depend on context from another step or feed its result into a later one. A good answer at one point can still cause problems if it reaches the next step in the wrong format or without the information that step needs.

I check the handoffs. Does the AI receive the right information? Can the next person or system use the output? What happens if the information is missing? Where should a person review the result? Those questions help me see beyond the prompt itself and assess the actual user journey.

I also ask the team to look at outcomes after release. Are users correcting the same kinds of mistakes? Are they confused when the AI can’t help? Has the workflow created extra work for the people it was supposed to support? Those signals give us better inputs for the next round of improvements.

For me, that is the practical value of prompt engineering: it brings product discipline to an AI workflow. I define the intended behavior, test it against realistic examples, make failure paths visible, and maintain a record of changes. That gives the team a shared way to discuss both the prompt and the experience it creates.

That discipline continues after the prompt works. The next questions are where a person reviews the agent's action and whether anyone uses the workflow in real work.

As an AI product manager, I work between user needs, delivery constraints, and the capabilities of the technology. I’m open to remote Product Manager and Project Manager opportunities with teams in the US, Canada, and Mexico. Learn more about my product and project management work or get in touch.