mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
feat: restore all 30 slash commands with comprehensive documentation
Restored 26 additional commands from commitd4a17fc, bringing total from 5 to 30 commands. ## New Commands Added (26): - /analyze - Code and architecture analysis - /brainstorm - Structured brainstorming sessions - /build - Build and compilation workflows - /business-panel - Multi-expert business analysis - /cleanup - Code cleanup and refactoring - /design - System design and architecture - /document - Documentation generation - /estimate - Effort and time estimation - /explain - Code explanation - /git - Git operations and workflows - /help - Command help and usage - /implement - Implementation workflows - /improve - Code improvement suggestions - /index - Project indexing (alias for index-repo) - /load - Load saved sessions - /pm - Project management workflows - /reflect - Reflection and retrospectives - /save - Save current session - /select-tool - Tool selection guidance - /spawn - Spawn parallel tasks - /spec-panel - Multi-expert specification analysis - /task - Task management - /test - Testing workflows - /troubleshoot - Debugging and troubleshooting - /workflow - Custom workflow automation ## Documentation Updates: - Created docs/reference/commands-list.md with categorized command reference - Updated README.md with expandable 30-command list - Updated README-zh.md with Chinese translations - Updated README-ja.md with Japanese translations - Updated README-kr.md with Korean translations - Changed statistics: "3 plugins" → "30 commands" - Added command categories: Planning & Design, Development, Testing & Quality, Documentation, Version Control, Project Management, Research & Analysis, Utilities ## Files Changed: - 60 files changed, 7930 insertions(+), 267 deletions(-) - Added 26 commands to plugins/superclaude/commands/ - Added 26 commands to src/superclaude/commands/ - Created comprehensive command documentation Commands restored from:d4a17fc(superclaude/commands/) Total: 30 commands now available 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
89
plugins/superclaude/commands/analyze.md
Normal file
89
plugins/superclaude/commands/analyze.md
Normal file
@@ -0,0 +1,89 @@
|
||||
---
|
||||
name: analyze
|
||||
description: "Comprehensive code analysis across quality, security, performance, and architecture domains"
|
||||
category: utility
|
||||
complexity: basic
|
||||
mcp-servers: []
|
||||
personas: []
|
||||
---
|
||||
|
||||
# /sc:analyze - Code Analysis and Quality Assessment
|
||||
|
||||
## Triggers
|
||||
- Code quality assessment requests for projects or specific components
|
||||
- Security vulnerability scanning and compliance validation needs
|
||||
- Performance bottleneck identification and optimization planning
|
||||
- Architecture review and technical debt assessment requirements
|
||||
|
||||
## Usage
|
||||
```
|
||||
/sc:analyze [target] [--focus quality|security|performance|architecture] [--depth quick|deep] [--format text|json|report]
|
||||
```
|
||||
|
||||
## Behavioral Flow
|
||||
1. **Discover**: Categorize source files using language detection and project analysis
|
||||
2. **Scan**: Apply domain-specific analysis techniques and pattern matching
|
||||
3. **Evaluate**: Generate prioritized findings with severity ratings and impact assessment
|
||||
4. **Recommend**: Create actionable recommendations with implementation guidance
|
||||
5. **Report**: Present comprehensive analysis with metrics and improvement roadmap
|
||||
|
||||
Key behaviors:
|
||||
- Multi-domain analysis combining static analysis and heuristic evaluation
|
||||
- Intelligent file discovery and language-specific pattern recognition
|
||||
- Severity-based prioritization of findings and recommendations
|
||||
- Comprehensive reporting with metrics, trends, and actionable insights
|
||||
|
||||
## Tool Coordination
|
||||
- **Glob**: File discovery and project structure analysis
|
||||
- **Grep**: Pattern analysis and code search operations
|
||||
- **Read**: Source code inspection and configuration analysis
|
||||
- **Bash**: External analysis tool execution and validation
|
||||
- **Write**: Report generation and metrics documentation
|
||||
|
||||
## Key Patterns
|
||||
- **Domain Analysis**: Quality/Security/Performance/Architecture → specialized assessment
|
||||
- **Pattern Recognition**: Language detection → appropriate analysis techniques
|
||||
- **Severity Assessment**: Issue classification → prioritized recommendations
|
||||
- **Report Generation**: Analysis results → structured documentation
|
||||
|
||||
## Examples
|
||||
|
||||
### Comprehensive Project Analysis
|
||||
```
|
||||
/sc:analyze
|
||||
# Multi-domain analysis of entire project
|
||||
# Generates comprehensive report with key findings and roadmap
|
||||
```
|
||||
|
||||
### Focused Security Assessment
|
||||
```
|
||||
/sc:analyze src/auth --focus security --depth deep
|
||||
# Deep security analysis of authentication components
|
||||
# Vulnerability assessment with detailed remediation guidance
|
||||
```
|
||||
|
||||
### Performance Optimization Analysis
|
||||
```
|
||||
/sc:analyze --focus performance --format report
|
||||
# Performance bottleneck identification
|
||||
# Generates HTML report with optimization recommendations
|
||||
```
|
||||
|
||||
### Quick Quality Check
|
||||
```
|
||||
/sc:analyze src/components --focus quality --depth quick
|
||||
# Rapid quality assessment of component directory
|
||||
# Identifies code smells and maintainability issues
|
||||
```
|
||||
|
||||
## Boundaries
|
||||
|
||||
**Will:**
|
||||
- Perform comprehensive static code analysis across multiple domains
|
||||
- Generate severity-rated findings with actionable recommendations
|
||||
- Provide detailed reports with metrics and improvement guidance
|
||||
|
||||
**Will Not:**
|
||||
- Execute dynamic analysis requiring code compilation or runtime
|
||||
- Modify source code or apply fixes without explicit user consent
|
||||
- Analyze external dependencies beyond import and usage patterns
|
||||
Reference in New Issue
Block a user