Restores the entire .claude/ infrastructure that was accidentally deleted
in commit 1df208d ('feat(timeline): add pulse animation for in-flight drag
mutations'). Recovered via git checkout 1df208d^.
Restored:
- .claude/commands/ (gitlooper, sparc/, github/, automation/, monitoring/,
optimization/, hooks/, plan, implement, research, review, perf, visualaudit)
- .claude/agents/ (core/, github/, sparc/, v3/, swarm/, templates/, ...)
- .claude/helpers/ (41 scripts incl. hook-handler.cjs, statusline.cjs)
- .claude/skills/ (20 skills incl. sparc-methodology, github-*, v3-*)
- .claude/settings.json (hooks configuration)
Also updated all CapaKraken → Nexus references in affected command files.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
60 lines
1.2 KiB
Markdown
60 lines
1.2 KiB
Markdown
# SPARC Analyzer Mode
|
|
|
|
## Purpose
|
|
|
|
Deep code and data analysis with batch processing capabilities.
|
|
|
|
## Activation
|
|
|
|
### Option 1: Using MCP Tools (Preferred in Claude Code)
|
|
|
|
```javascript
|
|
mcp__claude-flow__sparc_mode {
|
|
mode: "analyzer",
|
|
task_description: "analyze codebase performance",
|
|
options: {
|
|
parallel: true,
|
|
detailed: true
|
|
}
|
|
}
|
|
```
|
|
|
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
|
|
```bash
|
|
# Use when running from terminal or MCP tools unavailable
|
|
npx claude-flow sparc run analyzer "analyze codebase performance"
|
|
|
|
# For alpha features
|
|
npx claude-flow@alpha sparc run analyzer "analyze codebase performance"
|
|
```
|
|
|
|
### Option 3: Local Installation
|
|
|
|
```bash
|
|
# If claude-flow is installed locally
|
|
./claude-flow sparc run analyzer "analyze codebase performance"
|
|
```
|
|
|
|
## Core Capabilities
|
|
|
|
- Code analysis with parallel file processing
|
|
- Data pattern recognition
|
|
- Performance profiling
|
|
- Memory usage analysis
|
|
- Dependency mapping
|
|
|
|
## Batch Operations
|
|
|
|
- Parallel file analysis using concurrent Read operations
|
|
- Batch pattern matching with Grep tool
|
|
- Simultaneous metric collection
|
|
- Aggregated reporting
|
|
|
|
## Output Format
|
|
|
|
- Detailed analysis reports
|
|
- Performance metrics
|
|
- Improvement recommendations
|
|
- Visualizations when applicable
|