explain-step
Installation
SKILL.md
Explain Step
Read a function or code block and produce a deterministic numbered step-by-step explanation of its business-level flow, with sub-steps that explain how each step works internally.
The core guarantee: given the same unchanged code, every run must produce the same steps, in the same order, covering the same content.
Two Levels of Explanation
Every output has two layers:
- Top-level steps: What the function does — one step per business concern/entity (grouped by domain concept)
- Sub-steps (N.1, N.2, ...): How the step works internally — the distinct operations inside that step
This gives the reader both the big picture and the mechanics without being code-level verbose.
Step Derivation Algorithm
Follow this algorithm exactly.