explain
Installation
SKILL.md
Behavior
Explain $ARGUMENTS. Do the research and deliver the explanation in one pass.
Determine the mode from the argument:
- If the argument is a file path, class name, or method — this is a code explanation. Follow the Code Explanation section.
- If the argument is a user action, feature, or flow description (e.g. "password reset", "checkout", "authentication") — this is a flow explanation. Follow the Flow Explanation section.
Code Explanation
Start by checking the git history for the file: git log --oneline -15 <file> and git log -1 -p <file> for the most recent change. Commit messages often reveal the "why" that the code itself doesn't — a bug that was fixed, a refactor that simplified something, a workaround for an external constraint. Note anything that reframes the code before diving into it.
Then read the code carefully and explain in this order: