You've already forked rust-tutor
2.0 KiB
2.0 KiB
Exercise Templates & Tracking
Quick Start New Chat Protocol
# 1. Start new chat
/model opusplan
# 2. Copy/paste CLAUDE.md contents
# 3. Say:
"Continuing Rust learning. Read CLAUDE.md, then check CURRENT_STATE.md and provide Exercise [X] from Milestone [Y]"
Exercise Template (for Claude)
## Exercise: [Name]
**Concepts practiced:** [Specific Rust concepts]
**Objective:** [What to build]
**Requirements:**
- [Specific feature 1]
- [Specific feature 2]
**Success criteria:** [How to verify it works]
**Stretch goal:** [Optional extension]
**Expected time:** [30-60min / 1-2hrs]
Milestone 4: Chapter 7 (Modules) - CURRENT TARGET
Exercise 1: Multi-Module Note-Taking CLI ⏳
File: exercises/07-01-notes-cli/
Status: Not started
Concepts: Module organization, pub/private boundaries
Estimated time: 1-2 hours
Exercise 2: Calculator Plugin System ⏳
File: exercises/07-02-calc-plugins/
Status: Not started
Concepts: Selective imports, pub visibility
Estimated time: 1-2 hours
Exercise 3: Wallet Module Structure ⏳
File: exercises/07-03-wallet-modules/
Status: Not started
Concepts: Real-world module organization (crypto domain)
Estimated time: 1-2 hours
Crate: ed25519_dalek
Exercise Completion Process
During Exercise
- Create branch:
git checkout -b exercise/[milestone]-[number]-[name] - Work in
exercises/[chapter]-[number]-[name]/directory - Commit frequently with descriptive messages
- Include
REFLECTION.mdwith learning notes
After Exercise
- Code review in separate chat
- Iterate based on feedback
- Update CURRENT_STATE.md
- Update PROGRESS.md
- Merge to main when complete
- Tag if milestone complete:
git tag v[milestone]-complete
Directory Structure
exercises/
├── 07-01-notes-cli/
│ ├── src/
│ ├── Cargo.toml
│ ├── README.md
│ └── REFLECTION.md
├── 07-02-calc-plugins/
│ └── ...
└── 07-03-wallet-modules/
└── ...