debugger

Diagnose software errors through structured root-cause analysis and hypothesis testing.

132k|19.4k|Updated Apr 29, 2024
One-click install
npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps --skill debugger-shubhamsaboo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugger
Source: https://github.com/Shubhamsaboo/awesome-llm-apps/tree/main/awesome_agent_skills/debugger
Command: npx skills add https://github.com/Shubhamsaboo/awesome-llm-apps --skill debugger-shubhamsaboo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves debugging challenges by providing a structured framework for root-cause analysis.

Core Features & Use Cases

  • Systematic debugging workflow: understand the problem, gather information, form hypotheses, test them, and verify the root cause.
  • Reproducibility and diagnostics: use controlled experiments, binary search, and strategic logging to reproduce and resolve issues across codebases and production incidents.
  • Collaboration and knowledge capture: document findings and build reusable debugging playbooks for future incidents.

Quick Start

Describe the issue to the debugger and provide relevant error messages, stack traces, and logs. Request a structured debugging plan and a minimal reproducible example. Then follow the plan to reproduce, test hypotheses, and verify the fix.

Frequently Asked Questions about debugger

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

FAQPage Schema
What is the best way to find the root cause of a software crash?

To debug intermittent failures, you use controlled experiments and strategic logging within a structured framework to reproduce the issue. Once reproduced, binary search helps isolate the specific code change or condition causing the failure.

How do I debug production incidents without external diagnostic tools?

You can debug production incidents by applying a structured workflow that emphasizes forming hypotheses, adding strategic logging, and creating minimal reproducible examples. This approach locates and verifies fixes using only the described diagnostic steps.

How do I create a minimal reproducible example for troubleshooting errors?

To create a minimal reproducible example, describe the issue with relevant error messages and stack traces, then request a structured debugging plan. This plan guides you through controlled experiments to consistently reproduce the specific error.

Does structured root-cause analysis work for performance issues across codebases?

Yes, structured root-cause analysis works for performance issues by applying systematic debugging workflows across software projects. It uses controlled experiments and hypothesis testing to locate bottlenecks and verify performance fixes.

When should I not use binary search for debugging?

You should avoid binary search for debugging when an issue cannot be reproduced or when the codebase lacks clear commit boundaries. Without reproducible steps or a testable hypothesis, binary search is ineffective for root-cause analysis.