Root cause analysis and debugging protocols. Use when encountering errors, test failures, unexpected behavior, stack traces, or when code behaves differently than expected.
86
83%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Systematic approach to root cause analysis and debugging.
Follow systematic debugging process:
See references/root-cause-analysis.md for detailed methods.
Add debug logging to entry/exit points, state transitions, conditional branches, external API calls, and data transformations. Remove after issue resolved unless it provides ongoing value.
Common patterns: null/undefined errors, type errors, timing issues, state corruption, configuration issues. See references/error-patterns.md for detailed patterns and solutions.
After fixing:
For detailed guidance, see:
references/root-cause-analysis.md - Systematic analysis methodsreferences/error-patterns.md - Common error patterns and solutionsreferences/debugging-tools.md - Debugging tools and techniques3376255
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.