Explain code
Use this skill when the user asks to explain, walk through, or understand a file, function, class, or code concept. Covers high-level summaries, mental models, and pointing out non-obvious behavior. Do NOT use for debugging, refactoring, or writing new code.From its SKILL.md
npx -y skills add dan1elw/dotclaude --skill explain-codeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, 153 tokens by cl100k_base, as published. Nobody here has run it
Explain code in layers, deepest insight first.
- One-sentence summary. What does this code do, in plain English?
- Mental model. A short analogy or metaphor that captures the shape of the logic.
- The non-obvious parts. What would surprise a reader? Edge cases, hidden coupling, subtle invariants, performance gotchas.
- What to be careful about when modifying it. Where are the landmines?
Skip the obvious. Don't narrate line-by-line unless the user asks. Don't repeat what a good variable name already says.
If the code spans multiple files, read the entry point first, then follow only the branches relevant to the user's question.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.