persistent-issue
Skill1 starsChanged 8 months agoMITView on GitHub
Escalating diagnostic router for persistent issues. Classifies, dispatches Team A-E, auto-escalates in cascade mode. Triggers: 'not fixed', 'still broken', 'same error'.
In this repository51 other files it gives its agents.
- algorithmic-artSkill
- audit-componentsSkill
- canvas-designSkill
- cascade-orchestrationSkill
- consultSkill
- data-reconciliationSkill
- debug-collaborateSkill
- deep-root-causeSkill
- deploy-allSkill
- design-reverse-engineerSkill
- design-showcaseSkill
- docxSkill
- env-auditSkill
- evolveSkill
- frontend-designSkill
- full-stack-buildSkill
- full-stack-traceSkill
- gh-repo-reconSkill
- grill-meSkill
- handoffSkill
- html-slidesSkill
- insightSkill
- internal-commsSkill
- isolation-testSkill
- mcp-builderSkill
- model-selectionSkill
- pdfSkill
- pre-merge-reviewSkill
- premise-auditSkill
- propagate-featureSkill
- regression-bisectSkill
- research-gateSkill
- review-implSkill
- schema-checkSkill
- session-notesSkill
- skill-auditSkill
- skill-creatorSkill
- slack-gif-creatorSkill
- start-daySkill
- temporal-forensicsSkill
- theme-factorySkill
- throwaway-scriptSkill
- triage-ideasSkill
- verify-completeSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- wisdomSkill
- worker-buildSkill
- worktree-guardSkill
- write-planSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 12 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
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
- Distinctive: line 24
Read conversation history for:
- Distinctive: line 28
Run git log --oneline -15 for recent commits related to the area
- Distinctive: line 29
Check memory/ for prior encounters with this issue
- Distinctive: line 66
Start with classified team
- Distinctive: line 67
If unresolved -> try next in priority: A -> B -> D -> C -> E
- Distinctive: line 74
After the diagnostic team identifies the root cause:
- Very specific: line 77
If --cascade, implement the fix and verify
- Distinctive: line 78
Update the Evidence Document with the resolution
- Distinctive: line 79
If fix works: done. If not: escalate to next team (cascade) or report back (default)
- Distinctive: line 82
NEVER re-try the same approach that already failed — the Evidence Document tracks prior attempts
- Distinctive: line 83
NEVER skip triage — even if you think you know the category, verify against evidence
- Distinctive: line 84
NEVER diagnose AND fix in the same agent — separate concerns (Pattern 2 from /cascade-orchestration)
- Distinctive: line 85
If all 3 cascade teams fail, STOP and present findings to user — don't loop
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Persistent Issue — Diagnostic Escalation Router
Triggers when a fix attempt fails and the user reports the issue persists. Classifies the issue, dispatches the right diagnostic team, and optionally auto-escalates through all teams.
Arguments
--cascade: Auto-escalate through all diagnostic teams without stopping (default: stop after each team and report)- First argument (optional): Issue description or "same" to reference the current conversation
Trigger Words
Activate PROACTIVELY when the user says: "not fixed", "still happening", "still broken", "same error", "tried that", "didn't work", "nope still there", "happening again"
Phase 1: Triage (single agent, model: "opus")
Dispatch one triage agent to classify the issue:
Agent: Issue Classifier
- Read conversation history for:
- Original symptom description
- Fix attempts made (code changes, deploys, config changes)
- How the symptom changed (or didn't) after each attempt
- Run
git log --oneline -15for recent commits related to the area - Check memory/ for prior encounters with this issue
- Classify into exactly ONE primary category:
| Category | Signal | Route To |
| A: Wrong Root Cause | Fix applied, symptom persists identically | /deep-root-cause |
| B: Wrong Layer | Fix applied, behavior changed but still broken | /full-stack-trace |
| C: Multiple Factors | Fix partially works, or works inconsistently | /isolation-test |
| D: Intermittent | Issue comes and goes, seemed fixed then returned | /temporal-forensics |
| E: Regression | "This used to work" / broke after a recent change | /regression-bisect |
- Build the Evidence Document:
## Persistent Issue: [title]
### Symptom
[exact description]
### Prior Attempts
1. [what was tried] -> [what happened]
2. [what was tried] -> [what happened]
### Classification: [A/B/C/D/E] — [reason]
### What We Know For Certain
- [verified fact 1]
- [verified fact 2]
### What We Assumed But Haven't Verified
- [assumption 1]
- [assumption 2]Phase 2: Dispatch
Present the Evidence Document and classification to the user.
Default mode: Report classification and invoke the appropriate diagnostic skill. Wait for user feedback after each team.
Cascade mode (--cascade): Invoke the classified skill first. If it doesn't resolve the issue (agent reports "no root cause found" or fix doesn't work), automatically escalate to the next team in order: A -> B -> D -> C -> E. Skip the team already tried. Continue until resolved or all teams exhausted.
Escalation Order (cascade mode)
- Start with classified team
- If unresolved -> try next in priority: A -> B -> D -> C -> E
- Between each team, update the Evidence Document with new findings
- Pass the accumulated Evidence Document to each subsequent team
- Max 3 teams per cascade (context budget protection)
Phase 3: Resolution
After the diagnostic team identifies the root cause:
- Present the finding with specific file:line references
- Propose the fix
- If
--cascade, implement the fix and verify - Update the Evidence Document with the resolution
- If fix works: done. If not: escalate to next team (cascade) or report back (default)
Anti-Patterns
- NEVER re-try the same approach that already failed — the Evidence Document tracks prior attempts
- NEVER skip triage — even if you think you know the category, verify against evidence
- NEVER diagnose AND fix in the same agent — separate concerns (Pattern 2 from /cascade-orchestration)
- If all 3 cascade teams fail, STOP and present findings to user — don't loop
Integration
- Reads from:
/debug-collaboratefindings (if previously run) - Feeds into: project-specific troubleshooting skill (add new patterns discovered)
- Updates: memory/ with persistent issue patterns for future sessions
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.

