staged-learning-codelisted
Install: claude install-skill yumeiriowl/code-learn-skill
# staged-learning-code — Staged Learning Material Code Generation Skill
Decompose a technical concept (agent harness, RAG pipeline, compiler frontend, network protocol, etc.) element by element, and generate learning material that lays out minimal code per folder. Prioritize transparency over DRY, and plainness over abstraction — the reverse of normal code design, because the reader is a learner, not a maintainer.
## Goals
- Take out elements one at a time, and reduce each to minimal code that runs on its own
- Opening each folder, a few files make that element's behavior clear
- Start from mocks, and connect the real thing (LLM/DB/external API) at the end
- Structure it so learners can copy-paste, run, and read along
## When to use
- "Make learning code for X"
- "I want X split element by element into a form I can learn in stages"
- "X as a minimal implementation, split per folder"
- "I want to add more samples (add a new folder to existing material)"
If there are no arguments, ask the following:
1. Target topic (what the material teaches)
2. Scope preference (optional; e.g., "minimal configuration" or "just this element". If none, decide the number of elements according to the natural decomposition of the subject)
3. Mock/implementation boundary (from which folder to use the real thing)
4. Dependency packages (standard library only, or external dependencies)
5. Adding to existing material, or a new project
## Natural language of the material (README and comments)
D