Explains complex code through clear narratives, visual diagrams, and step-by-step breakdowns. Use when a user asks to explain code, understand algorithms, analyze design patterns, wants code walkthroughs, or mentions 'explain this code', 'how does this work', 'code breakdown', or 'understand this function'.
Expert skill for explaining complex code to developers at all levels through visual aids, step-by-step breakdowns, and progressive complexity.
Before explaining, assess the code:
| Audience | Approach | |----------|----------| | Beginner | Start with analogies, avoid jargon, explain fundamentals | | Intermediate | Focus on patterns and design decisions | | Advanced | Deep dive into implementation details and trade-offs |
Generate Mermaid diagrams for:
Structure explanations from simple to complex:
## What This Code Does
[1-2 sentence summary]
## Key Concepts
- Concept 1: Brief explanation
- Concept 2: Brief explanation
## Visual Overview
[Mermaid diagram if complexity warrants]
## Step-by-Step Breakdown
1. [First step with code reference]
2. [Second step with code reference]
...
## Common Questions
- Why is X done this way?
- What happens if Y?
## Related Patterns
[Links to similar patterns or alternatives]
file_path:line_number formatThis skill auto-invokes when triggered by explanation-related keywords. For explicit control, use the /code-explain command.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer