From wicked-garden
Error analysis and pattern detection from discovered error tracking sources. Aggregates errors across services, detects patterns, correlates with deployments, and assesses user impact. Use for error investigation and incident response. Use when: "error analysis", "error patterns", "production errors", "error investigation", "why are we seeing errors"
npx claudepluginhub mikeparcewski/wicked-garden --plugin wicked-gardenThis skill uses the workspace's default tool permissions.
Aggregate and analyze errors from discovered error tracking sources with pattern detection.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Aggregate and analyze errors from discovered error tracking sources with pattern detection.
Use capability-based discovery:
# Discover available integrations via capability detection
# Scan for error tracking capabilities by analyzing server descriptions:
# - error-tracking capability: Dedicated exception/error tracking
# - apm capability: APM tools that include error tracking
# - logging capability: Log platforms with error search/aggregation
For each discovered source:
Look for:
Check for correlation with:
Based on patterns:
| Capability | What to Look For | Provides |
|---|---|---|
| error-tracking | Exception tracking, crash reporting, error grouping | Stack traces, user context, grouping |
| apm | Performance monitoring with error tracking features | Errors with performance context |
| logging | Log platforms with error filtering and search | Error logs, patterns, search |
Fallback: Search code for error patterns via wicked-garden:search (catch blocks, error handling, throw statements).
## Error Analysis Report
**Analysis Time**: {timestamp}
**Time Range**: {period analyzed}
**Data Sources**: {list of integrations}
### Error Summary
**Current Error Rate**: {rate} ({change} from baseline)
**Total Errors**: {count} in last {period}
**Unique Errors**: {count} distinct error types
**Affected Users**: {count or percentage}
### Top Errors
| Error | Count | Users | First Seen | Trend |
|-------|-------|-------|------------|-------|
| {message} | {count} | {users} | {time} | {↑↓→} |
### Pattern Detection
**Pattern: {Pattern Name}**
- Type: [ERROR_SPIKE | NEW_ERROR | CASCADING | USER_CLUSTER]
- Description: {what the pattern indicates}
- Affected: {services, users, regions}
- Started: {timestamp}
- Correlation: {deployment, code change, etc.}
### Investigation Path
**Hypothesis**: {most likely root cause}
**Evidence**:
1. {supporting evidence point}
2. {supporting evidence point}
**Next Steps**:
1. {specific action to take}
2. {specific action to take}
**Engage**: wicked-garden:engineering:debugger for code-level analysis
Four main patterns to detect. See refs/patterns.md for detailed analysis guides.
Sudden increase in error rate (>2x baseline). Often deployment-related.
Error never seen before. Indicates new code path or edge case.
One error causing downstream errors. Check service dependencies.
Same users experiencing multiple errors. User-specific data issue.
When crew completes build phase:
Emit events:
observe:error:spike:warningobserve:error:pattern:warningobserve:correlation:found:successWhen errors detected, engage debugger with context:
See refs/severity.md for detailed classification.
CRITICAL: Error rate >10x baseline, critical path errors, data corruption HIGH: Error rate >3x baseline, affecting >10% users, payment/security errors MEDIUM: Error rate >1.5x baseline, affecting <10% users, non-critical features LOW: Error rate <1.5x baseline, cosmetic issues, logging errors