Perform root-cause analysis for bugs/errors/regressions using logs, repro steps, and hypothesis testing. Use when the user reports “nie działa”, stack traces, failing tests, or regressions.
Install
npx skillscat add janjaszczak/cursor/troubleshooting-rca Install via the SkillsCat registry.
About this skill
We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing, no superlatives, no calls to action. Must be at most 60 words. No quotes, no bullet points, no headings, no markdown. Just plain text. Summarize: skill does root cause analysis for bugs/errors/regressions using logs, repro steps, hypothesis testing. Solves problem of identifying cause of failures. Use when user reports error, stack trace, failing test, regression, or logs. Make 2-3 sentences, maybe ~45 words.
SKILL.md
troubleshooting-rca
Activation gate (anti-noise)
Activate when:
- There is an error message, failing test, crash, regression, unexpected behavior, or logs.
Skip when:
- User requests implementation from scratch and no failure exists yet.
Procedure
- Restate symptom + expected behavior.
- Collect minimal repro:
- Command, input, environment, last known good commit.
- Hypotheses (max 3) ranked by likelihood.
- Test each hypothesis with the smallest possible check.
- Before Fix: Root cause must be clearly stated; one minimal verification step must be given. Then: Fix + verify with test/run.
- Add a prevention note (test, guard, logging).
Output
- Symptom → Most likely cause → Fix → Verification command(s).