Suffolk University • Sawyer Business School

The Art of Prompt Engineering

Master the craft of communicating with AI — from techniques to API calls

Session 3 of 13
150 Minutes
40 Students
Hands-On Learning
01 // LEARNING OBJECTIVES

What You'll Learn Today

By the end of this session, you'll have both conceptual understanding and hands-on experience with the foundations of AI.

01

Master Prompt Engineering Fundamentals

Learn core techniques: zero-shot, few-shot, chain-of-thought, role prompting, and structured outputs.

02

Apply the CRAFT Framework

Use Context, Role, Action, Format, and Tone to write prompts that get consistent, high-quality results.

03

Make Your First API Call

Understand how APIs work and connect to Claude programmatically using Python.

04

Build Something Real

Create a working AI-powered application — email analyzer, meeting summarizer, or product description generator.

02 // SESSION AGENDA

Today's Journey

A carefully crafted progression from concepts to hands-on building.

5:00 PM - 5:25 PM

Part 1: Prompt Engineering Fundamentals

25 minutes

Why prompt clarity matters. Transform vague requests into precise instructions.

  • Live demo: Weak vs strong prompts — same task, dramatically different results
  • The 6 core techniques: zero-shot, few-shot, chain-of-thought, role, structured output, chaining
  • Why explicit beats implicit every time
5:25 PM - 5:45 PM

Part 2: The CRAFT Framework

20 minutes

A memorable system for writing effective prompts every time.

  • C = Context: Background and situation
  • R = Role: Who the AI should be
  • A = Action: What to do
  • F = Format: How to structure output
  • T = Tone: Voice and style
  • Live transformation of real prompts using CRAFT
5:45 PM - 6:10 PM

Part 3: Prompt Reflection Lab

25 minutes

Analyze your own AI conversations and discover your prompting patterns.

  • Paste your real AI conversation logs into the AI Collaboration Analyzer
  • Get scored across 6 dimensions: Clarity, Context, Structure, Iteration, Critical Thinking, Efficiency
  • Discover your AI Collaboration Level: Novice, Developing, Skilled, or Master
  • Partner discussion: What surprised you? What will you change?
6:10 PM - 6:20 PM

Break

10 minutes

Stretch, grab coffee, let the concepts settle.

6:20 PM - 6:45 PM

Part 4: API Integration

25 minutes

From chat interface to code — how to build AI into real applications.

  • What is an API? (Software talking to software)
  • Anatomy of an API call: model, messages, tokens, temperature, system prompts
  • Live demo: Your first API call to Claude
  • Understanding costs: tokens, pricing, and ROI thinking
6:45 PM - 7:15 PM

Part 5: Build Your Application

30 minutes

Hands-on Google Colab workshop — build a real AI-powered tool.

  • Open the pre-built Colab notebook
  • Choose your project: Email Tone Analyzer, Meeting Summarizer, or Product Description Generator
  • Apply the CRAFT framework programmatically
  • Test, iterate, and refine your prompts
7:15 PM - 7:35 PM

Part 6: Prompt Battle Royale

20 minutes

Competition time! Who can craft the best prompt for a given task?

  • Challenge: Write a prompt that generates a compelling LinkedIn post
  • Judging criteria: Prompt structure, output quality, creativity
  • Winner gets bragging rights (and maybe extra credit)
7:35 PM - 7:50 PM

Part 7: Wrap-Up & Preview

15 minutes

Key takeaways, homework, and what's coming next.

  • 4 key insights to remember
  • Download the Prompt Engineering Cheat Sheet
  • Homework overview
  • Preview: AI Agents & Workflows in Session 4
03 // INTERACTIVE RESOURCES

Tools & Learning Materials

Everything you need to explore, experiment, and build.

Download

Prompt Engineering Cheat Sheet

Print-ready one-page reference with CRAFT framework, techniques, Quick Wins, and API basics. Keep it next to your computer!

Open cheat sheet
Hands-On

Colab Workshop Notebook

Hands-on notebook for building your first AI application. Includes Email Analyzer, Meeting Summarizer, and Product Description Generator.

Open in Colab
Docs ?

Anthropic Documentation

Official documentation for Claude API. The source of truth for building with Claude.

Read docs
Tool ?

API Console

Get your API key, monitor usage, and manage billing for Claude API access.

Get API key
Guide ?

Prompting Guide

Comprehensive resource covering all prompt engineering techniques with examples and research.

Learn more
Code ?

Anthropic Cookbook

Code examples and recipes for common Claude use cases. Perfect for reference.

View examples
04 // HANDS-ON ACTIVITIES

Learning by Doing

Three interactive challenges to build your intuition.

? Activity 1

Prompt Reflection Lab

Paste your real AI conversation logs into the AI Collaboration Analyzer and discover your prompting patterns:

1

Grab 2-3 real AI conversations

From claude.ai, ChatGPT, or any LLM. Copy the full chat (your prompts + AI responses).

2

Use the Analyzer Prompt

Copy the AI Collaboration Analyzer prompt (in class materials) into a new chat session and paste your logs.

3

Get your AI Collaboration Level

Receive scores across 6 dimensions and your level: Novice, Developing, Skilled, or Master.

4

Reflect with a partner

Discuss: What surprised you? What's your biggest strength? What will you change?

? Activity 2

Prompt Transformation Challenge

Take weak prompts and transform them using the CRAFT framework:

1

Start with a weak prompt

"Help me with a presentation" or "Write me an email"

2

Apply CRAFT

Add Context, Role, Action, Format, and Tone systematically.

3

Compare outputs

Run both prompts and see the dramatic difference in quality.

Activity 3

Build Your AI Application

Use Google Colab to make real API calls and build a working AI-powered tool:

1

Open the Colab notebook

Pre-configured with everything you need to get started.

2

Add your API key

Use class-provided credits or your own Anthropic API key.

3

Choose your app

Email Tone Analyzer, Meeting Summarizer, Product Description Generator, or your own idea!

4

Test & iterate

Refine your prompts until the output is production-quality.

? Activity 4

Prompt Battle Royale

Competition time! Given a task, who can craft the prompt that produces the best output?

Challenge
Write a prompt that generates a compelling LinkedIn post
announcing a new AI feature at your (fictional) company.

Requirements:
- Professional yet engaging tone
- Under 200 words
- Includes a call-to-action

Judging: Clarity of prompt structure, quality of output,
creativity, and adherence to constraints.
05 // KEY TAKEAWAYS

What to Remember

Clarity beats cleverness. Explicit instructions outperform vague requests every single time.

?

CRAFT is your friend. Context, Role, Action, Format, Tone — a framework for consistent results.

?

Iterate, iterate, iterate. Great prompts are refined through experimentation, not written perfectly the first time.

?

APIs unlock applications. Move from chat to building real products with AI.

06 // HOMEWORK

Before Next Session

Complete these tasks before our next class to prepare for prompt engineering.

Practice: Write 5 prompts using the CRAFT framework for real tasks in your life or work. Document the before/after quality difference.
Build: Complete the Colab notebook. Successfully make 3 different API calls with different prompts.
Read: Browse the Anthropic Cookbook on GitHub. Pick one example that interests you and understand how it works.
Think: Identify a real business process at a company you know that could be improved with AI. Draft a proposal outline.
Coming Next

Session 4: Building AI Agents & Workflows

Take your skills further: chain prompts together, give Claude access to tools, and build AI systems that take action in the real world.

Multi-step AgentsTool UseRAG IntroductionReal-World Projects