/analyze-local-bugs
**Purpose:** Analyze local bug reports to find patterns and recurring issues.
$ npx -y skills add alexeykrol/claude-code-starter --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/analyze-local-bugs
Context preview
What this command does when you run it.
**Purpose:** Analyze local bug reports to find patterns and recurring issues.
Command definition
analyze-local-bugs.mdAnalyze Local Bug Reports Command
**Purpose:** Analyze local bug reports to find patterns and recurring issues.
**Usage:**
/analyze-local-bugs
---
Implementation
Run Pattern Analysis Script
# Check if script exists
if [ ! -f ".claude/scripts/analyze-bug-patterns.sh" ]; then
echo "⚠️ Bug pattern analyzer not found"
echo " Expected: .claude/scripts/analyze-bug-patterns.sh"
exit 1
fi
# Run analysis
bash .claude/scripts/analyze-bug-patterns.sh
---
What Gets Analyzed
The script analyzes all bug reports in `.claude/logs/bug-reports/` and generates:
1. **Framework Version Distribution** - Which versions have most reports 2. **Protocol Type Distribution** - Cold Start vs Completion failures 3. **Most Common Errors** - Top 5 error messages 4. **Step Failure Analysis** - Which protocol steps fail most 5. **Recommendations** - Actionable insights and fixes
Output
- **Console:** Visual summary with statistics and recommendations
- **File:** Detailed report saved to `.claude/logs/bug-analysis-TIMESTAMP.md`
---
Notes
- **Works Everywhere:** Available in both framework and host projects
- **Local Analysis:** Analyzes only local bug reports (not GitHub Issues)
- **Complementary:** Use with `/analyze-bugs` (GitHub Issues) for complete picture
- **Privacy:** All data stays local, no network requests
---
See Also
- `/analyze-bugs` - Analyze centralized GitHub Issues (framework project only)
- `/bug-reporting` - Manage bug reporting settings
Read more
Analyze Local Bug Reports Command
**Purpose:** Analyze local bug reports to find patterns and recurring issues.
**Usage:**
/analyze-local-bugs
---
Implementation
Run Pattern Analysis Script
# Check if script exists if [ ! -f ".claude/scripts/analyze-bug-patterns.sh" ]; then echo "⚠️ Bug pattern analyzer not found" echo " Expected: .claude/scripts/analyze-bug-patterns.sh" exit 1 fi # Run analysis bash .claude/scripts/analyze-bug-patterns.sh
---
What Gets Analyzed
The script analyzes all bug reports in `.claude/logs/bug-reports/` and generates:
1. **Framework Version Distribution** - Which versions have most reports 2. **Protocol Type Distribution** - Cold Start vs Completion failures 3. **Most Common Errors** - Top 5 error messages 4. **Step Failure Analysis** - Which protocol steps fail most 5. **Recommendations** - Actionable insights and fixes
Output
- **Console:** Visual summary with statistics and recommendations
- **File:** Detailed report saved to `.claude/logs/bug-analysis-TIMESTAMP.md`
---
Notes
- **Works Everywhere:** Available in both framework and host projects
- **Local Analysis:** Analyzes only local bug reports (not GitHub Issues)
- **Complementary:** Use with `/analyze-bugs` (GitHub Issues) for complete picture
- **Privacy:** All data stays local, no network requests
---
See Also
- `/analyze-bugs` - Analyze centralized GitHub Issues (framework project only)
- `/bug-reporting` - Manage bug reporting settings
Claude Code Starter — это готовая управляющая среда для проектов, в которых основной рабочий агент — Claude Code.
Repo: alexeykrol/claude-code-starter
Other commands on claude-code-starter.
- /analyze-bugs
**Purpose:** Analyze bug reports from host projects (framework project only).
Open command - /bug-reporting
**Purpose:** Manage bug reporting settings for the framework.
Open command - /commit
Создать git commit с правильным сообщением
Open command - /db-migrate
Создать database migration с правильным процессом
Open command - /explain
Объяснить как работает определенная часть кода
Open command - /feature
Помочь спланировать и реализовать новую фичу
Open command

