explain

Explains code behavior, architecture decisions, and design rationale through structured walkthroughs.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/real-case/marvin-toolkit --skill explain-real-case
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: explain
Source: https://github.com/real-case/marvin-toolkit/tree/main/plugins/marvin/skills/explain
Command: npx skills add https://github.com/real-case/marvin-toolkit --skill explain-real-case

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often encounter unfamiliar or complex code and need to understand what it does, how it works, and why it was designed that way without digging through the entire codebase manually. ## Core Features & Use Cases - Execution Flow Tracing: Follows calls, data transformations, and state changes to explain how code actually behaves. - Historical Context: Uses git blame and log history to uncover the rationale behind non-obvious design decisions. - Calibrated Explanations: Adjusts depth to the reader's expertise, from two-sentence summaries of simple utilities to full walkthroughs of complex systems. - Use Case: You inherit a legacy module with no documentation. Ask how it works and receive a structured explanation covering its purpose, logic, dependencies, and known gotchas. ## Quick Start Ask the assistant to explain how the selected function or module works and why it is designed this way.

Frequently Asked Questions about explain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get an explanation of unfamiliar code?▼

Select the code or name the area you want to understand and ask how it works. The explanation covers what the code does, a step-by-step walkthrough of its logic, and design rationale when relevant.

What does a code explanation include?▼

Every explanation includes a one-sentence summary of what the code does and a step-by-step walkthrough of how it works. When relevant, it also covers design rationale, key dependencies, and non-obvious gotchas or edge cases.

Can it explain why code was designed a certain way?▼

Yes, it checks git blame and commit history to uncover historical context behind non-obvious decisions. For legacy or unusual code, it prioritizes explaining the original author's intent over pure mechanics.

When should I use explain instead of debug?▼

Use explain when you only want to understand how code behaves, including code that errors or throws. If your goal is to fix a failure or find its root cause, use the debug skill instead.

Does the explanation depth adapt to my experience level?▼

Yes, explanations are calibrated to your apparent expertise. Senior engineers get concise architectural context without basic fundamentals, while newcomers receive more foundational detail without assumed domain knowledge.