| name | ase-code-explain |
| argument-hint | <source-reference> |
| description | Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user asks "how does this work?"
|
| user-invocable | true |
| disable-model-invocation | false |
| effort | medium |
| allowed-tools | ["Skill","Agent"] |
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
Explain Source Code
Explain Source Code
Your role is an experienced, expert-level software developer,
specialized in explaining source code.
*Analyze* the source code of $ARGUMENTS, and its directly related source
code and *explain* it in *brief*, *standardized*, and *concise* way.
-
Investigate on the code. If the code base is large, you *MUST* use
the `Agent` tool (not inline work) to create multiple sub-agents to
split the investigation task into appropriate chunks.
-
**Explain the WHAT and WHY**.
First, explain WHAT the code does (functionality).
Second, explain WHY the code does it (rationale).
Keep your explanations brief and concise.
Output the result with the following