<< All versions

Skill v1.0.1

currentAutomated scan100/100
h3y6e/agent-skills/principle-fix-root-causes

+3 new

──Details
PublishedNovember 27, 2026 at 05:55 AM
Content Hashsha256:d1dcdf370d4077cf...
Git SHA4dff46e3b636
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 20 lines · 1.3 KB

description: Apply when debugging. Trace each symptom back to the first place the system went wrong and fix it there. A guard is a fix only when the state it handles is legitimate. disable-model-invocation: true metadata: version: "1.0.1" github-path: pstack/skills/principle-fix-root-causes github-ref: refs/heads/main github-repo: https://github.com/cursor/plugins github-tree-sha: 6edd70a10872c757a49aac1d0b7a34e696901ac3 name: principle-fix-root-causes


Fix Root Causes

Fix the fault, not the place where it surfaced. The root cause is the first place the system did something it should not do, or failed to handle a state it should handle.

  • Reproduce first. Ask "why" until the answer is a wrong decision in the code. When stuck, instrument and read the actual state.
  • Ask whether the state that triggered the symptom is legitimate. If it is, handle it where the code broke. If it should never exist, a check there hides the bug, so find what produced it. Guards, retries, swallowed errors, clamped values, and discarded state are the usual ways to hide a bug.
  • Fix the pattern, not the instance. Find every place with the same fault.
  • If the deciding fact took a deep dig, propose the cheap, always-on signal that would have shown it at first look.
← v1.0.0All versions