---
name: explain-code
description: Explain code logic, core design, and key conventions
arguments: [code]
---

Explain the following code:

1. Overall purpose (one sentence)
2. Core logic (key steps in execution order)
3. Key design choices (why it is written this way, not another way)

Keep it quick to grasp for developers; do not translate the code line by line:

```
{code}
```
