principle-fix-root-causes
When debugging, traces each symptom to the first place the system went wrong and fixes it there.
- Kind
- Skill
- Works with
- Cursor, Any agent
- Source
- cursor/plugins @ 9580c23696ac
- Path
- pstack/skills/principle-fix-root-causes/SKILL.md
- Jobs
- Debugging
- Topics
- Debugging
Credit
- Made by
- cursor
- Original
- github.com/cursor/plugins/blob/9580c23696ac8d7abed0c166f2f991…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/principle-fix-root-causes/ (the skill folder)
- Runs scripts
- None found
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 9580c23696ac
- Licence
- MIT
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Fix Root Causes When debugging, fix the fault, not the place where it surfaced. The symptom is where a wrong state became visible. The root cause is the first place the system did something it should not do, or failed to handle a state it should handle. **Why:** A symptom fix hides the evidence and leaves the fault free to surface somewhere else. Each one makes the system harder to reason about, because the code now carries a workaround for a bug that nobody named. **Pattern:** - Reproduce first. - Ask "why" at each step until the answer is a wrong decision in the code, not a consequence of an earlier one. - When stuck, instrument. Read the actual error and the actual state. Do not guess. - Ask whether the state that triggered the symptom is legitimate. If the system may be in that state, the code that broke on it is the root cause, and handling the state there is the fix. If the state should never exist, a check where it broke hides the bug. Find what produced the state. Guards, retries, swallowed errors, clamped values, and discarded state are the usual ways to hide a bug. …