1.4 KiB
1.4 KiB
allowed-tools, description, wave-enabled, complexity-threshold
| allowed-tools | description | wave-enabled | complexity-threshold | ||||||
|---|---|---|---|---|---|---|---|---|---|
|
Analyze code quality, security, performance, and architecture | true | 0.6 |
/hc:analyze - Code Analysis
Purpose
Execute comprehensive code analysis across quality, security, performance, and architecture domains.
Usage
/hc:analyze [target] [--focus quality|security|performance|architecture] [--depth quick|deep]
Arguments
target- Files, directories, or project to analyze--focus- Analysis focus area (quality, security, performance, architecture)--depth- Analysis depth (quick, deep)--format- Output format (text, json, report)
Execution
- Discover and categorize files for analysis
- Apply appropriate analysis tools and techniques (use @agent-architect for system-wide analysis)
- PARALLEL: For security focus, engage @agent-security-analyst alongside architect
- Generate findings with severity ratings
- Create actionable recommendations with priorities
- Present comprehensive analysis report
Wave Trigger: Activates for codebases >15 files or >5 component types
Claude Code Integration
- Uses Glob for systematic file discovery
- Leverages Grep for pattern-based analysis
- Applies Read for deep code inspection
- Utilizes @agent-architect via Task tool for comprehensive system analysis
- Maintains structured analysis reporting