maji-explainlisted
Install: claude install-skill Ijam18/MAJI-Skills
# maji-explain — Fast, Layered Explanations
A skill that explains code, concepts, errors, or libraries in 3 layers: 1-sentence answer → 1-paragraph detail → full deep-dive only on request. No "let me walk you through this", no "great question!".
---
## When to Use
Type `maji-explain <target>` where target is:
- A code snippet (`maji-explain function debounce...`)
- A library/concept (`maji-explain useEffect`)
- An error message (`maji-explain TypeError: cannot read...`)
- A pattern (`maji-explain dependency injection`)
- A file path (`maji-explain src/auth.ts`)
---
## The 3-Layer Format
### Layer 1 — One-sentence answer (always)
A direct answer to "what is this?" or "what does it do?". Max 25 words.
### Layer 2 — Brief context (always)
3-5 bullets covering:
- Key inputs/outputs (for code)
- Why it exists / problem it solves
- Common usage pattern
- Notable gotchas / edge cases
### Layer 3 — Deep dive (only on request)
Triggered by user follow-up: "explain more", "go deeper", "what about [specific aspect]".
Includes:
- Full mechanism
- Code walkthrough line-by-line (if applicable)
- Comparison with alternatives
- Internals / implementation notes
---
## Output Format
```
[Layer 1 — 1-sentence answer]
Key points:
• [bullet 1]
• [bullet 2]
• [bullet 3]
• [bullet 4]
Want deeper detail on [specific aspect]?
```
---
## Examples
### Example 1 — React `useEffect`
**Input:**
```
maji-explain useEffect
```
**Output:**
```
useEffect runs side effects after a Rea