From learn-skills
Generates a file of graded practical exercises with hidden solutions for users to practice a topic or code artefact. Verifies answers against real code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/learn-skills:learn-by-doingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Speak to the user in their language; these instructions are in English for the agent.
Speak to the user in their language; these instructions are in English for the agent.
A generative skill: produces a markdown file under learn/ containing 3–7 graded exercises plus a hidden solutions section. The user attempts the exercises; the agent verifies each answer against the real code/docs when the user submits them. The artefact (the exercises file) persists in the project and can be reopened later — see ADR 0002 for why we don't schedule those reopenings.
User: /learn-by-doing src/orders/payment.ts
Agent: Project read first. Stack: TypeScript + Express 4.21, ESM modules.
I'll generate 5 exercises of ascending difficulty, save them to
learn/payment-exercises.md, and hide solutions behind a fold.
Bring me each answer when you're ready — I'll verify against payment.ts.
After generation, the user works through the file, brings answers back into the conversation, and the agent verifies.
Inspect the argument:
Generation:
- [ ] Project read complete (stack + versions identified)
- [ ] Artefact read (code-mode) or docs fetched (topic-mode)
- [ ] 3–7 exercises drafted with ascending difficulty (E1 → E7 ladder)
- [ ] E4 (Debug) included when code-mode
- [ ] Every solution traces to file:line or cited doc
- [ ] Solutions folded under <details> tag (none above the fold)
- [ ] File written to learn/<slug>-exercises.md
- [ ] Filename + path confirmed with user before write if collision
Per-answer verification (each time the user brings an answer):
- [ ] User's answer read carefully (not skimmed)
- [ ] Verified against artefact with file:line or doc citation
- [ ] Marked pass / partial / fail with evidence
- [ ] On fail: one targeted question + line reference + retry (no spoiler)
- [ ] On pass: user decides whether to proceed to next exercise
Read EXERCISES.md for the full generation reference (exercise ladder E1–E7 + file format). Summary of the steps:
learn/<slug>-exercises.md with solutions folded under <details>.file:line or a doc link.If CURRICULUM.md exists in the current directory, the skill is running inside a Scenario B workspace. In workspace mode:
exercises/<slug>-exercises.md (not learn/).MISSION.md before generating: use the stated goal to shape exercise difficulty and context. A user learning chess for casual play needs different exercises than one studying openings competitively.CURRICULUM.md to identify which lesson the exercises should reinforce, then target that lesson's concepts.If CURRICULUM.md is absent (legacy mode), use learn/ paths as before.
<slug>-exercises.md, slug derived from topic or source file.learn/<slug>-exercises.md. In workspace mode: exercises/<slug>-exercises.md.npx claudepluginhub ic3b3rg/learn-skills --plugin learn-skillsOffers interactive learning exercises after new files, schema changes, refactors, or design decisions to build expertise in AI-assisted coding.
Provides personalized coding tutorials using your codebase examples, with learner profiling, progress tracking, spaced repetition, and quizzes via /teach-me /quiz-me.
Verifies user comprehension of code or topics by forcing an explanation, then stress-testing against real artifacts (code, tests, documentation). For consolidating understanding after LLM-generated code or studying.