debug-ops

Solid

Systematic debugging methodology, language-specific debuggers, and common scenario playbooks. Use for: debug, debugging, bug, crash, hang, memory leak, race condition, deadlock, bisect, reproduce, root cause, breakpoint, profiling, performance issue, segfault, stack trace, core dump.

Code & Development 83 stars 8 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Debug Operations Systematic debugging methodology with language-specific tooling and common scenario playbooks. ## Hard Rules Check these before every fix, not just the first. Depth and examples are in `references/systematic-methods.md`, section "Premise, Guards and Signals". 1. **Two failed fixes on one assumption: stop and test the assumption.** When two fixes have failed and both took the same belief about the system for granted, that belief is the prime suspect. Write it down as one sentence. Then run a check whose result would change if the belief were wrong; where the failures cluster often says more than how bad they are. No third fix until that check has run. 2. **Guard a state only if it is allowed to exist.** Before adding a null check, default, retry, clamp, catch-and-continue or fallback, ask whether the system may legitimately reach the state that broke. If it may, handling it where it broke is the fix. If it should be impossible, the guard buries the fault: find and fix whatever produced it. 3. **Broken only after a restart? Look at what the restart kept.** A fresh process that fails where the old one worked is reading something back: on-disk caches, lock and PID files, config or sessions written at runtime, database or schema state, data saved by an older build. 4. **After a long dig, leave a cheap signal that stays on.** If the deciding clue was hard to find, add the one log line, metric or assertion that would have surfa...

Details

Author
0xDarkMatter
Repository
0xDarkMatter/claude-mods
Created
12 months ago
Last Updated
2 days ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category