Designed for tablet+. View on a tablet or larger screen for the intended layout.
CORE_WORKSHOP_v1.0
SPEAKER NOTES MODE — press s to hide
BLOCK 1 · FOUNDATIONS 9:10 – 9:45 · 35 min · 20L / 15HO

TOPIC 1.2 / 3 · LEVEL SET

Prompts & Layer Walk

What goes into a working prompt — and when to use each piece. AI writes the prompts; you direct. The v5 prompt you produce with an AI coach feeds Block 2.

1.2.1

The naked prompt problem

3 min Lecture
Slide 1 / 2 · The naked prompt

This is a naked prompt

Summarize this codebase.

6 words. Zero scaffolding. Reliable garbage.

Slide 2 / 2 · Three runs

Same prompt, three runs

  • Run 1: bullet list, no structure
  • Run 2: prose paragraph, different framing
  • Run 3: half-correct facts, no schema

Non-deterministic by accident, not by design.

1.2.2

The six prompt components

3 min Lecture
Slide 1 / 2 · Components

The anatomy of a real prompt

#ComponentWhat it does
1RoleWho the model is supposed to be
2TaskWhat it's supposed to do
3ContextWhat it needs to know
4ExamplesWhat "good" looks like
5FormatThe output's shape
6ConstraintsThe rules it must follow
Slide 2 / 2 · Anatomy

Naked prompts skip 5 of 6

  • "Summarize this codebase" has only task
  • Every layer we add is one of these components
  • Most prompt failures are missing-component failures, not "model is dumb"
1.2.3

The ambiguity tax

3 min Lecture
Slide 1 / 2 · Clarity

The Ambiguity Tax

  • Every ambiguous word in your prompt = a coin flip
  • The model resolves ambiguity by guessing
  • More ambiguous words = more guesses = more variance
  • Clarity is the single highest-leverage edit
Slide 2 / 2 · Before / after

Before / after

Before:

Summarize this codebase.

After:

Produce a one-page briefing of this codebase
covering: architecture, entry points, data flow,
key dependencies, test patterns.

"Summarize" was the tax. We just paid it down.

1.2.4

Chain-of-thought

4 min Lecture
Slide 1 / 3 · CoT

The highest-leverage technique

  • Tell the model to think in steps before answering
  • Doubles or triples accuracy on multi-step tasks
  • Two flavors: explicit steps, or "let's think step by step"
  • Free. No new tooling. Just words.
Slide 2 / 3 · Applied

CoT applied to repo inspection

First, scan the directory structure.
Then, identify the entry points.
Then, trace data flow from entry to output.
Then, summarize.

4 steps. Each constrains the next.

Slide 3 / 3 · When to use

Use CoT when…

  • The task has > 1 logical step
  • Errors compound across steps
  • You want to audit the model's reasoning
  • Output should reflect a process, not a guess
1.2.5

★ The 5 components — and when to use each

4 min Lecture LOAD-BEARING — DO NOT CUT

AI will write your prompts. Knowing what makes up a prompt — and when each piece earns its keep — is the durable skill.

Slide 1 / 3 · The components

Five components. Five "when" signals.

LayerComponentWhen you need it
0 — NakedJust the taskSingle-shot, throwaway, exploration
1 — RoleWho the model isOutput needs perspective or domain framing
2 — ExamplesOne worked exampleOutput shape is non-obvious or has many valid forms
3 — CoTSteps before answerTask has multiple logical steps; errors compound
4 — ConstraintsFormat, schema, output shapeOutput will be parsed, validated, or fed downstream
5 — SafetyWhat not to doOutput goes to production, users, or regulated context
Slide 2 / 3 · The durable skill

AI writes. You direct.

  • You will not hand-author prompts in production. You'll work with AI to author them.
  • But the AI doesn't know which components your task needs.
  • Your judgment fills that gap: "add an example here," "this needs a schema," "this is going to prod — add safety."
  • The 5 components are the vocabulary you bring to that conversation.
  • Knowing when matters more than knowing how to type.
Slide 3 / 3 · Next

Now you direct an AI coach

  • Pick any AI chat — Claude, Gemini, ChatGPT
  • Paste our optimizing prompt + your starting seed
  • The AI asks you questions about your task; you bring the judgment
  • Together you produce a v5 prompt for Project Inspector
  • The v5 you produce feeds Block 2 as your skill body
1.2.6

Advanced patterns awareness pass

3 min Lecture
Slide 1 / 2 · Three patterns

Beyond CoT — what else exists

PatternOne-line use case
Tree of Thought (ToT)Branch multiple reasoning paths; pick the best one
Self-ConsistencyRun CoT N times; vote on the answer
ReActInterleave reasoning with tool calls (reason → act → observe → repeat)
Slide 2 / 2 · When they matter

When the 5 components aren't enough

  • ToT — when there are multiple plausible approaches
  • Self-Consistency — when you need confidence, not just an answer
  • ReAct — when the model needs to act on the world, not just think
  • Sam's block (Block 3) lives at the ReAct altitude in practice
1.2.7

★ HO — AI-as-Coach: collaborate to v5

15 min Hands-on LOAD-BEARING — V5 FEEDS BLOCK 2

You direct an AI coach to enhance your Project Inspector prompt. The 5 components are your vocabulary; the AI does the typing.

Slide 1 / 4 · The exercise

What you'll do (15 min)

  1. Open any AI chat — Claude, Gemini, ChatGPT, your tool of choice
  2. Copy the optimizing prompt (slide 2) → paste → send
  3. The AI will ask for your prompt → reply with your starting seed (slide 3)
  4. Answer the AI's 2–3 clarifying questions; bring judgment about which components your task needs
  5. When the AI proposes a v2.0, check it against the rubric (slide 4)
  6. Save the v5 — you'll paste it into a SKILL.md in Block 2

Working solo or with your neighbor — your call.

Slide 2 / 4 · The optimizing prompt

Copy this. Paste into your AI chat. Send.

Act as a Senior Prompt Engineer. Your goal is to help me refine and optimize
a prompt for maximum performance. When I provide a prompt, please follow these steps:

1. Critique: Review the prompt for structure, coherence, and clarity.
   Identify any ambiguous phrasing or "fluff" that might confuse an LLM.
2. Intent & Specificity: Evaluate if the prompt provides enough context
   and clear constraints. Identify what might be missing to achieve a high-quality result.
3. Clarifying Questions: Before providing the final version, ask me 2–3
   targeted questions to bridge any gaps in context, tone, or intended output format.
4. The Optimization: Once I answer, provide the "v2.0" version of the prompt
   using best practices (e.g., Role-assigning, Delimiters, Chain-of-Thought prompting).

Do you understand? If so, please ask me for the prompt you'd like to optimize.

[your current prompt]

Same optimizing prompt works in any AI chat. Pick whichever you brought. The [your current prompt] line at the end is a placeholder — your seed goes there in your next reply.

Slide 3 / 4 · Your follow-up reply

After the AI asks — send your seed

Minimal (Layer 0):

Summarize this codebase.

Slightly enriched (Layer 0+): if you want to start with a little context.

Summarize this codebase so a new engineer onboarding to the project can get oriented quickly.

Both are valid. Minimal lets the AI ask more clarifying questions; enriched starts the conversation further along. Your call.

Slide 4 / 4 · Self-check rubric

Your v5 should have…

ComponentShould include
ROLESenior engineer onboarding to a new project (or similar perspective)
EXAMPLEOne worked briefing — shape of the output anchored
STEPSNumbered steps: scan → identify entry points → trace data flow → summarize
FORMATJSON with named keys: {architecture, entry_points, data_flow, key_dependencies, test_patterns}
SAFETYNo path hallucination; "unclear" when uncertain

If you hit all five, save it — that's your v5. Block 2 starts from there.