error-analyze
Skill2 starsChanged 6 months agoMITView on GitHub
Triage production errors from your monitoring system. Queries new errors, groups patterns, analyzes root cause with codebase context, and lets developer create tickets or dismiss. Supports unattended CI mode.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- improveSkill
- teamSkill
- ccf-architecture-contractSkill
- ccf-build-and-envSkill
- ccf-change-controlSkill
- ccf-debugging-playbookSkill
- ccf-doc-sync-campaignSkill
- ccf-dogfood-and-driftSkill
- ccf-domain-referenceSkill
- ccf-failure-archaeologySkill
- ccf-onboarding-tourSkill
- ccf-parity-playbookSkill
- ccf-release-and-installSkill
- ccf-testing-and-qaSkill
- improveSkill
- teamSkill
- add-referenceSkill
- ai-updateSkill
- app-blueprintSkill
- buildSkill
- check-readinessSkill
- deploySkill
- developSkill
- draft-storySkill
- factorySkill
- fetch-docsSkill
- generate-internal-appSkill
- impactSkill
- improveSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- promoteSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 106
When --ci flag is present, runs fully automated:
- Distinctive: line 119
Before creating a ticket, query tracker for existing open bugs with same source.
- Distinctive: line 120
If found → add comment to existing ticket
- Distinctive: line 121
If not found → create new bug
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Error Analyze
Triage errors from your monitoring/error tracking system. Analyze with codebase context, then create tickets or dismiss.
Usage
Interactive (developer-driven)
/error-analyze
/error-analyze --type integration
/error-analyze --since 24hCI / Unattended
/error-analyze --ci --env prod --since 24hCI mode runs fully automated — tickets are auto-created. See CI section below.
Phase 1: Query Errors
{{ERROR_QUERY_COMMAND}}
Parse the output to extract:
- Error ID
- Error message
- Error type/category
- Source component
- Stack trace
- Timestamp
- Affected user (if available)
Phase 2: Group & Summarize
Group errors by source + type. Present triage summary:
## Error Triage Summary
Found {N} new errors across {M} sources.
| # | Source | Type | Count | Latest | Sample Error |
|---|--------|------|-------|--------|-------------|
| 1 | ComponentA | Runtime | 23 | 2026-03-05 14:30 | NullPointerException... |
| 2 | IntegrationB | HTTP | 5 | 2026-03-05 12:15 | Timeout... |Phase 3: Analyze Each Group
For each group:
- Find source component in codebase
- Read the code around the error location
- Analyze root cause
- Suggest fix
### Group 1: ComponentA (Runtime) — 23 errors
**Pattern:** All errors are NullPointerException on record access
**Root Cause:** Missing null check before accessing optional field
**Suggested Fix:** Add null guard before field access
**Severity:** High — blocking core workflowPhase 4: Triage Decisions
For each group:
- Create ticket → draft work item with analysis context
- Dismiss → mark as resolved with reason
- Skip → leave as new
Action: Create Ticket
{{TRACKER_CREATE_BUG}}
Update error records: {{ERROR_UPDATE_STATUS}}
Action: Dismiss
{{ERROR_DISMISS}}
Phase 5: Summary
## Triage Complete
| Group | Action | Result |
|-------|--------|--------|
| ComponentA | Ticket created | TICKET-1600 |
| IntegrationB | Dismissed | Transient timeout |
Remaining new errors: {count}CI / Unattended Mode
When --ci flag is present, runs fully automated:
| Aspect | Interactive | CI Mode |
| Environment selection | Ask user | Required via --env flag |
| Triage decisions | Developer picks | Auto-create ticket for all groups |
| Work item type | Story | Bug |
| Confirmation prompts | Yes | None |
| Duplicate detection | N/A | Check tracker for existing open bugs |
| Error status update | Per choice | All → In Progress |
Duplicate Detection
Before creating a ticket, query tracker for existing open bugs with same source.
- If found → add comment to existing ticket
- If not found → create new bug
Severity Mapping
| Severity | Criteria |
| Critical | Integration failures blocking operations, data loss risk, >50 occurrences |
| High | Recurring (10+), user-facing failures, affects core workflows |
| Medium | Intermittent (<10), workaround exists, non-blocking |
| Low | Single occurrence, cosmetic, edge case |
Related Skills
/develop— develop a ticket created from error triage/refine-story— further refine an error-based ticket
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

