# A Day with Claude Code — Quick Reference

## Claude Code Commands

| Command | Purpose |
|---|---|
| `/teach:stats` | View XP, belt level, and suggested next modules |
| `/teach:level-up` | See belt roadmap and personalized suggestions |
| `/teach <module>` | Start Socratic teaching for a module (e.g., `hooks`) |
| `/teach:canvas` | Open the visual canvas (diagrams, quizzes) |
| `/teach:learn <topic>` | Free-style learning — generate a module on any topic |

## Workflow Patterns

| Scenario | Approach |
|---|---|
| **Morning** | Run stats, note current belt and suggested next module |
| **PR review** | "Review PR #N — focus on [error handling | security | readability]" |
| **Debugging** | Provide error, logs, steps to reproduce; ask Claude to trace and suggest fixes |
| **Learning slot** | `/teach <module>` — 30 min is enough for 3–4 walkthrough steps |
| **Feature build** | Describe feature in natural language; review each generated piece |
| **End of day** | Run stats again; reflect on XP earned from work vs. learning |

## XP Sources

| Source | Example |
|---|---|
| **Module completion** | Finishing walkthrough steps, passing quizzes |
| **Tool usage** | Production debugging, PR review, code generation |
| **Games & exercises** | Interactive exercises, workshop scenarios |

## Key Principles

- **Blend work and learning** — Use Claude for real tasks and for teaching in the same day
- **Progress is visible** — XP and belts make growth tangible
- **Learning fits gaps** — Short sessions (e.g., 30 min) are effective
- **AI adapts to context** — Productivity mode for features; teaching mode for `/teach`
