Companion to index.html. Keep this file in sync whenever slide titles or text content change.
Label: CAIL Spotlight Workshop #1
Title: Foundations: Coding with Generative AI
Date: Spring 2026
Stage: Infinite wheel artifact (src/chainwheel.html)
Label: Workshop Title: Agenda
Stage (agenda table):
Part 1 — Coding & Development Basics:
- Icebreaker (10m)
- What is a Large Language Model?
- Strengths & Limitations
- Setting up an IDE
- The Command Line
- Initializing a Git Repo
Part 2 — Installation & Setup:
- Installing Gemini CLI
- Login Setup
- Exit Ticket
- Next Steps
Tag: Part 1 Title: Coding & Development Basics
Label: Icebreaker · 10 min Title: Where does coding live in your imagination? Subtitle: Pick one. Talk to a neighbor.
Stage (ib-pair):
- A — What would you make if coding were as familiar as writing?
- B — Share a challenge you often face in your research, technical or otherwise.
Label: Demo Title: Vibe Coding in Action
Stage (stageCenter):
- Big: Live walkthrough: building something from scratch with an AI coding agent
- Hint: Watch how a conversation with Gemini CLI turns a plain-language idea into working code — step by step, inside VS Code.
Label: Concept Title: What is a Large Language Model (LLM)?
Stage (stageCenter + spectrumBar):
- Big: A probabilistic pattern engine for text.
- It learns statistical relationships between tokens (not "facts")
- It predicts the most likely next token, step by step
- It generates output by repeating that prediction process
- Pipeline bar: Tokens → Vectors → Attention → Probabilities → Output
Label: Concept Title: How Does an LLM Actually Produce an Answer?
Stage (step-grid, fragments):
- Tokenize — break your prompt into tokens
- Embed — turn tokens into vectors
- Transform — attention mixes information across tokens
- Predict + decode — choose the next token; repeat
- Insight: Your prompt shapes the probability space. The response is a probabilistic approximation of what you like to see. Wording changes can dramatically shift output.
Label: Concept Title: How Do LLMs Generate Code?
Stage (stageCenter):
- Big: Code is just another language pattern.
- The model was trained on large amounts of code + documentation
- It learned patterns in syntax, structure, and common problem solutions
- When you ask for code, it predicts the most likely next tokens in a programming language
- It does not run or test the code unless connected to tools
Label: Concept Title: What's Good / What's Bad
Stage (stageCompare):
- ✓ What Works:
- They autocomplete entire functions, not just words
- They infer intent from partial instructions
- They generalize from patterns they have seen before
- ✗ Where Things Go Wrong:
- Silent logical errors
- Hallucinated functions or libraries
- Outdated APIs
- Confident but wrong assumptions
Tag: Part 2
Title: Development Environment
Accent: #5a8dee (blue)
Label: Concept Title: What is VS Code?
Stage (stageCenter):
- Big: A free code editor that works like a smart writing desk for programmers
- Hint: It highlights your code, catches errors, and connects to tools like Git and AI assistants — all in one window.
- Why VS Code?
- Free, open-source, and runs on Mac, Windows, and Linux
- Built-in terminal, Git support, and thousands of extensions
- Where AI coding agents (like Gemini CLI) do their work
Label: Setup Title: Setting up an Interactive Development Environment
Stage steps:
- Download + install VS Code
- Sign in with your GitHub profile
- Add the GitHub extension; start tracking your project
- Open the integrated terminal — this is where CLI + Git live
Label: Concept Title: What is the Command Line?
Stage (stageCenter):
- Big: A text-based interface for controlling your computer
- Hint: Instead of clicking buttons and icons, you type commands.
- Why use it?
- More powerful and precise control
- Essential for development work
- How AI coding agents interact with your system
Label: Outside VS Code Title: Opening a Standalone Terminal Subtitle: (You won't need this today) Visual: slide-aside (dashed border, FYI badge, muted heading)
Stage (stageCompare):
- macOS — Terminal: 1. Press Cmd + Space → 2. Type "Terminal" → 3. Press Return
- Windows — PowerShell: 1. Press the Windows key → 2. Type "PowerShell" → 3. Press Enter
Note: It's the same terminal. VS Code just puts one inside the editor so you don't have to switch windows.
Label: Tool Title: Command Line Basics Subtitle: Navigating
Stage (cmd-cards, fragments): Each command is a card with text + CRT screen visualization.
pwd— Print your current location · screen: path breadcrumb with blinking cursormkdir my-project— Make a new folder · screen: folder icon pops incd my-project— Move into a folder · screen: arrow enters foldercd ..— Go up one level · screen: arrow exits folder
Label: Tool Title: Command Line Basics Subtitle: Working with Files
Stage (cmd-cards, fragments): Each command is a card with text + CRT screen visualization.
ls— List what's in the folder · screen: three items appear with staggertouch index.html— Create a new file · screen: file icon pops inmv index.html my-project— Move a file into a folder · screen: file slides toward folder
Label: Concept Title: What is Git? What is GitHub?
Stage (stageCompare):
- Local — Git: A version control system that runs on your computer. Tracks every change to your files so you can go back in time, undo mistakes, and work in parallel.
- Cloud — GitHub: A website that stores your Git repositories online. Share code, collaborate with others, and host websites — all from your browser.
Label: Tool Title: Git Basics Subtitle: Setting Up
Stage (cmd-cards, fragments): Each command is a card with text + CRT screen visualization.
git init— Initialize a repo · screen: folder with green .git dot pops ingit add .— Stage your changes · screen: two files slide right toward dashed staging boxgit commit -m "first commit"— Save a snapshot · screen: commit node circle pops in with hash label
Label: Tool Title: Git Basics Subtitle: Syncing & Inspecting
Stage (cmd-cards, fragments): Each command is a card with text + CRT screen visualization.
git push origin main— Push to GitHub · screen: commit node slides right toward cloud shapegit log --oneline— View history · screen: three commit nodes connected by lines stagger ingit status— Check what changed · screen: two files with green/bronze status dots stagger in
Label: Setup Title: Logging into GitHub
Stage (step-grid, fragments):
- Install the GitHub CLI:
brew install gh(macOS) /winget install GitHub.cli(Windows) - Start login from your terminal:
gh auth login - Choose GitHub.com → HTTPS → Login with a web browser
- Copy the one-time code, press Enter, and approve in the browser window that opens
- Back in your terminal you'll see: ✓ Logged in as your-username
Label: Setup Title: Staging, Committing, and Pushing to GitHub
Stage (step-grid, fragments):
- Create a README file:
touch README.md - Stage your files:
git add README.md - Commit your changes:
git commit -m "first commit" - Create a GitHub repo:
gh repo create my-project --public --source=. - Push your code to GitHub:
git push -u origin main - Visit github.com/your-username/my-project to see it live
Tag: Part 2
Title: Installation & Setup
Subtitle: Getting Gemini CLI running on your machine
Accent: #2ea043 (green)
Label: Setup Title: Installing Gemini CLI
Stage (stageCompare):
- Windows — PowerShell: 1. Install Node.js LTS from nodejs.org → 2. Reopen PowerShell → 3.
npm install -g @google/gemini-cli - macOS — Terminal: 1. Install Homebrew from brew.sh → 2. Add Homebrew to PATH → 3.
brew install gemini-cli
Label: Setup Title: Login Setup
Stage (step-grid, fragments):
- Run
geminiin your terminal to start authentication - Choose "Login with Google" and follow the browser prompt
- Free tier: 60 requests/min · 1,000 requests/day
- Having technical issues? Just ask!
Label: Check-in Title: Troubleshooting
Stage (stageCenter):
- Big: Having trouble installing or logging in?
- Hint: VS Code, GitHub CLI, Git, Gemini CLI — if anything didn't work, now's the time to fix it together.
- Raise your hand — we'll come to you
- Help a neighbor if you're all set
- No issue too small to ask about
Label: What's Next Title: What's Next
Stage (step-grid, fragments):
- Vibe-Coding Prototypes — Tuesday, March 10 · 4:00–5:30 pm. Use AI from the command line to build a small prototype. We'll model prompting, project design, and troubleshooting — then you'll customize a feature of your own.
- Register for the next workshop — Prerequisite: this workshop, or prior familiarity with the command line and Git/GitHub.
- In the meantime: experiment with Gemini CLI on your own! Try building a small page, asking it to explain code, or exploring a new idea from your terminal.
Label: Resources Title: Links & References
Stage (link list):
- ailab.gc.cuny.edu — CUNY AI Lab — home page, announcements, and model notes
- ailab.gc.cuny.edu/resources — CAIL Resources — guides, readings, and workshop materials
- chat.ailab.gc.cuny.edu — CAIL Sandbox (Open WebUI) — GLM 5, Kimi K2.5, and more
- tools.ailab.gc.cuny.edu — CAIL Tools — additional lab utilities and experiments
- newmedialab.cuny.edu — CUNY New Media Lab — workshop series host
- aitoolkit.gc.commons.edu — GC AI Toolkit — curated tools and resources for the Graduate Center community
- github.com/cuny-ai-lab — CUNY AI Lab on GitHub — open source repos, workshop decks, datasets
- cuny-ai-lab.github.io/Vibe-Coding-Workshop — Vibe Coding Workshop deck — companion CAIL workshop
- code.visualstudio.com/docs — VS Code documentation — setup, extensions, integrated terminal
- github.com/google-gemini/gemini-cli — Gemini CLI — open-source AI coding agent that runs in your terminal
- developers.googleblog.com/gemini-cli-vs-code… — Gemini CLI + VS Code — native diffing and context-aware workflows
- docs.github.com — GitHub documentation — repos, Pages, pull requests, Actions
Last synced: 2026-03-02 (split slide 18 git commands into two cmd-cards slides: 18 git-setup, 19 git-sync; renumbered 19→20 through 26→27; deck now 27 slides). Update both this file and index.html together.