A comprehensive plugin for learning codebase structure, architecture, design patterns, and domain concepts through specialized agents and interactive commands
You can install this plugin from any of these themed marketplaces. Choose one, add it as a marketplace, then install the plugin.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install codebase-learning@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/codebase-learning.json
Step 2: Install the plugin
/plugin install codebase-learning@codebase-learning
A comprehensive Claude Code plugin designed to help developers learn and understand codebases through specialized AI agents and interactive commands. Whether you're onboarding to a new project, exploring unfamiliar code, or deepening your architectural understanding, this plugin provides structured learning paths and detailed insights.
Choose your preferred learning style:
Option A: Install from Marketplace (Recommended)
# Add the marketplace
/plugin marketplace add Jsnnmsc/claude-code-learning-marketplace
# Install the plugin
/plugin install codebase-learning@Jsnn-marketplace
Option B: Install from GitHub
# Clone the repository
git clone https://github.com/Jsnnmsc/claude-code-learning-marketplace.git
# Install via Claude Code
cd claude-code-learning-marketplace
claude-code plugin install .
Verify installation:
# In Claude Code
/plugin list
# Should show "codebase-learning"
Start with the interactive learning command:
/learn
Claude will ask you:
The Architecture Analyzer agent will analyze your codebase and provide a comprehensive overview!
The analysis will be automatically saved to a markdown file in .codebase-analysis/
directory. You can open this file in your editor for better viewing with:
# Trace how a feature works
/learn-flow authentication
# Discover design patterns
/learn-patterns
# Understand domain concepts
/learn-concepts order-processing
Before installing, ensure you have:
Claude Code installed and configured
claude-code --version
Git (for cloning the repository)
git --version
Clone the repository
git clone https://github.com/Jsnnmsc/claude-code-learning-marketplace.git
cd claude-code-learning-marketplace
Install the plugin
# Method 1: Using Claude Code CLI
claude-code plugin install .
# Method 2: Copy to plugins directory
# Linux/macOS:
mkdir -p ~/.claude-code/plugins
cp -r . ~/.claude-code/plugins/codebase-learning
# Windows:
# Copy to %USERPROFILE%\.claude-code\plugins\codebase-learning
Verify installation
# In Claude Code
/plugin list
# Should show "codebase-learning" in the list
Enable the plugin (if not auto-enabled)
/plugin enable codebase-learning
Install directly via Claude Code marketplace:
# Add the marketplace
/plugin marketplace add Jsnnmsc/claude-code-learning-marketplace
# Install the plugin
/plugin install codebase-learning@Jsnn-marketplace
/learn
Description: Interactive entry point for codebase learning
Usage: /learn
What it does:
/learn-architecture
Description: Analyze system architecture and design decisions
Usage: /learn-architecture
Best for:
Example Output:
/learn-flow [feature-name]
Description: Trace code execution paths for specific features
Usage: /learn-flow <feature-name>
Examples:
/learn-flow user-login
/learn-flow data-processing
/learn-flow api-request
Best for:
Example Output:
/learn-patterns
Description: Identify design patterns and coding conventions
Usage: /learn-patterns
Best for:
Example Output:
/learn-concepts [concept-name]
Description: Explore domain concepts and business logic
Usage: /learn-concepts <concept-name>
Examples:
/learn-concepts order-fulfillment
/learn-concepts user-permissions
/learn-concepts pricing-rules
Best for:
Example Output:
You've just joined a project and want to understand its architecture:
/learn-architecture
The plugin will:
.codebase-analysis/architecture-[timestamp].md
You can then open the markdown file in your editor for better viewing.
You need to fix a bug in the authentication system:
/learn-flow authentication
The plugin will:
.codebase-analysis/flow-authentication-[timestamp].md
Open the file in your editor to see the complete flow trace with diagrams.
You're working with a complex business domain:
/learn-concepts payment-processing
The plugin will:
.codebase-analysis/concepts-payment-processing-[timestamp].md
View the file in your editor to understand the business logic and code mapping.
You want to understand how the codebase is structured:
/learn-patterns
The plugin will:
.codebase-analysis/patterns-[timestamp].md
Open the file to browse the complete pattern catalog with examples.
All analysis results are automatically saved to the .codebase-analysis/
directory:
.codebase-analysis/
├── README.md # Directory documentation
├── architecture-2025-01-19-14-30.md # Architecture analyses
├── flow-authentication-2025-01-19-15-00.md # Flow traces
├── patterns-2025-01-19-16-00.md # Pattern detections
└── concepts-payment-2025-01-20-10-00.md # Concept explorations
Better Viewing: Open in your editor for:
Easy Navigation: Use your editor's:
Version Control: Choose to:
.gitignore
)View all analyses:
ls .codebase-analysis/
Search across analyses:
grep -r "authentication" .codebase-analysis/
Open in editor:
# Or simply click the file path provided after analysis
code .codebase-analysis/architecture-*.md
Best for: Thorough understanding, reference documentation, sharing with team
Best for: Hands-on learning, onboarding, teaching others
Best for: Visual learners, presentations, architectural documentation
Best for: Quick lookups, cheat sheets, summaries
/learn-architecture
to get the big picture/learn-patterns
to understand conventions/learn-flow
/learn-concepts
/learn-flow
to trace the problematic feature/learn-concepts
to understand related domain logic/learn-patterns
to identify if patterns are misapplied/learn-patterns
to check consistency/learn-architecture
to verify architectural compliance/learn-concepts
to validate business logic/learn-concepts
/learn-patterns
# 1. Understand architecture
/learn-architecture
# 2. Discover patterns
/learn-patterns
# 3. Trace key features
/learn-flow user-login
/learn-flow data-processing
# 4. Learn domain concepts
/learn-concepts [main-business-concept]
# 1. Trace the problematic feature
/learn-flow [buggy-feature]
# 2. Understand related domain logic
/learn-concepts [related-concept]
# 3. Check patterns for context
/learn-patterns
# 1. Review architecture
/learn-architecture
# 2. Check pattern consistency
/learn-patterns
# 3. Validate domain logic
/learn-concepts [feature-domain]
Problem: Plugin doesn't appear in /plugin list
Solutions:
Check installation directory:
ls ~/.claude-code/plugins/codebase-learning
Should show .claude-plugin/plugin.json
and other files
Verify plugin.json syntax:
cat ~/.claude-code/plugins/codebase-learning/.claude-plugin/plugin.json
Should be valid JSON
Reinstall the plugin:
claude-code plugin install /path/to/plugin
Problem: /learn
commands don't work
Solutions:
Check plugin is enabled:
/plugin list
# Look for "codebase-learning" with "enabled" status
Enable if needed:
/plugin enable codebase-learning
Restart Claude Code
Problem: Agents don't start or don't respond
Solutions:
Q: Does this plugin modify my code?
A: No, the plugin is read-only. It only analyzes and documents your code.
Q: Will it work with any programming language?
A: Yes! The agents are language-agnostic and work with any codebase.
Q: How long does analysis take?
A: Depends on codebase size. Small projects: 1-2 minutes. Large projects: 5-10 minutes.
Q: Can I customize the agents?
A: Yes! Agent prompts are in markdown files (agents/*.md
) and can be edited to fit your needs.
Q: Is my code sent to external servers?
A: The plugin uses Claude Code's AI, which sends code snippets to Anthropic's servers for analysis. Review Anthropic's privacy policy for details.
Q: Can I use this for proprietary codebases?
A: Yes, but review your company's policies regarding AI code analysis tools.
Q: How accurate is the analysis?
A: Very accurate for understanding structure and patterns. For critical decisions, always verify findings.
Q: What if I want different output than the predefined formats?
A: You can edit the agent prompts in the agents/
directory to customize the output format and content.
The plugin uses four specialized AI agents, each designed for specific learning tasks:
MIT License - see LICENSE file for details.
Created for the Claude Code community to make codebase learning more accessible and effective.
Happy Learning! 📚
Start your codebase learning journey with /learn
1.0.0