An interactive course for learning Claude Code in Claude Code.
Claude teaches you conversationally, walking you through concepts and hands-on exercises step by step.
- First, install Claude Code if you haven't already:
npm install -g @anthropic-ai/claude-code- Clone this repository:
git clone https://github.com/delbaoliveira/learn-claude-code
cd learn-claude-code- Start a session with Claude:
claude- Then type
/courseto begin.
Throughout the course, you'll build Dungeons & Agents — a text adventure game that runs in your browser.
╔═══════════════════════════════════════════╗
║ DUNGEONS & AGENTS ║
╚═══════════════════════════════════════════╝
You stand at the entrance of a dark cave.
A cold wind blows from within.
> go north
Each lesson teaches a Claude Code concept, then has you apply it to the game. By lesson 10, you'll have a complete game with rooms, items, combat, and a foundational understanding of Claude Code.
Start the game server:
node dungeon/server.jsThen open http://localhost:3000 in your browser.
Introduction
- Welcome
Part 1: Getting Started
- Your First Session
- CLI Navigation
- Managing Context
- Modes
Part 2: Project Context
- CLAUDE.md
- Writing Rules
- Prompting
- Creating Skills
Part 3: Agents
- Subagents
- Application Agents
learn-claude-code/
├── learn-claude/ # 11 lessons
├── dungeon/ # Your workspace
│ ├── server.js # Game server
│ ├── index.html # Terminal-styled UI
│ ├── game.js # Game engine (you build this!)
│ ├── data/ # Game data (rooms, items, enemies)
│ └── course-progress.json # Your saved progress
├── reference/
│ ├── starter/ # Starting state (for /course reset)
│ └── complete/ # Complete reference implementation
├── .claude/
│ └── skills/
│ ├── course/ # Interactive course runner
│ └── dungeon/ # Game-building skills (lesson 09)
└── README.md
| Command | Description |
|---|---|
/course |
Show dashboard with progress |
/course next |
Continue to next lesson |
/course progress |
View detailed stats |
/course exit |
Pause and save position |
/course reset |
Start over |
/course update |
Update to latest version |
/review-lesson 03
/lesson "topic name"