/deep-code-analysis
Comprehensive codebase investigation using research-expert for documentation, explore-codebase for structure, and deep analysis. Perfect for understanding complex systems.
$ npx -y skills add fusengine/agents --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/deep-code-analysis
Context preview
What this command does when you run it.
Comprehensive codebase investigation using research-expert for documentation, explore-codebase for structure, and deep analysis. Perfect for understanding complex systems.
Command definition
deep-code-analysis.mddescription: Comprehensive codebase investigation using research-expert for documentation, explore-codebase for structure, and deep analysis. Perfect for understanding complex systems.
Deep Code Analysis
Perform comprehensive codebase investigation:
1. **Initial Exploration**: > Use explore-codebase to map the project structure and identify key components
Wait for exploration results.
2. **Documentation Research**: > Use research-expert to find official documentation for [detected frameworks/libraries]
Focus on:
- Architecture patterns used
- Best practices for detected tech stack
- Common pitfalls to avoid
3. **Pattern Analysis**:
- Identify design patterns (MVC, Repository, Factory, etc.)
- Analyze data flow and state management
- Map component relationships
- Detect code smells and anti-patterns
4. **Security Review**:
- Check for common vulnerabilities (SQL injection, XSS, CSRF)
- Validate input sanitization
- Review authentication/authorization
- Analyze dependency security
5. **Performance Assessment**:
- Identify N+1 query problems
- Check for memory leaks
- Analyze algorithm efficiency
- Review caching strategies
6. **Generate Report**:
## ๐ Deep Code Analysis: [Project Name]
### Architecture Overview
- **Pattern**: [Detected pattern]
- **Tech Stack**: [Technologies]
- **Structure**: [Organization approach]
### Strengths
- โ
[Positive aspect 1]
- โ
[Positive aspect 2]
### Areas for Improvement
- โ ๏ธ [Issue 1]: [Impact] โ [Recommendation]
- โ ๏ธ [Issue 2]: [Impact] โ [Recommendation]
### Security Findings
- ๐ [Finding 1]
- ๐ [Finding 2]
### Performance Opportunities
- โก [Optimization 1]
- โก [Optimization 2]
### Recommendations
1. **[Priority 1]**: [Action]
2. **[Priority 2]**: [Action]
**Arguments**:
- $ARGUMENTS specifies focus area (security/performance/architecture)
**Example Usage**:
- `/deep-code-analysis security` โ Focus on security review
- `/deep-code-analysis` โ Comprehensive analysis
Read more
description: Comprehensive codebase investigation using research-expert for documentation, explore-codebase for structure, and deep analysis. Perfect for understanding complex systems.
Deep Code Analysis
Perform comprehensive codebase investigation:
1. **Initial Exploration**: > Use explore-codebase to map the project structure and identify key components
Wait for exploration results.
2. **Documentation Research**: > Use research-expert to find official documentation for [detected frameworks/libraries]
Focus on:
- Architecture patterns used
- Best practices for detected tech stack
- Common pitfalls to avoid
3. **Pattern Analysis**:
- Identify design patterns (MVC, Repository, Factory, etc.)
- Analyze data flow and state management
- Map component relationships
- Detect code smells and anti-patterns
4. **Security Review**:
- Check for common vulnerabilities (SQL injection, XSS, CSRF)
- Validate input sanitization
- Review authentication/authorization
- Analyze dependency security
5. **Performance Assessment**:
- Identify N+1 query problems
- Check for memory leaks
- Analyze algorithm efficiency
- Review caching strategies
6. **Generate Report**:
## ๐ Deep Code Analysis: [Project Name] ### Architecture Overview - **Pattern**: [Detected pattern] - **Tech Stack**: [Technologies] - **Structure**: [Organization approach] ### Strengths - โ [Positive aspect 1] - โ [Positive aspect 2] ### Areas for Improvement - โ ๏ธ [Issue 1]: [Impact] โ [Recommendation] - โ ๏ธ [Issue 2]: [Impact] โ [Recommendation] ### Security Findings - ๐ [Finding 1] - ๐ [Finding 2] ### Performance Opportunities - โก [Optimization 1] - โก [Optimization 2] ### Recommendations 1. **[Priority 1]**: [Action] 2. **[Priority 2]**: [Action]
**Arguments**:
- $ARGUMENTS specifies focus area (security/performance/architecture)
**Example Usage**:
- `/deep-code-analysis security` โ Focus on security review
- `/deep-code-analysis` โ Comprehensive analysis
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.
Repo: fusengine/agents
Other commands on fusengine-agents.
- /apex-quick
Quick Flow for simple fixes - Single expert handles explore, code, review, and validate in one pass. Inspired by BMAD Barry.
Open command - /apex
APEX Methodology - The systematic Analyze-Plan-Execute-eLicit-eXamine approach for intelligent development. Reduces hallucination and defect risk through mandatory parallel research, self-review, and validation gates.
Open command - /cleanup-context
Memory optimization - removes duplicates, consolidates knowledge, and cleans memory banks for better performance.
Open command - /create-pull-request
Auto-generate Pull Request with comprehensive description, test plan, and changelog. Uses gh CLI for creation.
Open command - /epct
Systematic Explore-Plan-Code-Test methodology for structured development. Ensures comprehensive approach to feature implementation.
Open command - /explain-architecture
Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.
Open command

