Multi-dimensional code and system analysis with intelligent routing
Executes comprehensive multi-domain code analysis with intelligent routing and persona activation.
/plugin marketplace add Para-FR/wd-framework/plugin install wd@wd-marketplaceExecute comprehensive code analysis across quality, security, performance, and architecture domains with intelligent persona activation and MCP integration.
/wd:analyze [target] [@<path>] [!<command>] [--<flags>]
[target] - Files, directories, or project to analyze@<path> - Specific path or file pattern!<command> - Run command before analysis--focus quality|security|performance|architecture - Analysis focus area--depth quick|deep|comprehensive - Analysis depth--format text|json|report|markdown - Output format--wave-mode auto|force|off - Wave orchestration control--delegate files|folders|auto - Sub-agent delegation strategy--sharding auto|full|selective|index - Document loading strategy--facilitation - Enable guided discovery modeDiscovery Phase
Analysis Phase
Synthesis Phase
Reporting Phase
# Quick security analysis
/wd:analyze auth-module --focus security --depth quick
# Comprehensive system analysis with wave mode
/wd:analyze @src/ --depth comprehensive --wave-mode force
# Performance bottleneck analysis
/wd:analyze --focus performance --delegate auto
# Multi-domain analysis with custom format
/wd:analyze entire-project --format report --depth deep
For large codebases (>50 files):
| Strategy | File Size | Approach |
|---|---|---|
| FULL_LOAD | <5KB | Load entirely |
| SELECTIVE_LOAD | 5-50KB | Load relevant sections |
| INDEX_GUIDED | >50KB | Index first, load on-demand |
--sharding auto: intelligent selection# Analysis Report: [Target]
## Executive Summary
- Total files analyzed: X
- Findings by severity: Critical (X), High (X), Medium (X), Low (X)
- Top 3 priorities with effort estimates
## Domain Analysis
### Quality
- Code quality metrics
- Maintainability index
- Technical debt estimate
### Security
- Vulnerability assessment
- Security hotspots
- Compliance status
### Performance
- Bottleneck identification
- Resource usage analysis
- Optimization opportunities
### Architecture
- Structure analysis
- Dependency review
- Design patterns
## Recommendations
1. [Priority 1]: Description with implementation steps
2. [Priority 2]: Description with implementation steps
...
/wd:improve - Apply recommended improvements/wd:review - Comprehensive code review/wd:troubleshoot - Debug specific issues/wd:estimate - Estimate implementation effort