Prompt Engineering
Prompt Engineering
4
1 Introduction...............................................................................................................
2 Getting Started.......................................................................................................6
Strong Communication Skills
Creativity and Critical Thinking
Logical Reasoning Skills
Start With Simple, Unstructured Conversations
5 Further Guidance................................................................................................ 24
Excellent Prompting References
Continue Your PMIxAI Journey
7 Acknowledgments................................................................................................ 31
A
s a project manager, I’ve always envisioned a day when I could “talk to
a machine” — not in the command and control sense that we all do
when using our smartphones, but in a more conversational manner
of talking about issues, problems and different perspectives of my daily
work. I imagined discussions on project management topics such as crafting
a project charter, deliberating on critical project goals or brainstorming
potential risks. I am thrilled that this day has arrived!
Introduction
The adoption of GenAI tools based on large language models
(LLMs) has driven the rise of a new digital competence — prompt
engineering — that may be unfamiliar to project professionals. Since
the release of ChatGPT in November 2022, prompt engineering for
GenAI has become recognized as a necessary digital skill. Baidu CEO
Robin Li 1 predicts, “in the next decade, half of all jobs worldwide will
revolve around prompt engineering.”
4
1.0 INTRODUCTION
specifications of a task, which are used to will need to understand what prompt
condition the LLM at inference time. “One engineering is and how to develop and apply
reason this latest generation of AI tools has this skill to different project management
so much promise is that they make it so tasks.
people can now interact with our computers
in the same way we’ve interacted with other Why? “It’s very possible to be having a
humans for millennia: natural language,” as conversation with your AI tool, while not
Jaime Teevan 3 of Microsoft explains it. actually getting the answer you want
because you didn’t ask it the correct
The Generative AI Overview for Project question,” explains Bart Gerardi, senior
Managers course and the latest thought manager, software engineering, Redfin. “The
leadership research from PMI have AI tool may know the answer, but you don’t
highlighted how effective prompts can always know what to ask for and how to ask
generate more accurate and relevant for it.”
outputs from LLMs and popular generative
AI tools, e.g., ChatGPT (OpenAI), Gemini
(Google), Claude 2 (Anthropic) and Copilot
(Microsoft). Project professionals seeking
to leverage the capabilities of GenAI tools
SIDEBAR
According to a BCG study, 5 nearly all participants (around 90%), irrespective of their baseline
proficiency, produced higher-quality results when using GPT-4 for the task. Further, the variance
in performance dramatically reduced, meaning a much higher share of participants performed
at or very close to the average level, substantially increasing the average performance levels of
the entire group.
1 Fu, Z. (2023, May 27). Baidu’s Robin Li: all products will be remade to become AI-Native. Pingwest.
2 MIT Management. (n.d.). Effective Prompts for AI: The Essentials. MIT Sloan Teaching & Learning Technologies.
3 Teevan, J. (2023, December 15). To Work Well with GenAI, You Need to Learn How to Talk to It. Harvard Business Review.
4 LinkedIn Economic Graph. (2023, November). Future of Work Report: AI at Work. LinkedIn.
5 Candelon, F., Krayer, L., Rajendran, S., & Martínez, D. Z. (2023, September 21). How People Can Create—and Destroy—Value with Generative AI.
BCG Global.
5
2.0
Getting Started
Prompting is your opportunity to move from a “shaper of project
work” to a value creator. Treat it that way and dive right into the
experience.
6
2.0 GETTING STARTED
• Navigate specialized terminology and jargon, aligning it with the specific terminology used in the
project.
Partnering with AI can further strengthen project managers’ skills because they can assess, refine and
polish the communication options and approaches the GenAI provides.
• Brainstorm and then narrow down the focus to ensure we ask the right questions. GenAI can
offer diverse perspectives on a topic, help consider different angles and uncover overlooked
questions in a rapid-fire way, but it’s only the human’s critical thinking that can guide this process
— and shape and refine it.
• Experiment and refine the approach iteratively, continually improving prompt effectiveness. GenAI
can help test your ideas and produce additional options for discovery.
AI tools can help build project management skill sets by making unforeseen connections, filling gaps in
concepts and generating new ideas to consider, which can be refined and combined based on human
knowledge and experience.
• Break down complex problems into smaller, meaningfully connected components. This
decomposition allows both humans and AI tools to address each component independently, aiding
in a more focused and accurate response.
7
2.0 GETTING STARTED
• Identify and express key relationships within complex problems. Clearly articulating these
relationships helps humans and sophisticated AI tools to grasp the interdependencies and
contextual information necessary for generating meaningful responses.
• Ask the right questions. This learned skill is important when dealing with complex inquiries. A
well-structured question helps humans and their GenAI tools to comprehend and respond more
effectively.
Project managers can strengthen their problem-solving abilities by reinforcing the value of logical
approaches based on improved outputs. Applying prompting patterns and techniques also helps hone
the project managers’ approaches to regular human interactions, offering logically structured ways to
express concepts.
8
2.0 GETTING STARTED
SIDEBAR
9
3.0
Making GenAI
Conversations
More Effective
GenAI performs best when talked to like a human. But it’s a human
with a specific personality that you need to adjust for. There are five
key strategies and three universal rules to guide you through that
adjustment. The AI does better if the conversation is well structured.
Prompting patterns describe how your conversation should flow to
get the responses you want. Finally, there are prompting techniques
that get you to the best and most useful response possible.
10
3.0 MAKING GENAI CONVERSATIONS MORE EFFECTIVE
1. Use a “diverge and converge” approach. Start with a broad, open-ended question to utilize
the GenAI tool for its exploration capabilities. Once the tool provides a general framework,
converge on each element. Use the following steps to generate more effective answers. Project
teams can also design a sequence of prompts to address distinct outputs and objectives.
2. Provide more context than you would to a human. Detail the problem or question well, and
be specific about things such as industry, region, type of project and the task. Outline the project’s
background, describe the person using the GenAI tool (like a project manager) and say how and
where the answer will be used. The granularity of the input will be directly proportional to the utility
of the output received.
3. Give examples. Embed specific examples in the input text to aid the LLM in understanding
the desired output format or preferred answer. It can be something as simple as: “Use this as an
example ...’’ This proves especially beneficial for tasks demanding a particular structure or format,
like generating code or crafting specific types of text. As OpenAI 6 says in its GPT-4 guide: “The less
the model has to guess at what you want, the more likely you’ll get it.”
4. Make it a conversation, not a command. Per the OpenAI 7 GPT-4 guide: “These models can’t
read your mind. If outputs are too long, ask for brief replies. If outputs are too simple, ask for
expert-level writing. If you dislike the format, demonstrate the format you’d like to see.” Interact
with the LLM like it’s an intern who needs constant instructions. Note what types of prompts give
the best results and refine the input accordingly.
5. Incorporate a “reliability check.” Include a request for references and sources in the ask.
Even though some LLMs don’t browse the web in real time, this can still prompt them to provide
the name of a source that can be verified via a simple online search. It also prompts the model to
assess the output as a “sanity check” and helps ensure that the generated content aligns with the
desired accuracy and reliability standards.
11
3.0 MAKING GENAI CONVERSATIONS MORE EFFECTIVE
1. Don’t rely on the LLM’s domain knowledge too much. While LLMs like GPT-3.5/4.0 possess
broad general knowledge, they may lack specifics and contextual information about certain
industries or projects. Use the LLM’s domain knowledge as a starting point and use your human
expertise to counter-check what it tells you.
2. Don’t share confidential or sensitive data with the tool. Unless the LLM you are working on
exists in a controlled IT environment of your organization, assume that it will share everything you
tell it with everyone else using it. Avoid including sensitive or confidential information in prompts
to uphold privacy and data security. Craft prompts that focus on extracting insights or actions
without compromising proprietary or confidential details, ensuring compliance with privacy
regulations and safeguarding project integrity.
3. Be mindful of ethical guidelines. Many organizations have already started putting ethical
guidelines and considerations in place. Without those guidelines, you should assume that AI
tools have the potential to generate inappropriate or harmful content. Be mindful of ethical
considerations and ensure that prompts align with ethical standards and professional conduct.
“Think of generative AI as
the starting point. Remember:
You have to use your human
intelligence on top of the
generative AI’s intelligence.”
- Pamela Krzypkowska, director of research
and innovation, Ministry of Digital Affairs,
Poland
12
3.0 MAKING GENAI CONVERSATIONS MORE EFFECTIVE
Table 1. Patterns of Prompts to Support Prompt Engineering (adapted from White et al., 20238
Persona Make your generative “From now on, act as X …” Act as a stakeholder of
pretraining transformer the project. Perform an
(GPT) an expert. Use “Act as persona X …” assessment of the project
this pattern for a charter (or deliverable)
conversational interaction “Create outputs that and provide a list of
that can frame the output persona X would create …” recommendations to
from the perspective of improve scope clarity and
a specific role within the completeness.
project environment, or
ask the tool to respond
as a nonhuman entity,
e.g., project management
software.
Question refinement Drill down. Use this “Within scope X, suggest Within the scope of
pattern to create and a better version of the creating a cost-benefit
refine questions about question to use instead …” analysis of outsourcing
specific topics or domains (total cost: US$60,000)
of a project or industry, or versus in-house hiring
when there is not clarity (total cost: US$70,000),
about the problem to be suggest a better version
solved. of the question to be used.
Flipped interaction Practice for a human “I would like you to ask me I would like you to ask
conversation. Use this questions to achieve X …” questions to help with
pattern to simulate a my preparation for a
conversation with project “You should ask questions project update with my
stakeholders, team until condition X is met or stakeholders [provide the
members, clients, users or to achieve goal Y …” context of the project].
another project manager Ask me questions one at a
in order to identify gaps “Ask me questions one at time so you can build the
and audit deliverables. a time …” next question based on my
responses.
8 White, J. (2023, February 21). A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT arXiv.org.
13
Prompt pattern Use this to … Basic structure Prompt examples
Cognitive verifier Simplify a complicated “When you are asked a A software development
question. Use this pattern question, follow these project has a US$100,000
when you need to combine rules …” budget and a timeline of
two or more questions six months. After three
related to different “Generate a number months, the actual cost
dimensions of the project of additional questions (AC) is US$60,000 and the
and the task becomes too that would help to more project is 50% complete.
complex and confusing. accurately answer the What are the risks of not
To ensure the large question …” completing the project on
language model (LLM) will time and on budget? Am
generate the best output, “Combine the answers to I over or under budget at
use this pattern to guide the individual questions to this point? Am I behind or
the tool to help break produce the final answer ahead of schedule? What
down the question into to the overall question …” is the earned value (EV),
more specific requests estimate to complete
and perform the tasks (ETC) and value-added
accordingly. control? Combine the
answers to the individual
questions to produce the
final answer to the first
question.
Fact check list Build a fact base. Use this “Generate a set of facts I need to identify the most
pattern when creating that are contained in the common challenges based
outputs for the project output …” on customer feedback
that are based on external and industry information
information, like industry “The set of facts should to create a list of user
perspectives, domain- be inserted in a specific stories to develop a
specific information, data point in the output …” mobile app that allows
or definition of concepts frequent fliers to manage
to avoid factually their flights. Generate
incorrect outputs or a list of the 10 most
information. common frequent flier
challenges in the airline
industry based on facts.
The set of facts should
be inserted in a specific
point in the output and
correctly show links to
sources.
Reflection Explain an answer. Use “Explain the reasoning and I need to provide feedback
this pattern when there is assumptions behind your to a project team member
the need to have a clear answer …” who made a mistake with
rationale about an output, financial implications
explanation or reasoning. “Whenever you generate to the organization.
It can be used for risk an answer …” They are very talented
analysis, project decision- and my intent is to help
making recommendations with their development
and feedback and and growth. Mistakes
assessment sessions. happen, and I don’t want
this to become a blocker
for their creativity and
experimentation mindset.
Explain the reasoning and
assumptions behind your
recommendation on how
to approach this meeting
with them.
14
3.0 MAKING GENAI CONVERSATIONS MORE EFFECTIVE
Table 2 details three popular prompting techniques and provides examples of how project
professionals can use them.
Prompting Level of
Description Example
technique complexity
Zero-shot prompts Think of this as the closest Low “What are the key
match to a simple query elements of a project
on a search engine. Zero- charter?”
shot prompting tests the
large language model’s
(LLM) ability to produce an
accurate output, without
relying on prior examples.
This is what an average
user who is not explicitly
training the LLM for a task
uses.
15
3.0 MAKING GENAI CONVERSATIONS MORE EFFECTIVE
SIDEBAR
• Different LLMs and GenAI tools have specific architectures and capabilities. Understanding
these better allows project managers to align their prompt engineering strategies with
the underlying architecture of the AI tool, optimizing the utilization of its strengths and
addressing potential limitations.
• Familiarity with LLMs aids in interpreting and evaluating the outputs generated by these
models. Project professionals can discern the model’s thought process, identify potential
biases and assess the reliability of responses. This understanding is crucial for making
informed decisions based on the insights provided by GenAI.
These models evolve rapidly over time, so it’s important to keep abreast of recent changes.
16
4.0
Automating,
Assisting and
Augmenting
Project Work
The PMI Thought Leadership report, Shaping the Future of Project
Management, describes a three-tier model for applying GenAI.
Effective prompting is what makes each of these solution tiers
come to life.
17
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
High
Project business
case creation
How complex is the task?
Large dataset
analysis Risk analysis
Project decision
making
Lessons learned
summary Cost and schedule
estimation
Cost-benefit
Report analysis
generation
Meeting notes
summary
Automating Assisting Augmenting
Low
Figure 1: Sample Project Management Tasks That Can Be Automated, Assisted and Augmented
With GenAI
The scope of each of these tiers is described in Figure 1, but a simple way to think about them is:
• Assisting provides highly targeted knowledge management. For example, the AI tool will give
you all of the common risks or potential costs and benefits related to a given project situation.
Assistance helps you fill gaps and include things you may have missed.
• Augmenting is focused on reasoning. When you have a layered challenge, like building a business
case or brainstorming ideas, GenAI can serve as your thought partner, working through the
component parts of a problem until you have solved it. Augmentation helps you step through
tough problems without getting stuck.
18
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
• Persona. Ask the AI tool to play the role of an expert in project management for the industry
and project type you are working on. This allows the tool to deliver a more nuanced version of the
report you are trying to generate.
• Few-shot prompts. If you have an example of the document you are trying to create that
illustrates the desired format and includes the right data elements, provide it to the AI tool as part
of the prompt. This will get you much closer to the result you seek.
Beyond meeting minutes, based on predefined parameters, GenAI can also automate:
ACTION:
An example of an automation
prompt is offered in the Appendix:
“The goal of GenAI is to Summarizing Meeting Minutes. You can
take a project professional’s easily apply this in an upcoming meeting,
mundane tasks and make where you have either recorded a transcript
them easy, like ‘here you or taken robust notes. This should save a
go, this is done.’ Learning great deal of time when reorganizing the
material into a document that is useful to
to leverage it ultimately stakeholders.
increases the value of the
project professional to the
TIP: Prompting for automation typically
organization, because not only
involves documents you create on a regular
is it saving the professional’s basis. Early in the process, your output will
precious time, but it is also not be perfect. The temptation will be to
empowering the professional to simply reuse the prompt as is and clean up
focus on strategic aspects of each document. However, if you are able
the job that no one else can to refine the prompt and solve your issues
do.” that way, you’ve saved “future you” even
more time and effort. This will also make you
- John Signo, Vice President, VP DMT Delivery better at prompting in general.
Lead, Bank of America, USA
19
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
Gaining GenAI assistance on project tasks using prompts helps avoid potential gaps in sets of options
that may occur when generating a document or simply brainstorming. Further, it can be your secret
weapon when venturing into new territory. AI tools can provide quick summaries, present unfamiliar
concepts and explain existing perspectives in any domain you might be new to.
With assistance, the following prompt patterns are very useful, in addition to the persona prompt
pattern discussed earlier:
• Flipped interaction. Ask the tool: “What additional questions would you ask in this situation?” This
prompt can yield avenues of inquiry you had not previously considered, particularly toward the end
of the conversation.
• Alternative approaches. Different approaches can help you identify new ways of looking at a
problem, which can provide a “devil’s advocate” position.
• Question refinement. Narrowing down the focus can lead to the right set of answers, simply by
zeroing in on the root of the problem.
In addition to the few-shot prompting technique, the following prompting techniques are also helpful:
• Chain-of-thought (CoT). As the AI tool surfaces new options, clarification may be required. You
may want to understand the options in order of priority, or you may want to understand the
entire option set as an interrelated system. Finding the right information requires drilling down by
asking more questions that follow a logical line of inquiry.
10 Gregersen, H., & Bianzino, M. N. (2023, May 26). AI Can Help You Ask Better Questions — and Solve Bigger Problems. Harvard Business Review.
20
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
• Brainstorming exercises
21
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
22
4.0 AUTOMATING,ASSISTING AND AUGMENTING PROJECT WORK
SIDEBAR
B. Industry:
i. New to the industry
ii. Medium level of industry
knowledge
iii. Industry expert
C. Project management
approach:
i. New to the approach
ii. Medium knowledge of
the approach
iii. Expert in the approach
23
5.0
Further Guidance
5.1 Excellent Prompting References
Prompt patterns and the prompting techniques discussed in this
report are certainly not the only ones out there. In fact, providers
of popular GenAI tools — including OpenAI,11 IBM,12 Microsoft13 and
Meta14 — have created their own prompt engineering guides that
enable users to learn how to create prompts that best fit with their
context.
24
5.0 FURTHER GUIDANCE
• Generative AI Overview for Project Managers: This is an online, introductory PMI course on GenAI, that
is free for PMI members.
• Artificial Intelligence Online Community: Connect with colleagues to learn and share about AI.
• Thought Leadership: Curated content from PMI about how AI is impacting project management.
25
6.0
Appendix:
Plug-and-Play
Prompt Ideas
for Project
Professionals
Relying on recognition, not recall, can help project professionals to yield the
best results. To that end, creating a library of plug-and-play prompts can
help you optimize a tool tailored to your specific use of GenAI.
26
6.0 APPENDIX: PLUG-AND-PLAY PROMPT IDEAS FOR PROJECT PROFESSIONALS
This approach can help project teams to save time and effort when developing prompts,
and ensure the prompts are effective in guiding the LLM to produce the desired output at
the same time. Further, it can standardize the prompt engineering process across different
GenAI tools and team members.
The example prompts provided in this appendix are a solid starting point. Over time, you will
want to refine these to reflect your personal style and preferences. Note that they include
a robust description of a persona and a clear example of the intended output. You can add
other tasks that could benefit from automation, assistance or augmentation along the way.
Directions: Please replace the highlighted words below with your specific project details.
Instructions: Follow the seven-step process detailed below to summarize meeting minutes.
Follow each step completely and in order. The goal is to produce the highest quality
document possible.
27
6.0 APPENDIX: PLUG-AND-PLAY PROMPT IDEAS FOR PROJECT PROFESSIONALS
28
6.0 APPENDIX: PLUG-AND-PLAY PROMPT IDEAS FOR PROJECT PROFESSIONALS
• Risk name: A brief title that encapsulates the essence of the risk.
• Description: A detailed explanation of the risk, including how it specifically relates to the
[Project type] in the [Industry] and the identified challenges.
• Level of impact: Assess the potential impact of the risk on the project’s objectives,
categorizing it as high, medium or low. Consider factors such as cost overruns, delays and
quality issues.
• Likelihood: Evaluate the probability of the risk occurring, categorizing it as high, medium or
low, based on your expertise and experience in the industry.
The matrix should cover a variety of risk categories, including but not limited to budgetary
concerns, scheduling conflicts, technological challenges, regulatory changes, resource
availability, scope creep, stakeholder engagement, data security, quality assurance and
external dependencies.
The goal is to create a visually engaging and informative risk matrix that not only highlights
potential risks, but also serves as a strategic tool for mitigating these risks effectively. Your
matrix should enable project stakeholders to quickly understand the risk landscape and make
informed decisions to ensure project success.
The format of the risk matrix should be in a table that can be copied and pasted into any
other document. Mirror the example below.
29
Level of Impact
Likelihood (High/
Risk Name Description (High/Medium/
Medium/Low)
Low)
30
6.0 APPENDIX: PLUG-AND-PLAY PROMPT IDEAS FOR PROJECT PROFESSIONALS
Consider:
• Range of outcomes implied by the complex question.
• Sources of resistance.
• Potential risks and mitigation plans.
• Key project milestones and their contributions to overall objectives.
Instructions:
• Consider and compare alternative solutions or tools in terms of benefits, costs and risks.
• Define criteria for the final decision, ensuring alignment with organizational values and
priorities.
• Establish measures for decision success and feedback mechanisms for ongoing
improvement.
31
7.0
Acknowledgments
• Bart Gerardi, Senior Manager, Software Engineering, Redfin,
United States
• John Signo, Vice President, VP DMT Delivery Lead, Bank of America, USA
United States
32
7.0 ACKNOWLEDGMENTS
• State of the Profession – Inform project professionals of the latest trends and practices
to improve project management effectiveness and success as well as to advance the
profession.
• Enterprise & Innovation – Inspire and provide strategic direction to senior executive leaders
to help transform their organizations for long-term growth.
Grounded in analytical insights and practical recommendations, our work empowers our
community to successfully navigate dynamic business landscapes and society.
33
PMI.org
©2024 Project Management Institute. All rights reserved. “PMI” and the PMI logo are marks of Project Management Institute, Inc.
For a comprehensive list of PMI trademarks, contact the PMI Legal Department.