Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explain code, concepts, or system behavior with adjustable depth levels
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 10% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -10% | 0% |
Explain code, concepts, or system behavior with adjustable depth levels.
Get clear explanations of:
Identify what needs explanation:
Simple (1-2 min read) → Quick summary, key points only
Standard (3-5 min read) → Purpose, how it works, key decisions
Deep (10+ min read) → Full breakdown, alternatives, trade-offsbash# For file explanations head -50 "$FILE" # See imports and structure # For function explanations grep -A 30 "function $NAME\|def $NAME\|fn $NAME" "$FILE" # For module explanations ls -la "$DIR" cat "$DIR/index.ts" 2>/dev/null || cat "$DIR/__init__.py" 2>/dev/null
Scope: file/function/concept/flow] Depth: simple/standard/deep]
1-3 sentences describing the purpose]
Step-by-step breakdown appropriate to depth level]
| Decision | Why | Alternative | |----------|-----|-------------| | choice made] | reasoning] | what else could work] |
typescript// How to use this correctly
path/to/related.ts - relationship]path/to/dependency.ts - relationship]Additional context for understanding the broader pattern]
/explain --simple)markdown**validateUser()** checks if the user object has required fields (email, password) and returns a boolean. Uses regex for email format.
/explain - default)markdown**validateUser(user: User): ValidationResult** **Purpose**: Validates user input before database operations. **Flow**: 1. Check required fields exist (email, password) 2. Validate email format with regex 3. Check password meets requirements (8+ chars, special char) 4. Return { valid: boolean, errors: string[] } **Used by**: signup(), updateProfile()
/explain --deep)markdown[All of standard, plus:] **Design Decisions**: - Returns ValidationResult instead of throwing to allow batch validation - Regex chosen over library for zero dependencies - Password rules configurable via config.ts **Trade-offs**: - Pro: Fast, no dependencies - Con: Regex email validation isn't RFC-compliant **Alternatives Considered**: - Zod schema: More powerful but adds 50KB - Class-validator: Better for decorators but OOP-heavy
Explain a file:
/explain src/auth/middleware.tsExplain a function:
/explain the handleWebhook function in payments.tsExplain a concept:
/explain how our event sourcing worksExplain with specific depth:
/explain --deep the authentication flow
/explain --simple what useCallback doesExplain for learning:
/explain --learn the repository pattern used here$ARGUMENTS
Other measured skills in the registry, with their headline benchmark lift.