code-explainer
CommunityDemystify code, understand it instantly.
#developer tools#code analysis#onboarding#code understanding#code patterns#code explanation#documentation generation
AuthorBobain
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Understanding complex or unfamiliar code can be a significant barrier for new team members, during code reviews, or when creating documentation. This skill provides clear, accessible explanations of code functionality at various levels, from entire files to specific functions and architectural patterns.
Core Features & Use Cases
- File Explanation: Summarizes a file's purpose, exports, dependencies, and key concepts.
- Function/Class Explanation: Provides detailed explanations of specific functions or classes, including parameters, return values, complexity, methods, and attributes.
- Pattern Explanation: Describes common code patterns (e.g., singleton, mixin, dependency injection), their use cases, pros, and cons.
- Use Case: A
new team memberneeds to understand thejwt.pyauthentication module. They use this skill to get a high-level summary of the file, detailed explanations of key functions likevalidate_jwt, and an overview of the JWT pattern, accelerating their onboarding.
Quick Start
# Explain the purpose and structure of a code file
python scripts/explainer.py explain-file coffee_maker/auth/jwt.py
# Get a detailed explanation of a specific function
python scripts/explainer.py explain-function coffee_maker/auth/jwt.py validate_jwt
# Understand a common code pattern
python scripts/explainer.py explain-pattern singleton
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-explainer Download link: https://github.com/Bobain/MonolithicCoffeeMakerAgent/archive/main.zip#code-explainer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.