Interactive learning commands to help users understand code deeply.
- CCM score
- 59 of 100
- version
- 1.1.2
- GitHub stars
- 25
Own this plugin? Claim it
What it does
- Includes 3 commands:
brief,map, andunderstand
Add marketplace
/plugin marketplace add CaptainCrouton89/crouton-kitRun it inside Claude Code once, then install the plugin below.
Install
/plugin install learn@crouton-kitRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceAssess the current state of work and synthesize findings into a visual briefing. Use subagents if the scope warrants parallel investigation — skip them if the context is already at hand.
$ARGUMENTS
Investigation Scope
Subagents should cover whatever dimensions are relevant. Common signals:
- Specs and plans —
.claude/specs/,.claude/plans/,.claude/pipeline/ - Active work —
git diff,git log --oneline -20, branch state, uncommitted changes - Task state — open tasks, blockers, dependencies
- Conversation context — what's been discussed, decided, or deferred
Not all of these will exist or matter. Investigate what's actually there.
Output
Use whatever format best communicates each piece — diagrams, tables, bullet lists, prose. Use diagrams where relationships or flow matter; use prose or lists where they're clearer. Don't force everything into one format.
Cover what's relevant:
- Where things stand — current status, what's done, what's in progress
- Key decisions and context — what's been decided, why, any blockers
- What's next — actionable next steps
Requirements
- Concise — this is a briefing, not a report. Optimize for a reader who has 60 seconds
- Skip empty dimensions — show what exists, don't catalog what doesn't
- Highlight decisions and blockers — surface anything that requires action or was recently decided
Readme
learn
Verify deep understanding of code you just wrote through interactive retrieval-based learning sessions.
Command: /understand
Runs git diff, selects a meaningful code block, then quizzes you on it using 3-5 learning methods. Progress tracked with visual indicator ([■■■□□] 3/5).
Learning Methods
Quiz
Multiple choice via AskUserQuestion. Tests behavior prediction and edge case awareness.
What will this return given input X?
A) null
B) undefined
C) throws TypeError
D) []
One correct answer, 2-3 plausible-but-wrong options.
Explain
Open-ended questions force articulation:
- "Walk me through what this function does"
- "Why did you choose this approach over X?"
No answer recognition—you must produce the explanation from scratch.
Predict
Guess output before running code:
- "What do you expect this to output?"
- Run the code
- Explore gaps between prediction and reality
Trace
Step-by-step execution tracking:
- "After line 5, what is
result?" - "How many loop iterations occur with input X?"
Uses AskUserQuestion for checkpoint verification.
Debug
Hypothesis formation for bugs/edge cases:
- "Where would you start investigating?"
- "What's your first hypothesis about why this fails?"
Open-ended to develop debugging intuition.
Session Structure
- Code selection: Analyzes
git diffand picks the most complex/meaningful block (function, class, logic flow) - Session plan: Announces 3-5 phases based on code complexity
- Interactive loop: One question per phase, waits for response, follows up if needed
- Completion: Summary of demonstrated understanding + areas to watch
Progress Tracking
Each question shows:
───────────────────────────────────
📚 UNDERSTAND · Quiz
[■■■□□] 3/5
───────────────────────────────────
■= completed phase□= remaining phase- Fraction = current/total
Method Selection
- New function: Quiz → Explain → Quiz
- Before running tests: Predict → Explain
- Complex logic: Trace → Quiz
- Bug present: Debug → Explain → Quiz
Variety kept high to maintain engagement.
Philosophy
- Retrieval > review: Producing answers strengthens memory more than re-reading
- Struggle is productive: Discomfort before understanding is where learning happens
- Why > what: Understanding means explaining design decisions, not just behavior
- Wrong answers are data: Mistakes reveal mental model gaps—follow up with "What made you think that?"
Typical Session
# Phase 1: Quiz
───────────────────────────────────
📚 UNDERSTAND · Quiz
[■□□□] 1/4
───────────────────────────────────
What happens if `items` is an empty array?
A) Returns []
B) Returns null
C) Throws error
D) Returns undefined
[User answers, feedback given]
# Phase 2: Explain
───────────────────────────────────
📚 UNDERSTAND · Explain
[■■□□] 2/4
───────────────────────────────────
Why did you use `reduce` here instead of `map`?
[User explains, probing questions if needed]
# Phase 3: Predict
───────────────────────────────────
📚 UNDERSTAND · Predict
[■■■□] 3/4
───────────────────────────────────
What do you expect this to output with input `[1, 2, 2, 3]`?
[Run code, explore differences]
# Phase 4: Trace
───────────────────────────────────
📚 UNDERSTAND · Trace
[■■■■] 4/4
───────────────────────────────────
After the second loop iteration, what is `accumulator`?
[Final verification, session complete]
At completion, summary shows strengths and areas to watch. Suggests rewinding chat if returning to development.
Details
- Marketplace
- CaptainCrouton89/crouton-kit
- Source
- plugins/learn
- Category
- Community
- Keywords
- learning, education, interactive
- Listed since
- Apr 7, 2026
Questions
What does the learn plugin do in Claude Code?
The learn plugin adds the /understand command, which runs git diff, picks a meaningful code block and quizzes you on it using 3-5 learning methods. Those methods are Quiz, Explain, Predict, Trace and Debug, and progress is tracked with a visual indicator.
Which learning methods does learn use, and when are they chosen?
Learn uses Quiz, Explain, Predict, Trace and Debug. Its method selection pairs new functions with Quiz and Explain, uses Predict and Explain before running tests, Trace and Quiz for complex logic, and Debug, Explain and Quiz when a bug is present.
How do I install the learn plugin?
Inside Claude Code, run /plugin marketplace add CaptainCrouton89/crouton-kit first, then run /plugin install learn@crouton-kit. The second command installs the learn plugin from that marketplace into Claude Code.
Where does learn stand in the Learning & Teaching category?
Learn sits in the Learning & Teaching category on Claude Marketplaces, alongside academy-guide, explanatory-output-style, learning-output-style, classmarker-automation and google_classroom-automation. Its focus is verifying your understanding of code you just wrote through retrieval-based sessions.
More from CaptainCrouton89/crouton-kit
All 19Similar to learn
More Learning & Teachingexplainermahidalhan/claude-hacks34 starsInteractive teaching with chunked explanations and comprehension checks. For explaining code or concepts.
ai-learncharlesjones-dev/claude-code-plugins-dev37 starsAI-powered Socratic learning mode - Transform Claude into a patient coding mentor that guides you through problem-solving without giving direct answers
explorerohitg00/awesome-claude-code-toolkit2.9K starsSmart codebase exploration with dependency mapping and structure analysis
troubleshootingaws-solutions-library-samples/guidance-for-claude-code-with-amazon-bedrock412 starsTroubleshooting command to assist with complex problems
gauntletathola/claude-night-market356 starsCodebase learning through knowledge extraction, code knowledge graph, adaptive challenges, and spaced repetition for developer onboarding and fluency