bug-root-cause-analyzer

Solid

Systematically diagnoses bugs by tracing execution flow and identifying root causes vs symptoms.

AI & Automation 9 stars 1 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 85/100

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

Skill Content

# Bug Root Cause Analyzer ## What this skill does This skill directs the agent to work through a bug methodically — distinguishing the root cause from the symptoms, tracing the execution path that led to the failure, and producing a clear diagnosis before suggesting a fix. It applies the 5-Why technique, reads stack traces carefully, and avoids the trap of patching the symptom without understanding the cause. Use this when you have a bug that isn't immediately obvious, when a quick fix didn't hold, or when you want to understand *why* something broke before deciding how to fix it. ## How to use ### Claude Code / Cline Copy this file to `.agents/skills/bug-root-cause-analyzer/SKILL.md` in your project root. Then ask: - *"I'm getting a TypeError in checkout. Use the Bug Root Cause Analyzer skill to diagnose it."* - *"This test is flaky and I don't know why. Use the Bug Root Cause Analyzer skill."* Provide as much context as you can: the error message, the stack trace, the relevant code, and what you expected to happen. ### Cursor Add the instructions below to your `.cursorrules` or paste them into the Cursor AI pane before describing the bug. ## The Prompt / Instructions for the Agent When asked to diagnose a bug, follow this process: ### Phase 1 — Gather information Before analyzing, make sure you have: - The exact error message (not paraphrased) - The full stack trace if available - The code where the error originates - What the user expected to happen vs what a...

Details

Author
Notysoty
Repository
Notysoty/openagentskills
Created
5 months ago
Last Updated
6 days ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category