code-explainer
Installation
SKILL.md
Code Explainer Skill
Make unfamiliar code understandable — fast — without dumbing it down.
Working from a brief
Infer the language and intent from the code itself; label assumptions (assumed — confirm). Always produce a complete explanation even from a fragment. Match depth to the apparent level of the question.
Input
The code snippet or file, plus (if given) the language, the reader's level, and what they're trying to understand. Infer the rest.
Output Structure
In one line
What this code does, in a single sentence a busy reader can repeat.
Step by step
A walkthrough of the logic in order — group by block/function. Explain why, not just what, for anything non-trivial. Reference line ranges where helpful.