code-explain

Generate structured code explanations with Mermaid flow and class diagrams.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gpaura/claude_plugins --skill code-explain-gpaura
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-explain
Source: https://github.com/gpaura/claude_plugins/tree/main/skills/code-explain
Command: npx skills add https://github.com/gpaura/claude_plugins --skill code-explain-gpaura

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides clear, structured explanations of code, enhanced with visual diagrams, to help developers understand complex logic, onboard new codebases faster, and improve learning outcomes.

Core Features & Use Cases

  • Step-by-step code breakdowns that describe how each function, class, and module works.
  • Mermaid diagrams (flow and class diagrams) to visualize execution flow and relationships.
  • Useful for code reviews, pair programming, and learning new technologies or architectures.

Quick Start

Explain the function parseJson in app/utils.py with a step-by-step breakdown and diagrams.

Frequently Asked Questions about code-explain

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

FAQPage Schema
How do I generate code explanations with diagrams for onboarding?

To generate code explanations with diagrams, you provide a function, class, or module from your codebase. The system outputs structured, step-by-step breakdowns enhanced with Mermaid flow and class diagrams to visualize execution flow and relationships.

What is the best way to visualize code execution flow for code reviews?

The best way to visualize code execution flow for code reviews is using Mermaid diagrams. This approach generates detailed flow and class diagrams alongside progressive breakdowns, making complex logic and architecture easier to understand.

Can I use this to explain Python, JavaScript, and Java codebases?

Yes, you can use this to explain Python, JavaScript, TypeScript, and Java codebases. It covers functions, classes, and modules within these languages to aid onboarding, learning, and code reviews.

How do I create step-by-step code breakdowns for documentation?

You create step-by-step code breakdowns by submitting your code for analysis. The process outputs structured explanations describing how each function and module works, which can be directly integrated into your tutorials and documentation.

Does this tool generate both flow and class diagrams for code?

Yes, this tool generates both Mermaid flow diagrams and class diagrams. These visualizations map execution paths and structural relationships, providing a progressive breakdown of functions and modules to improve readability.