Prompt Power-Ups Timing Guide (2 Hours)
Audience: Ages 10-16, basic computer familiarity.
Goal: Write clear prompts, evaluate AI output, iterate, and use Playwright MCP.
0:00-0:15 — Welcome, Fork, Codespace, Pages
- Objective: get everyone forked, in a Codespace with Copilot + Playwright MCP running, and publishing to GitHub Pages.
- Flow:
- Quick introductions and series overview (what are we building over 4 workshops?)
- Each student forks
Lansing-Tech-Studio/quiz-gameto their own account - On their fork, Code → Codespaces → Create codespace on main (starts the ~2 min container build in the background)
- In a second browser tab on the same fork: Settings → Pages →
Source =
main/ root → Save. The live URL appears within a minute - When the Codespace opens, verify Copilot Chat is signed in (Copilot icon in the sidebar) and the Playwright MCP server is listed in its tools
- Test: everyone asks Copilot Chat a simple question to confirm it works
- Watch for:
- Students whose GitHub account doesn’t have Copilot access — pair them up or have a backup account ready
- Students who skip the Pages step — without it, they won’t see their app live on the web at the end of the workshop
- First-time Codespace creation can take longer than rebuilds; the Pages wait runs in parallel — use the time to introduce the series
- The Playwright MCP server takes ~10–20 seconds to register after the Codespace finishes — refresh Copilot Chat if it doesn’t appear
- Tip: have early finishers help neighbors. Pairing the slowest student with the fastest is a great bonding moment.
0:15-0:30 — What Makes a Good Prompt?
- Objective: show that prompt quality directly affects output quality.
- Demo:
- Type “make me a quiz” into Copilot Chat — show the output
- Type a detailed prompt with role, context, task, constraints, and example
- Compare the two outputs side by side
- Flow:
- Show the bad prompt and ask: “What’s wrong with this?”
- Show the good prompt and ask: “What changed?”
- Introduce the 5 parts: role, context, task, constraints, examples
- Analogy: “Giving directions to someone who has never been to your house”
- Watch for:
- Students who think one word is enough (“it should just know what I want”)
- Reinforce: AI has no context unless you give it context
- Tip: keep the bad prompt output on screen during the good prompt demo so students can see the contrast.
0:30-0:55 — Prompt Builder Challenge
- Objective: students build a working quiz app through iterative prompting.
- Flow:
- Round 1: vague prompt — “make me a quiz” — run the code, see what happens
- Round 2: add context and constraints — run the code, compare
- Round 3: add examples — run the code, compare
- Students continue refining until they have a working quiz
- Your role: circulate, ask “What did you change in your prompt?” and “Did the output match what you wanted?”
- Watch for:
- Students who copy the exact prompt from the slides instead of writing their own
- Students who get a working quiz early (encourage them to add more questions or change the topic)
- Students whose code doesn’t run (help them paste the error back to Copilot)
- Common issues:
- AI generates code with syntax errors — tell AI the exact error message
- Quiz doesn’t display correctly — this is what Playwright will help with later
- Students want to make it “perfect” — remind them we’ll improve it over 4 workshops
- Tip: the quiz app should be functional but messy by design. Don’t help students clean up the code structure — that’s Workshop 2’s job.
0:55-1:05 — Break
- Encourage movement and rest.
- Put a prompt on screen: “Write down one thing that surprised you about AI output.”
- Use the break to check in with anyone who is behind.
1:05-1:25 — Playwright MCP: AI Sees Your App
- Objective: show students that AI can see and interact with their web page.
- Setup (students):
- Right-click the quiz HTML file → Show Preview (Live Preview extension is pre-installed); note the forwarded URL shown in the Ports panel
- Confirm the page loads in a side-by-side preview pane
- Demo:
- Ask Copilot Chat to open the forwarded URL using Playwright
- AI takes a screenshot and describes what it sees
- Ask AI to suggest improvements based on what it sees
- Apply one improvement, save, then have AI check again
- Flow:
- Instructor demos the full cycle: prompt → Playwright → screenshot → fix
- Students try it on their own quiz apps
- Encourage specific prompts: “The buttons are too small” not “make it better”
- Watch for:
- Playwright MCP not in the tool list — refresh Copilot Chat or check that the Codespace finished its postCreateCommand
- Students using the public Codespaces preview URL (works, but slower) vs.
http://localhost:<port>inside the container (faster — Playwright runs inside the same container as the live preview) - Students asking for too many changes at once (remind: one thing at a time)
- The “wow moment” when AI describes their actual page — let it land
- Tip: this section is the highlight. Give students time to experiment. If they’re engaged, let this section run a few minutes longer and shorten the checklist section.
1:25-1:45 — Build Your Prompt Checklist
- Objective: students create a personal tool they’ll carry through the series.
- Flow:
- Hand out the worksheet template with blank checklist
- Discuss as a group: “What questions should you ask yourself after writing a prompt?”
- Students fill in their own wording and examples
- Introduce system prompts and have students save one for “quiz app developer”
- Watch for:
- Younger students (10-12) may need a mostly-filled-in template to customize
- Students who rush through — encourage them to use their own words, not copy
- Tip: the checklist is more valuable if students own the language. “Did I give examples?” in their own words is better than a pre-printed checklist.
1:45-1:55 — Save Work and Publish
- Objective: introduce the git save workflow they’ll use throughout the series, and show them their app live on the web.
-
Git flow:
git add . git commit -m "Initial quiz app from Workshop 1" git push - After push: open each student’s
https://<username>.github.io/quiz-game/URL — the live quiz should appear within ~1 minute. This is a strong end-of- workshop moment (“your app is on the internet, anyone can play it”). - Watch for:
- Students who haven’t used git before (pair with someone experienced)
- Students who didn’t enable Pages in 0:00–0:15 — fix it now so they don’t miss the live-site reveal
- Pages cache (~1 min after push); if it doesn’t update, refresh after a short wait
- Tip: keep this brief. Git basics are covered in depth in Workshop 3.
1:55-2:00 — Wrap-Up and Preview
- Prompts:
- “What was the biggest difference between your first prompt and your last?”
- “When did AI surprise you today?”
- Bridge: “Your quiz works, but look at the code — everything is in one big pile. Next time, we’ll organize it piece by piece so we can safely add features.”
- Reminder: bring your prompt checklist to Workshop 2!
General Tips Throughout
- Normalize bad output: “This is exactly what happens with a vague prompt.”
- Celebrate iteration: “You improved the prompt 3 times — that’s the skill.”
- Resist cleaning up: the messy code is Workshop 2’s motivation. Do not help students refactor or organize their files today.
- AI lies confidently: when you spot AI giving wrong information, point it out casually. Build the habit of skepticism without making it scary.