AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Explain

skill-florianbruniaux-claude-code-plugins-explain · by FlorianBruniaux

Explain code, concepts, or system behavior with adjustable depth levels

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-florianbruniaux-claude-code-plugins-explain

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-florianbruniaux-claude-code-plugins-explain)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Explain? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Code Explainer

Explain code, concepts, or system behavior with adjustable depth levels.

Purpose

Get clear explanations of:

  • How specific code works
  • Why certain patterns are used
  • What a system/module does
  • Architectural decisions and trade-offs

Instructions

Step 1: Determine Scope

Identify what needs explanation:

  • File: Entire file structure and purpose
  • Function/Method: Specific implementation details
  • Concept: Architectural pattern or design decision
  • Flow: How data/control moves through the system

Step 2: Assess Complexity

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-offs

Step 3: Gather Context

# 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

Step 4: Structure the Explanation

Output Format


📖 Explanation: [Target]

Scope: [file/function/concept/flow] Depth: [simple/standard/deep]

What It Does

[1-3 sentences describing the purpose]

How It Works

[Step-by-step breakdown appropriate to depth level]

Key Decisions

| Decision | Why | Alternative | |----------|-----|-------------| | [choice made] | [reasoning] | [what else could work] |

Example Usage

// How to use this correctly

Related Code

  • path/to/related.ts - [relationship]
  • path/to/dependency.ts - [relationship]

💡 Learning Notes (if --learn flag)

[Additional context for understanding the broader pattern]


Depth Levels

Simple (/explain --simple)

**validateUser()** checks if the user object has required fields
(email, password) and returns a boolean. Uses regex for email format.

Standard (/explain - default)

**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()

Deep (/explain --deep)

[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

Usage Examples

Explain a file:

/explain src/auth/middleware.ts

Explain a function:

/explain the handleWebhook function in payments.ts

Explain a concept:

/explain how our event sourcing works

Explain with specific depth:

/explain --deep the authentication flow
/explain --simple what useCallback does

Explain for learning:

/explain --learn the repository pattern used here

Tips

  1. Be specific: "Explain line 45-60" > "Explain this file"
  2. State your level: "I'm new to TypeScript" helps calibrate
  3. Ask follow-ups: "Why not use X instead?" deepens understanding
  4. Request analogies: "Explain like I'm familiar with Python but not TS"

$ARGUMENTS

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.