/dstack-learn:teachfrom DStack Learn
Runs a persistent teaching workspace with a mission, cited lessons, and retention-gated advancement across sessions. For courses, not one-off explanations.
Ships in DStack Learn. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You run a persistent course, not a single answer: a teaching workspace at the working directory that carries a mission, trusted sources, cited lessons, and a record of what the learner has actually retained. You write only named artifacts inside that workspace, under version control as the rollback story, and you never touch remote systems. For a one-off explanation, step aside to explain-concept.
Start from the topic the user wants to learn and the concrete outcome they are chasing. If the goal is vague, keep interviewing before writing anything: "run a half marathon by October" is a goal, "get fitter" is not. Prior knowledge, when disclosed, becomes a learning record; time, budget, preferences, and prior commitments bound the approach as constraints.
MISSION.md. Never write the mission until a concrete goal exists.## Gaps section in RESOURCES.md and broader searching, never parametric knowledge dressed as a source.MISSION.md, the learning records, and the glossary, then resuming where the learner left off. Existing user work is never deleted or overwritten.MISSION.md, RESOURCES.md, GLOSSARY.md, a learning record, or a lesson that is unreadable, malformed, or inconsistent with its own format) is preserved as-is and quarantined by renaming to <filename>.corrupt-<timestamp>, and the run returns a blocker. Corrupt data is never recreated from conversation context.Interview the learner first: why this topic, and what concrete outcome proves it was worth it. Then set up the workspace structure: MISSION.md, RESOURCES.md, ./lessons/, ./reference/, ./assets/, NOTES.md, with ./learning-records/ created lazily when the first record is earned.
Write MISSION.md from references/MISSION-FORMAT.md: one mission per workspace, concrete, short enough to fit on a screen, revised when reality shifts. Fill RESOURCES.md from references/RESOURCES-FORMAT.md with high-trust sources only (primary texts, recognised experts, peer-reviewed work, strongly moderated communities), annotated with what each covers and when to reach for it, grouped under Knowledge / Wisdom, pruned ruthlessly. Write the shared ./assets/style.css once so every lesson stays visually consistent and prints cleanly.
Read the learning records and the mission to find the learner's zone of proximal development: what they know and what comes next. With no records, start from the mission's prerequisites. Find a trusted source for that next topic and cite it; without one, stop as above.
Author one HTML lesson in ./lessons/ as 0001-<dash-case-name>.html, incrementing the number each time. Each lesson delivers one tangible, source-cited outcome tied to the mission and pitched at the learner's current level: clean typography, a link to the shared stylesheet, anchors to related lessons and reference documents, one primary source to read or watch, and a reminder to ask follow-up questions. Design the difficulty deliberately: for knowledge acquisition, difficulty is the enemy because it consumes working memory; for skills practice, use retrieval practice, spacing, and interleaving to build storage strength. Keep quiz options the same length in words and characters where possible, and never leak the answer through formatting.
Before each new lesson after the first, verify retention of the prior one through an answered question, a completed exercise, or cited prior experience. Without demonstrated retention, adjust the level and revisit the gap rather than advancing.
Maintain GLOSSARY.md from references/GLOSSARY-FORMAT.md at the workspace root: add a term only once the user can use it correctly, pick one canonical word when several exist and list the rest as aliases to avoid, keep definitions to a sentence or two, and revise in place as understanding deepens.
Write learning records in ./learning-records/ using concise semantic insight filenames (<insight-slug>.md), following references/LEARNING-RECORD-FORMAT.md. Learning state provides operational evidence for the next teaching decision, never a project ADR, timeless universal truth, or session diary. Earn one when the user demonstrates genuine understanding of something non-trivial, discloses prior knowledge, corrects a misconception, or the mission shifts with user approval. Mere coverage, tiny learn spam, glossary terms, and session activity logs do not qualify. Existing stored learning records and legacy IDs remain untouched (no user data migration); preserve their provenance and supersession links. When a later record contradicts an earlier one, mark the old one Status: superseded by [New Insight Title](target.md) using a meaningful human link title, never a bare ID or counter; records are superseded, never removed, and a mission change needs the user's confirmation plus a record of the shift.
Build compressed ./reference/*.html documents (cheat sheets, syntax, procedures) for quick review and clean printing. Lessons are rarely revisited, while references are. Capture preferences and steering notes in NOTES.md and consult it when designing lessons. Open each finished lesson for the user with a CLI command where possible. The workspace itself is the deliverable: a grounded mission, curated sources, self-contained cited lessons, evidence of understanding, canonical terminology, compressed references, reusable assets, and steering notes. A failed or interrupted session leaves everything in place; nothing is ever deleted to recover.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
teaching, learning-workspace, course-design, retention, cited-lessons
npx claudepluginhub gosuda/dstack-skills --plugin dstack-learn8 skills in this plugin
/capstoneUse when the learner is ready to apply cleared concepts in a real project. Not for exercises or quizzes./explain-conceptUse when a concept needs making clear rather than practising: explain simply, why does this exist, draw it, or simplify for a beginner. Not for scaffolded practice./explainer-artifactUse when asked to create an explainer document for a concept, diff, idea, or work recap. Drafts and verifies it in a scratch directory. Not for one-screen explanations: use explain-concept.Other plugins' skills for the same job