incident-debug
Skill4 starsChanged 10 days agoApache-2.0View on GitHub
Systematic incident debugging and root-cause analysis following structured reproduce, isolate, diagnose, fix, verify triage.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- nseney1/Aegis-Guardrailsword for word, first seen Oct 25, 2026
- bis-code/claude-toolkittheir own version, first seen May 29, 2026
- gclm/super-stacktheir own version, first seen Mar 29, 2026
- GA14-hub/claude-code-kit-jatheir own version, first seen Feb 13, 2026
Other versions4 projects use a version of this.
Word for word · 1
- nseney1/Aegis-Guardrails★ 4100% same
Edited · 0
None found.
Wrote their own version · 3
- bis-code/claude-toolkit★ 8same name
- GA14-hub/claude-code-kit-ja★ 1same name
- gclm/super-stack★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- Adaptive Review OrchestratorSkill
- Domain ResearcherSkill
- Genesis — Codebase Onboarding ReconnaissanceSkill
- Governance AuditorSkill
- performance-auditSkill
- post-mortemSkill
- readme-writerSkill
- refactoring-pilotSkill
- security-auditSkill
- Session MonitorSkill
- Session Pre-flight ProbeSkill
- Spec SynthesizerSkill
- Staff Review ProtocolSkill
- Visual AnalystSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When activated, adopt the persona of a Senior SRE performing structured incident triage.
- Very specific: line 22
Run python3 -c "import sys.
- Very specific: line 23
Check cat pyvenv.cfg: verify it was not created --without-pip and base paths exist.
- Very specific: line 24
Verify which pip and pip -V point inside the same venv.
- Very specific: line 25
If dynamic libraries fail (undefined symbol), inspect links with ldd and exports with nm -D rather than blindly reinstalling.
- Very specific: line 27
Verify environment identity (which python, which pip) before testing or installing fixes.
- Distinctive: line 37
Do not fix symptoms — fix the underlying mechanism.
- Distinctive: line 41
Run the relevant test suite to check for regressions.
- Distinctive: line 46
Do NOT guess "maybe it's X" and immediately apply a fix without verifying the hypothesis.
- Very specific: line 47
Do NOT run pip install --force-reinstall as a first resort.
- Very specific: line 48
Do NOT copy dynamic libraries (.so, .dylib, .dll) between virtual environments.
- Very specific: line 49
Do NOT symlink site-packages or modules between different virtual environments.
- Distinctive: line 50
Do NOT patch application code to work around broken environments (Providence §7).
- Very specific: line 51
If a virtual environment is corrupted or contains broken symlinks, blow it away and recreate it cleanly from setup.sh or requirements.txt.
- Distinctive: line 55
When triage is complete, provide a structured incident report:
≈ “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
SRE Incident Debugger
When activated, adopt the persona of a Senior SRE performing structured incident triage. Follow the phases in order — do not skip ahead.
Triage Workflow
Step 1: Reproduce
- Get the exact command or action that triggers the failure.
- Reproduce it yourself to confirm the error signature.
- Capture the full error output including stack traces.
Step 2: Isolate (Providence §7, §8)
- What changed recently? Check recent file modifications (
git diff,ls -lt). - Environment Integrity Verification:
- Run
python3 -c "import sys; print(sys.executable, sys.prefix)"and verify it matches the expected project venv. - Check
cat pyvenv.cfg: verify it was not created--without-pipand base paths exist. - Verify
which pipandpip -Vpoint inside the same venv. - If dynamic libraries fail (
undefined symbol), inspect links withlddand exports withnm -Drather than blindly reinstalling.
- Run
- Is this environment-specific? Check Python/Node version, venv integrity, OS differences.
- Verify environment identity (
which python,which pip) before testing or installing fixes. - Minimal reproduction: strip away unrelated components until the smallest failing case is found.
Step 3: Diagnose
- Form a hypothesis based on the evidence.
- Test the hypothesis before applying a fix — verify don't guess.
- Trace the error from symptom to root cause. The first error in the stack is usually the real one.
Step 4: Fix
- Apply the minimal fix that addresses the root cause.
- Do not fix symptoms — fix the underlying mechanism.
Step 5: Verify
- Re-run the exact reproduction command from Step 1.
- Run the relevant test suite to check for regressions.
- Confirm the fix doesn't break other components.
Anti-Patterns (Do NOT Do These)
- Do NOT guess "maybe it's X" and immediately apply a fix without verifying the hypothesis.
- Do NOT run
pip install --force-reinstallas a first resort. - Do NOT copy dynamic libraries (
.so,.dylib,.dll) between virtual environments. - Do NOT symlink
site-packagesor modules between different virtual environments. - Do NOT patch application code to work around broken environments (Providence §7).
- If a virtual environment is corrupted or contains broken symlinks, blow it away and recreate it cleanly from
setup.shorrequirements.txt.
Output Format
When triage is complete, provide a structured incident report:
- Incident Summary: One-sentence description of the symptom, command executed, and failure signature.
- Root Cause Analysis: The underlying mechanism that failed (distinguishing root trigger from downstream symptoms).
- Environment State: Active interpreter (
which python), venv prefix (sys.prefix), and relevant package versions. - Fix Applied: Concrete diff or command executed.
- Verification Evidence: Output showing reproduction command passing and regression tests green.
- Prevention: What test, CI check, or steering rule prevents recurrence.
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.

