Build explorative, interactive learning experiences as Next.js apps using the Geist design system. Use when creating tutorials, explorable explanations, interactive lessons, code sandboxes, quizzes, or any educational UI. Covers the Learning Loop pedagogy, 23+ learning component patterns, progress tracking, spaced repetition, and Bret-Victor-style interactive exploration — all with Geist's dark-first minimal aesthetic.
npx skills add https://github.com/vercel-labs/skill-geist-learning-labs --skill geist-learning-lab
Build interactive learning experiences that teach by making the learner *do something, get feedback, and iterate* — using Geist's dark-first, minimal, precise UI language.
10. Misconception-first design — Bake in common traps: "Most people get this wrong because..."
Every lesson repeats this cycle:
| Step | What Happens | Component |
|------|-------------|-----------|
| Orient | What you'll learn in 5-10 min | Heading + learning objective |
| Attempt | Learner predicts/answers/edits first | QuickCheck, CodePlayground, ParameterDock |
| Feedback | Immediate + specific response | Feedback surface (green/red panel) |
| Explain | Short explanation anchored to their attempt | Callout, WorkedExample |
| Extend | Variation, edge case, or transfer task | BeforeAfterSplit, ConceptExplorer |
| Checkpoint | Quick recall question | QuickCheck with ConfidenceRating |
| Reflect | "What changed in your understanding?" | Optional text input or self-rating |
| Pattern | How It Works | When to Use |
|---------|-------------|-------------|
| Prediction Gap | "What do you think happens if...?" then reveal | Before introducing a concept |
| Contrast Pair | Two near-identical cases with different outcomes | Clarifying subtle distinctions |
| Slider to Failure | Let learner push a parameter until it breaks | Understanding boundaries/limits |
| Time Travel | Scrub algorithm step-by-step, watch invariants | Algorithms, state machines |
| Misconception Trap | Tempting wrong option, then explain why wrong | Common errors in a domain |
| Signal | Color Token | Hex | Usage |
|--------|------------|-----|-------|
| Correct | green-700 | #46A758 | Success feedback, completed steps |
| Incorrect | red-700 | #E5484D | Error feedback, failed checks |
| Hint/Caution | amber-700 | #FFB224 | Hints, warnings, "watch out" |
| Info/Definition | blue-700 | #0070F3 | Definitions, current step, links |
| Default | gray-400 | #737373 | Everything else: borders, muted text |
| Progress done | green-700 dot | #46A758 | Completed step indicator |
| Progress current | blue-700 ring | #0070F3 | Current step focus state |
| Progress pending | gray-400 dot | #737373 | Upcoming steps |
<LessonShell /> <ProgressRail /> <StepFlow /> <CheckpointCard /> <ResumeBanner />
<ParameterDock /> <LiveOutputPanel /> <ConceptExplorer /> <InteractiveDiagram /> <BeforeAfterSplit /> <TimelineExplorer /> <ConceptMap />
<CodePlayground /> <DiffEditor /> <TaskRunner /> <SnippetCopy />
<QuickCheck /> <ConfidenceRating /> <HintLadder /> <MistakeAnalyzer />
<GlossaryPopover /> <Callout /> <WorkedExample />
| Element | What It Means | Style |
|---------|--------------|-------|
| Big heading | "What you're doing" | text-heading-{32\|24} semibold, negative tracking |
| Small label | "Where you are" | text-label-{14\|12} gray-400 |
| Mono | "What the computer sees" | text-copy-14-mono or text-label-14-mono |
| Body | Reading content | text-copy-14 or text-copy-16, max-w-2xl |
| Context | Max Width | Structure |
|---------|-----------|-----------|
| Reading content | max-w-2xl / max-w-4xl | Single column, comfortable line length |
| Interactive lab | max-w-6xl | Two panels: explanation + playground |
| Full explorer | max-w-7xl | Three zones: nav + content + lab panel |
/ → Landing / course picker
/learn → Course catalog + resume
/learn/[courseSlug] → Course overview, modules, progress
/learn/[courseSlug]/[moduleSlug] → Module overview
/learn/[courseSlug]/[moduleSlug]/[lessonSlug] → Lesson shell
content/courses/<courseSlug>/course.json → Metadata, module order
content/courses/<courseSlug>/<module>/<lesson>.mdx → Lesson content
components/learning/ → Reusable learning components
lib/learning/progress.ts → Schema + storage adapters
lib/learning/grading.ts → Quiz validation, code tests
lib/learning/spaced.ts → Review scheduling
references/lesson-shell.md — LessonShell, ProgressRail, StepFlow, CheckpointCard, ResumeBanner TSX patternsreferences/explorable-explanations.md — ParameterDock, LiveOutputPanel, ConceptExplorer, InteractiveDiagram, BeforeAfterSplit, TimelineExplorer, ConceptMapreferences/code-learning.md — CodePlayground (read-only/guided/free), DiffEditor, TaskRunner, SnippetCopyreferences/quiz-assessment.md — QuickCheck, ConfidenceRating, HintLadder, MistakeAnalyzer with feedback patternsreferences/reading-support.md — GlossaryPopover, Callout variants, WorkedExample with stepwise revealreferences/pedagogical-framework.md — The Learning Loop doctrine, progressive disclosure rules, aha patterns, scaffolded complexityreferences/architecture.md — Next.js App Router routing, MDX content system, state management, file organizationreferences/progress-state.md — Progress schema, localStorage adapter, spaced repetition, URL state for explorationsreferences/learning-animations.md — Step transitions, feedback reveals, diagram animations, reduced-motion complianceToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Take vercel-labs/geist-learning-lab from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.