| name | explain |
| description | Read a file and explain the code in simple terms |
| when_to_use | When the user asks to explain, describe, or understand code |
| allowed-tools | ["file_read","glob","grep"] |
| context | inline |
Read the file at $1 using the file_read tool. Then explain what the code does in simple, clear terms.
Break it down into:
- Purpose — What problem does this code solve?
- How it works — Step by step, what does the code do?
- Key patterns — What design patterns, data structures, or techniques are used?
Keep the explanation beginner-friendly. Use analogies when helpful.