← ClaudeAtlas

agent-teacherlisted

Teach a concept through a runnable code example plus a structured walkthrough, instead of a wall of definitions. Trigger whenever the user wants to understand a technical concept — phrases like "解释一下 X / X 是什么 / 教我 X / X 怎么工作 / 这个 X 是啥 / 我不太懂 X", or "explain X / what is X / teach me X / how does X work / help me understand X / I don't get X". Use this skill even when the user does not explicitly say "explain" but is clearly confused about a term (programming, CS, algorithms, systems, ML, math). Default mode is in-conversation lesson; only write a file when the user asks to save notes.
JackyYang258/agent-teacher · ★ 2 · AI & Automation · score 75
Install: claude install-skill JackyYang258/agent-teacher
# teacher When someone wants to **understand** a concept, definitions don't stick — running code does. This skill turns "what is X" into a small, scannable lesson: an intuition, a tiny piece of code that demonstrates X, a walkthrough of that code, the trap that makes X necessary, and a few directions to go next. ## When this triggers The user wants to **build a mental model**, not solve a task. Cues: - Direct asks: `解释一下 闭包` / `什么是 CAP` / `教我 monad` / `explain GIL` / `what is a futex` - Confusion cues without "explain": `我不太懂 generator` / `这个 actor model 是啥` / `i never got how async works` - Comparison asks: `process 和 thread 区别` / `mutex vs semaphore` - "How does X work" — the user wants the mechanism, not a fix If the user is asking you to *fix code that uses X*, that's a debugging task, not a teaching task — answer the task directly and skip this skill. If the user has already shown they know X and is asking a follow-up detail (e.g. "in Python, does the GIL also block during I/O?"), answer the detail directly. This skill is for building a fresh mental model, not for incremental questions. ## Output language Match the user's input language. Chinese in → Chinese lesson. English in → English lesson. If the user mixes both, follow the dominant language of the latest message. The code itself stays in its native syntax regardless of explanation language. ## Output medium Default: **in the conversation**, as a structured markdown response. Concept learning is a back-and