debugging

Trace code execution and diagnose software bugs with systematic root cause analysis.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/toddbadams/SBFoundation --skill debugging-toddbadams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging
Source: https://github.com/toddbadams/SBFoundation/tree/main/.claude/skills/core-engineering/debugging
Command: npx skills add https://github.com/toddbadams/SBFoundation --skill debugging-toddbadams

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured approach to identify, diagnose, and resolve bugs and unexpected behavior in code, ensuring software stability and reliability.

Core Features & Use Cases

  • Root Cause Analysis: Guides users through systematic steps to find the origin of issues.
  • Debugging Strategies: Offers common causes of bugs and methods to trace execution flow.
  • Tool Integration: Suggests relevant tools like Grep and Chrome DevTools for effective debugging.
  • Use Case: When a web application shows a JavaScript error in the console, use this Skill to guide the debugging process, from reproducing the error to verifying the fix.

Quick Start

Use the debugging skill to trace the error message "undefined is not a function" in the application logs.

Frequently Asked Questions about debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I systematically trace a null reference error in my code?

To systematically trace a null reference error, use this debugging skill to reproduce the issue, analyze the execution flow, and isolate the root cause using command-line tools like Grep or language-specific debuggers such as Node.js inspector and Python's pdb.

What is the best way to reproduce an asynchronous timing issue during debugging?

The best way to reproduce an asynchronous timing issue during debugging is to follow a structured root cause analysis strategy that systematically traces code execution and isolates the exact timing dependencies triggering the unexpected behavior.

Does this debugging skill work with Python's pdb and Node.js inspector?

Yes, this debugging skill integrates with Python's pdb and Node.js inspector, providing systematic strategies that incorporate these specific debugging utilities to help you trace execution flow and resolve errors effectively.

How do I fix an off-by-one error without reading the entire codebase?

To fix an off-by-one error efficiently, apply targeted code tracing strategies using command-line tools like Grep to locate boundary conditions, then use the systematic debugging approach to verify the error reproduction and validate the fix.

Can I use Chrome DevTools to resolve JavaScript console errors with this approach?

Yes, you can use Chrome DevTools alongside this debugging skill to resolve JavaScript console errors by following its structured process from initial error reproduction to root cause analysis and final fix verification.