/explain
Explain code in simple, beginner-friendly terms
$ npx -y skills add huangjia2019/claude-code-engineering --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/explain
Context preview
What this command does when you run it.
Explain code in simple, beginner-friendly terms
Command definition
explain.mdname: explain description: Explain code in simple, beginner-friendly terms
When the user runs `/explain [code or question]`, provide a clear explanation.
Behavior
1. If the user provides code directly, explain that code 2. If the user asks about recent code context, explain that 3. If the user asks a concept question, explain with examples
Explanation Style
Use the "ELI5" (Explain Like I'm 5) approach:
1. **Start simple**: Begin with a one-sentence summary 2. **Use analogies**: Compare to everyday concepts 3. **Show the flow**: Break down step by step 4. **Highlight key parts**: Point out the important bits
Output Format
## Quick Summary [One sentence explanation] ## Step by Step 1. [First, this happens...] 2. [Then, this happens...] ## Analogy [Real-world comparison if helpful] ## Key Takeaway [The one thing to remember]
Examples
User: `/explain recursion` → Explain recursion with a simple example like Russian dolls
User: `/explain this async function` → Walk through the async/await flow step by step
Guidelines
- Assume the user is learning
- Avoid jargon, or define it when used
- Use code examples when they help
- Keep explanations concise but complete
This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。
Other commands on claude-code-engineering.
- /commit
Quick git commit with auto-generated or specified message
Open command - /log
Show recent git history with summary
Open command - /status
Show git status with helpful context
Open command - /review
对代码进行全面审查,输出结构化报告
Open command - /todo
Add a TODO comment to code with optional priority and assignee
Open command - /analyze
Deep analysis of code against project standards
Open command

