teach
关于
The `teach` skill provides structured knowledge transfer by assessing a learner's level and scaffolding explanations from known to unknown concepts. It employs Socratic questioning to verify understanding and adapts its teaching based on user feedback. Use this skill when a user asks "how does X work?" and needs a graduated explanation, especially when previous explanations have failed or the concept has prerequisite gaps.
快速安装
Claude Code
推荐npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/teach在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Teach
Structured knowledge transfer — assess learner, scaffold known → unknown, calibrated explanation, check via Q, adapt to feedback, reinforce via practice.
Use When
- User asks "how does X work?" → graduated explanation needed, not data dump
- Q's reveal gap between current understanding + need
- Prev explanations didn't land — confused | asking same Q diff way
- Teaching concept w/ prereqs user may not have
- After
learnbuilt deep mental model needing communication
In
- Required: Concept, system, skill to teach
- Required: Learner (implicit — user in conv)
- Optional: Known context (expertise, background, goals)
- Optional: Prev failed explanations (what tried)
- Optional: Time/depth constraint (quick overview vs deep)
Do
Step 1: Assess — Map Learner
Before explaining, determine what learner knows + needs.
Learner Calibration Matrix:
┌──────────────┬────────────────────────────┬──────────────────────────┐
│ Level │ Explanation Pattern │ Check Pattern │
├──────────────┼────────────────────────────┼──────────────────────────┤
│ Novice │ Analogy-first. Connect to │ "In your own words, what │
│ (no domain │ familiar concepts. Avoid │ does X do?" Accept any │
│ vocabulary) │ jargon entirely. Concrete │ correct paraphrase. │
│ │ before abstract. │ │
├──────────────┼────────────────────────────┼──────────────────────────┤
│ Intermediate │ Build on existing vocab. │ "What would happen if │
│ (knows terms,│ Fill gaps with targeted │ we changed Y?" Tests │
│ some gaps) │ explanations. Use code │ whether they can predict │
│ │ examples that are close │ from understanding. │
│ │ to their existing work. │ │
├──────────────┼────────────────────────────┼──────────────────────────┤
│ Advanced │ Skip fundamentals. Focus │ "How would you compare │
│ (strong base,│ on nuance, trade-offs, │ X to Z approach?" Tests │
│ seeks depth) │ edge cases. Reference │ integration and judgment. │
│ │ source material directly. │ │
├──────────────┼────────────────────────────┼──────────────────────────┤
│ Misaligned │ Correct gently. Provide │ "Let me check my under- │
│ (confident │ the right model alongside │ standing — you're saying │
│ but wrong) │ why the wrong model feels │ X?" Mirror back to │
│ │ right. No shame signals. │ surface the mismatch. │
└──────────────┴────────────────────────────┴──────────────────────────┘
- Review user's Q's, vocab, goals
- Classify likely level for THIS topic (advanced in one, novice in another)
- ID Zone of Proximal Dev (ZPD): just beyond reach but achievable w/ support
- Note misconceptions to address before correct model lands
- ID best entry: what they know connecting to need
Got: Clear picture: what learner knows, needs, what bridge connects. Specific enough to choose explanation strategy.
If err: Level unclear → calibration Q: "Familiar w/ [prereq]?" Not test, gather data. Awkward → default intermediate, adjust on response.
Step 2: Scaffold — Bridge Known → Unknown
Build path from known → new concept.
- ID anchor: 1 concept learner definitely understands related to target
- State connection explicit: "X (you know) works like Y in this new context because..."
- 1 new idea at a time — never 2 in same sentence
- Concrete examples before abstract principles
- Layered complexity: simple first, then nuance
- Prereqs missing → teach prereq first (mini-scaffold) before main
Got: Scaffolded path, each step builds on prev. Learner never lost — each new idea connects to existing.
If err: Gap too large for single scaffold → break into smaller steps. No familiar anchor (entirely novel) → analogy to diff domain known. Imperfect → acknowledge limits: "Like X, except for..."
Step 3: Explain — Calibrate Depth + Style
Right level, right mode.
- Open w/ core idea in 1 sentence — headline before article
- Expand w/ scaffolded explanation (Step 2)
- Learner's vocab, not domain jargon (unless advanced)
- Code: minimal working example, not comprehensive
- Abstract: concrete instance first, then generalize
- Processes: walk specific case step-by-step before general rules
- Monitor confusion signs: next Q doesn't build on explanation → didn't land
Got: Explanation neither too shallow (leaves Q's) nor too deep (overwhelms). Uses their language, connects to context.
If err: Too long → core idea buried, restate 1-sentence headline. More confused after → entry wrong, try diff anchor/analogy. Genuinely complex → acknowledge vs hide: "3 parts, they interact. Start w/ first."
Step 4: Check — Verify Understanding
Don't assume worked. Test via Q's revealing mental model.
- Ask Q requiring application not recall: "Given X, what would you expect?"
- Ask paraphrase: "Explain back in your own words?"
- Present variation: "What if we changed this one thing?"
- Look for specific understanding: predict, not just repeat?
- Answer reveals misconception → note specific err for Step 5
- Correct → push slightly further: can generalize?
Got: Reveals working mental model vs parroting. Working model handles variations; memorized cannot.
If err: Can't answer → explanation didn't build right model. Not their failure — feedback on teaching. Note what didn't land → Step 5.
Step 5: Adapt — Respond to Feedback
Adjust based on check.
- Solid → reinforce (Step 6) | advance to next concept
- Specific misconception → address direct w/ evidence, not repetition
- General confusion → completely diff explanation approach
- Ahead of assessment → accelerate, skip scaffolding → nuance
- Behind → slow down, teach missing prereq
Adaptation Responses:
┌──────────────────┬─────────────────────────────────────────────────┐
│ Signal │ Adaptation │
├──────────────────┼─────────────────────────────────────────────────┤
│ "I think I get │ Push gently: "Great — so what would happen │
│ it" │ if...?" Verify before moving on. │
├──────────────────┼─────────────────────────────────────────────────┤
│ "I'm confused" │ Change modality: if verbal, show code. If code, │
│ │ use analogy. If analogy, draw a diagram. │
├──────────────────┼─────────────────────────────────────────────────┤
│ "But what about │ Good sign — they are testing the model. Address │
│ [edge case]?" │ the edge case, which deepens understanding. │
├──────────────────┼─────────────────────────────────────────────────┤
│ "That doesn't │ They have a competing model. Explore it: "What │
│ seem right" │ do you think happens instead?" Reconcile the two.│
├──────────────────┼─────────────────────────────────────────────────┤
│ Silence or │ They may be processing, or lost. Ask: "What │
│ topic change │ part feels least clear?" Lower the bar gently. │
└──────────────────┴─────────────────────────────────────────────────┘
Got: Teaching adapts in real time. No identical repetition — each retry diff approach. Responsive not mechanical.
If err: Multiple adaptations fail → may be missing prereq so fundamental neither party ID'd. Ask explicit: "What part feels biggest jump?" Often reveals hidden gap.
Step 6: Reinforce — Practice
Solidify via application, not repetition.
- Practice problem requiring concept (not trick)
- Coding context → small modification to existing code using concept
- Conceptual → present scenario, apply model
- Connect forward: "Now you understand X, this connects to Y, can explore next"
- Reference material for independent: docs, related files, further reading
- Close loop: "To summarize..." — 1 sentence for core concept
Got: Learner applied concept ≥1×, has resources for continued learning. Summary anchors for future recall.
If err: Too hard → teaching jumped too far, simplify. Can do but can't explain why → procedural w/o conceptual, return Step 3 focused on "why" not "how".
Check
- Level assessed before explanation
- Scaffolded known → unknown, not data dump
- ≥1 check Q asked to verify (not assumed)
- Teaching adapted on feedback, not repeated identical
- Learner can apply, not just recall
- Honest gaps acknowledged, not glossed
Traps
- Curse of knowledge: Forget learner doesn't share teacher context. Jargon, assumed prereqs, implicit reasoning = primary culprits.
- Explain to impress vs teach: Comprehensive, precise explanations demonstrating knowledge but leaving learner behind.
- Repeat louder: Doesn't land → repeat w/ more emphasis vs diff approach.
- Test vs teach: Check Q's as gotchas vs diagnostic. Goal = reveal understanding, not catch failure.
- Silence ≠ understanding: Absence of Q's ≠ explanation worked. Often means learner doesn't know what to ask.
- One-size-fits-all depth: Novice gets advanced explanation "should see full picture" → overwhelms; expert gets beginner "better safe" → wastes time.
→
teach-guidance— human-guidance variant coaching person to be better teacherlearn— systematic knowledge acquisition building understanding to teach fromlisten— deep receptive attention reveals actual needs beyond stated Qmeditate— clear assumptions between teaching episodes, fresh approach each learner
GitHub 仓库
相关推荐技能
llamaguard
其他LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
cost-optimization
其他这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。
quantizing-models-bitsandbytes
其他这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。
dispatching-parallel-agents
其他该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。
