The Teach-Me prompt
Use it liberally — especially right after Claude builds something you don't fully follow:
Teacher mode — no code changes. Explain [this file @path / this concept / the change you just made]: 1. What it does, plain English, as to a beginner. 2. WHY it's built this way — what breaks with the naive alternative? 3. The 2-3 concepts here I should genuinely understand (name them so I can study more). 4. One question to test whether I understood.
Why each line is there:
- "No code changes" makes it perfectly safe to run anytime — it's a conversation, not a task.
- "What breaks with the naive alternative?" is the question that turns trivia into understanding. Knowing why the simple version fails is what you'll reuse in every future project.
- Named concepts give you search terms for deeper study — the difference between "I saw this once" and "I can learn more tonight".
- The test question catches the illusion of understanding while the topic is still open.
This habit is the difference between owning your codebase and being a passenger in it. It's also, not incidentally, interview gold: "explain a technical choice in your project and its trade-offs" is a question you'll now have practiced dozens of times.
The Review & Refactor prompt — every ~10 features
Codebases built fast accumulate rough edges — AI-built ones included. Every ten features or so, run a deliberate cleanup pass:
Read CLAUDE.md. Review session — [whole project / directory @src/components] — MODE: report first, change nothing yet. Look for: duplicated logic worth extracting; files >300 lines doing multiple jobs; inconsistencies with our conventions; dead code; missing error handling; anything a senior dev would flag. Output: a prioritized list (max 10), each with location, issue, why it matters, effort (S/M/L). I'll pick which to fix.
- "Report first, change nothing yet" is the safety catch. A review that immediately starts refactoring produces a giant unreviewable diff of mixed concerns — exactly what the one-task-per-session habit exists to prevent.
- The prioritized list with effort sizes turns vague guilt ("the code is getting messy") into a menu of decisions. You pick two or three items; each becomes its own task, its own session, its own commit.
- Max 10 keeps the report honest — an unranked list of forty nitpicks helps nobody.
A cadence that works: Teach-Me whenever curiosity or confusion strikes (it's free of risk), the Review prompt on a rhythm — every ten features, or before anything you'd call a "release". Rhythm beats willpower.
Up next: the Power-Ups — plugins and skills that teach Claude specialized workflows, then MCP servers that give it real capabilities like browsing GitHub or driving a browser.