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>
62 lines
1.1 KiB
Markdown
62 lines
1.1 KiB
Markdown
# SPARC Reviewer Mode
|
|
|
|
## Purpose
|
|
|
|
Code review using batch file analysis for comprehensive reviews.
|
|
|
|
## Activation
|
|
|
|
### Option 1: Using MCP Tools (Preferred in Claude Code)
|
|
|
|
```javascript
|
|
mcp__claude-flow__sparc_mode {
|
|
mode: "reviewer",
|
|
task_description: "review pull request #123",
|
|
options: {
|
|
security_check: true,
|
|
performance_check: 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 reviewer "review pull request #123"
|
|
|
|
# For alpha features
|
|
npx claude-flow@alpha sparc run reviewer "review pull request #123"
|
|
```
|
|
|
|
### Option 3: Local Installation
|
|
|
|
```bash
|
|
# If claude-flow is installed locally
|
|
./claude-flow sparc run reviewer "review pull request #123"
|
|
```
|
|
|
|
## Core Capabilities
|
|
|
|
- Code quality assessment
|
|
- Security review
|
|
- Performance analysis
|
|
- Best practices check
|
|
- Documentation review
|
|
|
|
## Review Criteria
|
|
|
|
- Code correctness
|
|
- Design patterns
|
|
- Error handling
|
|
- Test coverage
|
|
- Maintainability
|
|
|
|
## Batch Analysis
|
|
|
|
- Parallel file review
|
|
- Pattern detection
|
|
- Dependency checking
|
|
- Consistency validation
|
|
- Automated reporting
|