491a45dd43
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
907 B
907 B
name, description, argument-hint, disable-model-invocation
| name | description | argument-hint | disable-model-invocation |
|---|---|---|---|
| explain | Explain code with visual diagrams and clear mental models | [file, function, or concept] | true |
Explain $ARGUMENTS clearly.
Format
1. One-sentence summary
What does it do and why does it exist? One sentence.
2. Mental model
Give an analogy or metaphor that captures the core idea. Relate it to something the developer already knows.
3. Visual diagram
Draw an ASCII diagram showing the data/control flow. Keep it readable:
Input → [Step A] → [Step B] → Output
↓
[Side Effect]
4. Key details
Walk through the important parts. Skip the obvious — focus on:
- Non-obvious decisions (why this approach?)
- Edge cases and gotchas
- Dependencies and side effects
5. How to modify it
What would someone need to know to safely change this code? Where are the landmines?