Lesson 7: Effective prompting techniques (Deep Dive) | AI Fluency: Framework & Foundations Course — Transcript
Full transcript
- 0:09[Music]
- 0:12Let's explore one of the most practical
- 0:14skills when working with AI. Crafting
- 0:16effective prompts. This might sound
- 0:18technical or complicated, and some
- 0:20guides certainly make it seem that way,
- 0:22but at its heart, it's surprisingly
- 0:24straightforward. Prompting is simply how
- 0:26we apply this course's description
- 0:27competency in practice. clearly
- 0:30communicating what we want, how we want
- 0:31it done, and how we want to interact
- 0:33with our AI assistant throughout the
- 0:35entire process. Think of prompting like
- 0:37explaining a task to a helpful new
- 0:39colleague who's eager to assist, but
- 0:41needs clear directions and expectation
- 0:43setting to do their best work. We'll be
- 0:45using Claude throughout this section,
- 0:47but these tips can be carried over to
- 0:49many other AI systems. You might have
- 0:52heard the term prompt engineering tossed
- 0:54around. Prompt engineering is simply the
- 0:56practice of designing effective
- 0:58instructions for AI systems like Claude.
- 1:01It's about crafting your questions and
- 1:02providing context in ways that help AI
- 1:04assistants understand exactly what you
- 1:07want. What's fascinating is that
- 1:09effective prompting blends familiar
- 1:11human communication skills with a few
- 1:13considerations specific to AI. Many
- 1:16principles that make for good human
- 1:17conversation, such as being clear,
- 1:19providing relevant context, and giving
- 1:21concrete examples, also apply when
- 1:23working with AI. Yet, there are
- 1:25differences, such as being more explicit
- 1:27about things humans could naturally
- 1:28infer, and accommodating the AI's
- 1:31limited context window, and sometimes,
- 1:33depending on the AI you're working with,
- 1:35using specific formatting that machines
- 1:37can easily process. As AI assistants
- 1:40continue to evolve, prompting best
- 1:42practices evolve, too. What works with
- 1:44today's AI systems may be different from
- 1:46what works with tomorrow's.
- 1:48Experimentation is key to discovering
- 1:50what works best for your specific needs.
- 1:52In this video, we'll mainly explore six
- 1:54foundational prompting tips that will go
- 1:56a long way toward helping you
- 1:57effectively communicate and collaborate
- 1:59with Claude and other AI systems. They
- 2:01are give Claude context, show examples
- 2:04of what good looks like, specify output
- 2:07constraints, break complex tasks into
- 2:10steps, ask Claude to think first, and
- 2:13define Claude's role, style, or tone.
- 2:15The first principle is simple but
- 2:17powerful. Be specific and clear about
- 2:19what you want, why you want it, and
- 2:21perhaps most surprisingly, who you are.
- 2:24Let's take a simple prompt. Tell me
- 2:26about climate change. How can we improve
- 2:29this by giving Cloud more context? A
- 2:31more specific contextrich version could
- 2:33look like, explain three major impacts
- 2:36of climate change on agriculture in
- 2:38tropical regions with examples from the
- 2:40past decade. Our baseline prompt was
- 2:43vague and leaves clawed guessing about
- 2:44our interests, level of knowledge, and
- 2:46the depth of detail we're looking for,
- 2:48such as geography and time span. We can
- 2:50even add more context by providing
- 2:52information not just about what we're
- 2:54looking for, but why we're asking and
- 2:56how we'll be using that information that
- 2:58Claude gives us. Now, our prompt looks
- 3:00like this. Explain three major impacts
- 3:02of climate change on agriculture in
- 3:04tropical regions with examples from the
- 3:06past decade. I'm preparing for a job
- 3:09interview at an agricultural research
- 3:10lab in Indonesia. I have a degree in
- 3:13ecology, but no specific knowledge on
- 3:15climate change. write a summary of key
- 3:17concepts that would help me speak
- 3:18intelligently in the interview. All this
- 3:21added context helps tailor Claude's
- 3:23response to your specific situation and
- 3:25knowledge level. This kind of background
- 3:26information is something we naturally
- 3:28provide in human conversations, but
- 3:30might forget to include when talking
- 3:31with Claude. Sometimes showing is better
- 3:34than telling. Providing examples of the
- 3:36kind of output you're looking for can be
- 3:38incredibly effective. This is sometimes
- 3:40called fshot prompting or nshot
- 3:42prompting in technical circles where n
- 3:44is the number of examples given but it's
- 3:47really just about showing the AI
- 3:48examples for it to emulate. For
- 3:50instance, take the following prompt.
- 3:52Please convert this technical statement
- 3:54to plain language. The platform
- 3:56implements end-to-end encryption
- 3:57protocols to safeguard data integrity.
- 4:00Clog may already be able to do this to
- 4:02your satisfaction. So we definitely
- 4:04recommend you just try first without
- 4:06examples and see where it leads you. But
- 4:08let's say you have a very specific style
- 4:10you want Claude to follow, and it's
- 4:12harder to explain than to give examples.
- 4:15Your refreshed prompt could look
- 4:16something like this. Here are two
- 4:19examples of how to convert technical
- 4:20jargon into plain language. Original,
- 4:23the quantum algorithm exhibits quadratic
- 4:25speed up. Plain, the new method solves
- 4:27problems roughly twice as fast as
- 4:29previous methods. Original, the
- 4:32interface leverages intuitive design
- 4:33paradigms. Plain, the design is easy to
- 4:36understand and use. Now, please convert
- 4:39this complex technical manual to plain
- 4:41language. When providing examples, aim
- 4:43to cover the full diversity of possible
- 4:45prompts, such as examples that cover
- 4:47different cases or styles. This helps
- 4:50Claude better understand the broad range
- 4:51of the pattern you want it to follow.
- 4:53Being clear about output constraints,
- 4:55such as the desired format and length of
- 4:57Claude's response, or the language you
- 4:59want Claude to code in, or the color of
- 5:01the buttons on the web page you want
- 5:03Claude to design, also helps ensure you
- 5:05get exactly what you need. Here's an
- 5:08example of clear and detailed
- 5:09description to ensure Claude delivers
- 5:11exactly what you're looking for. Create
- 5:14a clean, modern, single page art
- 5:16portfolio website. Include these main
- 5:18sections: hero, about me, skills,
- 5:19portfolio, projects, experience, and
- 5:21contact. Make the navigation menu sticky
- 5:24and responsive with hamburger menu on
- 5:25mobile. Use a sunset color palette and
- 5:28add a dark light mode toggle in the
- 5:30navigation. Guidance like this helps
- 5:32cloud structure its response to match
- 5:34your expectations. When you have a
- 5:36complicated request, breaking it down
- 5:38into smaller steps helps Cloud follow
- 5:40your thinking and deliver better
- 5:42results. Think about it this way. If you
- 5:45ask a friend to do something for you
- 5:46without specifying how, there's a chance
- 5:48that they may not do it the way you
- 5:50intended them to. We've all been there.
- 5:52Listing out task steps ensures that
- 5:54Claude follows the process you want to
- 5:56in order to accomplish its task. This is
- 5:59sometimes called chain of thought
- 6:00prompting. For example, instead of
- 6:02asking Claude to analyze this quarterly
- 6:04sales data, you might say, "I'd like to
- 6:06analyze this quarterly sales data.
- 6:08Please approach this by looking through
- 6:10our sales records to identify the top
- 6:11performing products, comparing current
- 6:14quarter results to the previous quarter,
- 6:16highlighting any unusual trends or
- 6:17patterns, and then suggesting possible
- 6:19reasons for these trends. By default,
- 6:21you may not need to do this, especially
- 6:23for tasks that are relatively
- 6:24straightforward. Furthermore, modern
- 6:27reasoning models or extended thinking
- 6:29models are increasingly capable of
- 6:31performing step-by-step reasoning on
- 6:33their own, but you can still guide this
- 6:36process to ensure it aligns with your
- 6:37needs. The more variance there is in
- 6:40ways to execute the task well, or the
- 6:42more that proper task execution relies
- 6:44on experience and knowledge you've
- 6:45gained as a domain expert, the more you
- 6:48should consider taking the time to
- 6:49translate that knowledge into Claude.
- 6:51Relatedly, sometimes it can be helpful
- 6:53to explicitly give AI assistants like
- 6:55Claude space to work through its process
- 6:57first before executing its task. This
- 7:00approach helps Claude produce more
- 7:02thorough and well-considered responses.
- 7:04For example, you can add this to your
- 7:06prompt. Before answering, please think
- 7:08through this problem carefully. Consider
- 7:11the different factors involved,
- 7:12potential constraints, and various
- 7:14approaches before recommending the best
- 7:16solution. As I mentioned, modern
- 7:18reasoning or extended thinking models by
- 7:20default think before acting. But if
- 7:22you're working with an AI assistant that
- 7:24does not think first by default, you can
- 7:26still prompt the AI to do so. I want to
- 7:28note the importance of giving the AI
- 7:30assistant space to think before doing
- 7:32its task, not after. If you want that
- 7:35thinking to increase the quality of the
- 7:37AI's work, just like how having space to
- 7:39think before you act is different than
- 7:41acting first, then being asked to
- 7:43explain your thinking afterwards. As a
- 7:45side benefit, this also allows you to
- 7:47better see where the AI assistant might
- 7:49be going astray and thus where you could
- 7:51hone your description competency further
- 7:53by providing more guidance. Specifying
- 7:56how you want cloud to communicate and
- 7:58behave can significantly change how it
- 8:00approaches a task. By specifying the
- 8:02level of expected expertise, the
- 8:04perspective you want it to take, or its
- 8:06communication style, you can guide both
- 8:08Claude's interaction with you and the
- 8:10final result of what it produces. Simply
- 8:12put, who do you want the AI to act as?
- 8:15For example, take this prompt. Please
- 8:17explain how rainbows form from the
- 8:19perspective of an experienced science
- 8:21teacher speaking to a bright 10-year-old
- 8:23who's interested in science. This is
- 8:25also a good way to brainstorm or get
- 8:27feedback. You can specify a general role
- 8:29or even ask Claw to take on the persona
- 8:31of a specific figure, such as Richard
- 8:32Fineman, when asking for physics
- 8:34explanations. Here's another example. As
- 8:37a UX design expert, review this website
- 8:40wireframe and suggest three improvements
- 8:42focusing on user navigation and
- 8:43accessibility. Perhaps the most powerful
- 8:45technique is asking Claude to help
- 8:47improve your prompt. When you're not
- 8:49sure how to ask for something or how to
- 8:51improve your prompt, describe to Claude
- 8:53your issue or situation and ask it to
- 8:55make your prompt better or write your
- 8:56prompt for you. I'm trying to get you,
- 8:59Claude, to help me with goal. I'm not
- 9:01sure how to phrase my request to get the
- 9:04best results. Can you help me craft an
- 9:06effective prompt for this? Here's where
- 9:08Claude and other AI assistants may vary
- 9:10most in terms of performance. So, we
- 9:12suggest you experiment with different
- 9:13models as part of practicing delegation.
- 9:17Effective prompting is iterative and
- 9:19experimental. AI systems and best
- 9:21practices are constantly evolving. So,
- 9:23what works today may change tomorrow.
- 9:25Your first attempt won't always yield
- 9:27the perfect result, and that's expected.
- 9:29When a response isn't quite what you
- 9:31need, try refining your approach by
- 9:33playing around with any of the
- 9:34techniques we mentioned, such as add
- 9:37more specificity or context. Provide
- 9:40examples of your desired output. Break
- 9:42the task into smaller steps and try a
- 9:45different technique or combination of
- 9:47techniques. You can also ask for
- 9:49variations such as, "Can you give me
- 9:50three different versions of this?" You
- 9:53can request different formats such as,
- 9:54"Instead of a paragraph, could you
- 9:56present this in an interactive
- 9:58artifact?" Note that artifacts are a
- 10:00unique way that Claude can create
- 10:01outputs that may be easier to understand
- 10:03or more interesting to digest. You can
- 10:05also check confidence, such as for
- 10:07factual questions, you can ask, "How
- 10:09confident are you about this answer?"
- 10:12You can also reset the conversation
- 10:13entirely. Sometimes starting a fresh
- 10:15conversation gives better results than
- 10:17trying to correct the conversation
- 10:19that's gone off track. Use each
- 10:21interaction as feedback to improve your
- 10:23next prompt. Over time, you'll develop
- 10:25an intuition for how to communicate
- 10:27effectively with all AI systems. As you
- 10:30apply these techniques in practice,
- 10:31here's some guidance to recap. Some
- 10:34patterns consistently work well.
- 10:36Starting with a clear task overview
- 10:37statement, including format
- 10:39specifications and examples, setting
- 10:41explicit constraints or requirements,
- 10:43providing rich and relevant background
- 10:45information, and common mistakes to
- 10:47avoid are assuming that Claude can read
- 10:49your mind, or overloading a single
- 10:52prompt or conversation with multiple
- 10:53unrelated tasks, being too vague about
- 10:56what success looks like, and not
- 10:57providing feedback on previous
- 10:59responses. To recap, effective
- 11:01communication with AI systems like
- 11:03Claude combines timeless human
- 11:04communication principles with AI
- 11:06specific techniques. The approaches
- 11:08we've covered will serve you well across
- 11:10different AI systems. These six
- 11:12principles together with the secret
- 11:13weapon of asking Cloud for help form a
- 11:16solid toolkit for applying the
- 11:17description competence to your AI
- 11:19interactions. Iteration and practice
- 11:21here is the key to Swift improvement and
- 11:24mastery. Remember that prompt
- 11:26engineering is an evolving practice. As
- 11:28models improve, some specific techniques
- 11:30become less necessary. However, these
- 11:33principles of good communication are
- 11:35still relevant even if the way we apply
- 11:37them changes. Maintain a spirit of
- 11:39experimentation and adapt your approach
- 11:42based on your results.
About this transcript
This page contains the full transcript of Lesson 7: Effective prompting techniques (Deep Dive) | AI Fluency: Framework & Foundations Course by Anthropic, generated from the public captions YouTube serves with the video. The transcript has 2,033 words across 338 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.