360 Secure SkillHub
360 安全技能中心

explaining-code

面向代码理解与教学,要求先给出生活类比,再用 ASCII 图展示流程或结构,逐步讲解执行过程,并指出常见误区;仅提供文字说明,不执行代码。

分类:知识
GenerativeAgents
热度 0.00
最近更新 2026-11-26 00:01:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add generativeagents/training-claude-code/explaining-code
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
explaining-code
description
Explains code with visual diagrams and analogies. Use when explaining how code works, teaching about a codebase, or when the user asks "how does this work?"

When explaining code, always include:

  1. Start with an analogy: Compare the code to something from everyday life
  2. Draw a diagram: Use ASCII art to show the flow, structure, or relationships
  3. Walk through the code: Explain step-by-step what happens
  4. Highlight a gotcha: What's a common mistake or misconception?

Keep explanations conversational. For complex concepts, use multiple analogies.