debugging-strategies

Guide systematic debugging with reproduction, hypothesis formation, and testing.

23|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/herdiansah/Antigravity-Skills-Master --skill debugging-strategies-herdiansah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-strategies
Source: https://github.com/herdiansah/Antigravity-Skills-Master/tree/main/.agent/skills/debugging-strategies
Command: npx skills add https://github.com/herdiansah/Antigravity-Skills-Master --skill debugging-strategies-herdiansah

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill transforms debugging from a frustrating guessing game into a systematic, efficient process for identifying and resolving bugs, performance issues, and unexpected behavior.

Core Features & Use Cases

  • Systematic Debugging: Guides users through a structured process of reproduction, information gathering, hypothesis formation, and testing.
  • Tooling & Techniques: Provides examples and explanations for using debuggers (VS Code, pdb, Delve), logging, profiling, and advanced methods like binary search and differential debugging.
  • Use Case: When encountering a production bug that is difficult to reproduce, this Skill can be used to systematically gather evidence, form hypotheses based on environment differences, and apply targeted debugging techniques to pinpoint the root cause.

Quick Start

Use the debugging-strategies skill to help me debug a 'TypeError' in my Python script by following the systematic debugging process.

Frequently Asked Questions about debugging-strategies

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

FAQPage Schema
How do I find the root cause of a bug that is difficult to reproduce?

Systematic debugging transforms troubleshooting into a structured process of reproduction, information gathering, hypothesis formation, and testing to efficiently track down bugs across any codebase or technology stack.

How do I debug a TypeError in Python using a systematic process?

Debug a TypeError in Python by following a multi-phase process: reproduce the error, gather information, form a hypothesis, and test it using tools like pdb to inspect execution flow and isolate the fault.

What is the best way to track down memory leaks and performance issues?

The best way to track down memory leaks and performance issues is by using profiling tools to measure resource consumption, combined with differential debugging to compare system states and isolate the offending code.

Does this systematic debugging approach work with Go and JavaScript?

Yes, systematic debugging works with Go and JavaScript by providing language-specific examples and tooling guidance, utilizing debuggers like Delve for Go and VS Code for JavaScript/TypeScript to analyze code behavior.

When should I use binary search and differential debugging?

Use binary search and differential debugging when facing complex, hard-to-isolate issues across large codebases, allowing you to systematically narrow down failure points by comparing working and broken states.