Jsnnmsc/claude-code-learning-marketplace
Jsnnmsc/claude-code-learning-marketplace · 3 stars · 1 plugin
Marketplace A Claude Code plugin marketplace dedicated to AI-powered codebase learning. Discover specialized plugins designed to help you understand architecture, trace code flows, identify patterns, and explore domain concepts—making onboarding and knowledge sharing effortless.
Install
/plugin marketplace add Jsnnmsc/claude-code-learning-marketplaceRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@Jsnn-marketplace.
- 1codebase-learningA comprehensive plugin for learning codebase structure, architecture, design patterns, and domain concepts through specialized agents and interactive commands
/plugin install codebase-learning@Jsnn-marketplace
Files
Codebase Learning Plugin for Claude Code
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.
Table of Contents
- Features
- Quick Start
- Installation
- Commands Reference
- Usage Examples
- Output Formats
- Best Practices
- Troubleshooting
- FAQ
- License
Features
🏗️ Architecture Analysis
- Analyze system architecture and design decisions
- Understand layer separation and module organization
- Visualize component relationships and dependencies
- Learn about architectural patterns in use
🔍 Code Flow Tracing
- Trace feature implementations end-to-end
- Understand execution paths and data flow
- Map function call sequences
- Identify key decision points and logic
🎨 Pattern Detection
- Identify design patterns (Gang of Four)
- Discover architectural patterns
- Analyze coding conventions and best practices
- Learn from pattern implementations
💡 Domain Concept Exploration
- Understand business logic and domain rules
- Learn domain-specific terminology
- Map concepts to code implementations
- Explore entity relationships and workflows
🎯 Interactive Output Formats
Choose your preferred learning style:
- Interactive Documentation: Detailed markdown with diagrams and cross-references
- Guided Exploration: Step-by-step walkthroughs
- Visual Diagrams: Mermaid charts showing structure and relationships
- Structured Notes: Organized summaries for quick reference
Quick Start
1. Install the Plugin
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"
2. First Learning Session
Start with the interactive learning command:
/learn
Claude will ask you:
- What to learn? Choose "Architecture & Design Patterns"
- Scope? Choose "Entire codebase overview"
- Output format? Choose "Interactive Documentation"
The Architecture Analyzer agent will analyze your codebase and provide a comprehensive overview!
3. View Results
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:
- Formatted markdown
- Rendered diagrams
- Clickable file references
- Easy navigation
4. Explore Different Aspects
# Trace how a feature works /learn-flow authentication # Discover design patterns /learn-patterns # Understand domain concepts /learn-concepts order-processing
Installation
Prerequisites
Before installing, ensure you have:
-
Claude Code installed and configured
- Download from: https://claude.com/claude-code
- Verify installation:
claude-code --version
-
Git (for cloning the repository)
- Install: https://git-scm.com/downloads
- Verify:
git --version
Install from GitHub
-
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 from Marketplace
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
Commands Reference
/learn
Description: Interactive entry point for codebase learning
Usage: /learn
What it does:
- Asks what aspect of the codebase you want to explore
- Guides you to the appropriate specialized command
- Provides personalized learning path recommendations
/learn-architecture
Description: Analyze system architecture and design decisions
Usage: /learn-architecture
Best for:
- Understanding overall system structure
- Learning about layer organization
- Discovering architectural patterns
- Mapping component dependencies
Example Output:
- High-level architecture diagrams
- Layer separation analysis
- Component dependency maps
- Design decision explanations
/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:
- Understanding how features work
- Debugging complex logic
- Learning control flow
- Tracing data transformations
Example Output:
- Entry point identification
- Step-by-step execution trace
- Data flow diagrams
- Sequence diagrams
/learn-patterns
Description: Identify design patterns and coding conventions
Usage: /learn-patterns
Best for:
- Discovering patterns in use
- Learning best practices
- Understanding code organization
- Identifying refactoring opportunities
Example Output:
- Design pattern catalog
- Architectural pattern analysis
- Coding convention documentation
- Pattern consistency report
/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:
- Understanding business logic
- Learning domain terminology
- Mapping concepts to code
- Exploring entity relationships
Example Output:
- Business concept explanations
- Domain model diagrams
- Business rules documentation
- Code-to-concept mappings
Usage Examples
Example 1: Learning a New Codebase
You've just joined a project and want to understand its architecture:
/learn-architecture
The plugin will:
- Ask for your preferred output format
- Ask what scope to analyze (full system, specific module, etc.)
- Launch the Architecture Analyzer agent
- Save the analysis to
.codebase-analysis/architecture-[timestamp].md - Display the results and provide the file path
- Suggest related areas to explore
You can then open the markdown file in your editor for better viewing.
Example 2: Understanding a Feature
You need to fix a bug in the authentication system:
/learn-flow authentication
The plugin will:
- Ask for output format preference
- Find the authentication entry point
- Trace the complete execution path
- Save the flow analysis to
.codebase-analysis/flow-authentication-[timestamp].md - Display the results and provide the file path
Open the file in your editor to see the complete flow trace with diagrams.
Example 3: Learning Domain Concepts
You're working with a complex business domain:
/learn-concepts payment-processing
The plugin will:
- Ask for exploration depth (overview/implementation/complete)
- Ask for output format
- Analyze the domain concept
- Save the explanation to
.codebase-analysis/concepts-payment-processing-[timestamp].md - Display the results and provide the file path
View the file in your editor to understand the business logic and code mapping.
Example 4: Pattern Discovery
You want to understand how the codebase is structured:
/learn-patterns
The plugin will:
- Ask what patterns to look for (design/architectural/conventions/all)
- Ask for analysis scope
- Scan and identify patterns
- Save the pattern catalog to
.codebase-analysis/patterns-[timestamp].md - Display the results and provide the file path
Open the file to browse the complete pattern catalog with examples.
Analysis Results Storage
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
Benefits of Saved Files
-
Better Viewing: Open in your editor for:
- Syntax highlighting
- Rendered Mermaid diagrams
- Clickable file references
- Proper markdown formatting
-
Easy Navigation: Use your editor's:
- Outline view for quick navigation
- Search functionality
- Split view for comparing analyses
-
Version Control: Choose to:
- Keep analyses private (default, in
.gitignore) - Commit as team documentation
- Share specific analyses with teammates
- Keep analyses private (default, in
Managing Analysis Files
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
Output Formats
Interactive Documentation
- Comprehensive markdown documents
- Hierarchical structure for easy navigation
- Mermaid diagrams and visualizations
- Code snippets with file references
- Cross-references between sections
- "Deep dive" sections for complex topics
Best for: Thorough understanding, reference documentation, sharing with team
Guided Exploration
- Step-by-step walkthroughs
- Progressive disclosure of complexity
- "Follow along" navigation instructions
- Questions to ponder at each step
- Exercises to reinforce learning
- Multiple exploration paths
Best for: Hands-on learning, onboarding, teaching others
Visual Diagrams
- Architecture diagrams (C4 model style)
- Sequence diagrams for flows
- Class and entity relationship diagrams
- Flowcharts for logic paths
- All diagrams in Mermaid format
Best for: Visual learners, presentations, architectural documentation
Structured Notes
- Concise bullet-point summaries
- Quick reference format
- Key findings highlighted
- File location index
- Pattern catalogs
- Decision logs
Best for: Quick lookups, cheat sheets, summaries
Best Practices
For Learning New Codebases
- Start with
/learn-architectureto get the big picture - Use
/learn-patternsto understand conventions - Trace important features with
/learn-flow - Dive into domain concepts with
/learn-concepts
For Debugging
- Use
/learn-flowto trace the problematic feature - Use
/learn-conceptsto understand related domain logic - Use
/learn-patternsto identify if patterns are misapplied
For Code Review
- Use
/learn-patternsto check consistency - Use
/learn-architectureto verify architectural compliance - Use
/learn-conceptsto validate business logic
For Documentation
- Copy analysis results to create team documentation
- Use visual diagram output for architecture docs
- Create concept glossaries with
/learn-concepts - Build pattern catalogs with
/learn-patterns
Common Workflows
Onboarding to New Codebase
# 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]
Debugging a Bug
# 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
Code Review Preparation
# 1. Review architecture /learn-architecture # 2. Check pattern consistency /learn-patterns # 3. Validate domain logic /learn-concepts [feature-domain]
Troubleshooting
Plugin not loading
Problem: Plugin doesn't appear in /plugin list
Solutions:
-
Check installation directory:
ls ~/.claude-code/plugins/codebase-learning
Should show
.claude-plugin/plugin.jsonand 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
Commands not found
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
Agent not responding
Problem: Agents don't start or don't respond
Solutions:
- Check internet connection
- Verify Claude Code is properly authenticated
- Try the command again
- Check Claude Code has necessary permissions
FAQ
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.
Specialized Agents
The plugin uses four specialized AI agents, each designed for specific learning tasks:
Architecture Analyzer
- Analyzes system architecture at multiple levels
- Identifies architectural patterns and styles
- Maps component dependencies
- Explains design decisions and trade-offs
- Creates architecture diagrams
Code Flow Tracer
- Traces execution paths from entry to exit
- Maps data transformations
- Identifies decision points
- Explains control flow logic
- Creates sequence diagrams
Pattern Detector
- Identifies Gang of Four design patterns
- Discovers architectural patterns
- Analyzes coding conventions
- Assesses pattern consistency
- Creates pattern catalogs
Concept Explainer
- Explains business concepts
- Maps domain to code
- Documents business rules
- Shows entity relationships
- Creates domain models
License
MIT License - see LICENSE file for details.
Credits
Created for the Claude Code community to make codebase learning more accessible and effective.
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
Happy Learning! 📚
Start your codebase learning journey with /learn
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
"name": "Jsnn-marketplace",
"version": "1.0.0",
"description": "A marketplace for codebase learning and exploration plugins",
"owner": {
"name": "Jsnn",
"email": "jsnn@example.com"
},
"plugins": [
{
"name": "codebase-learning",
"description": "A comprehensive plugin for learning codebase structure, architecture, design patterns, and domain concepts through specialized agents and interactive commands",
"source": "./plugins/codebase-learning",
"category": "development"
}
]
}Facts
- Kind
- Marketplace
- Repo
- Jsnnmsc/claude-code-learning-marketplace
- Group
- Uncategorized
- Stars
- 3
- Marketplace name
- Jsnn-marketplace
- Owner
- Jsnn
- License
- MIT
- Created
- 2025-10-18
- Last push
- 2025-10-19
- Forks
- 1
- Topics
- claude-code, claude-code-plugin, learning
- Plugins
- 1
Next on this shelf
- 1466ken2403/claude-paralell-dev-pluginken2403/agent-parallel-dev-plugin3
- 1467kjgarza/marketplace-claudekjgarza/marketplace-claude3
- 1468kongdd/Skills_for_Your_AI_Studentkongdd/Skills_for_Your_AI_Student3
- 1469krakend/claude-code-pluginkrakend/claude-code-plugin3
- 1470lttr/claude-marketplacelttr/claude-marketplace3
- 1471masuP9/codex-collabmasuP9/agent-dialectics3