Debugging Expert

Apply the scientific method to diagnose and resolve software defects.

51|6|Updated Mar 28, 2019
One-click install
npx skills add https://github.com/Mte90/dotfiles --skill debugging-expert-mte90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Debugging Expert
Source: https://github.com/Mte90/dotfiles/tree/main/.config/opencode/skills/common/debugging
Command: npx skills add https://github.com/Mte90/dotfiles --skill debugging-expert-mte90

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured, scientific approach to identifying and resolving software bugs, preventing guesswork and ensuring root causes are addressed.

Core Features & Use Cases

  • Scientific Method Application: Guides users through observation, hypothesis, experimentation, and verification for bug fixing.
  • Best Practices: Offers proven techniques like diff diagnosis, minimal reproduction cases, and rubber ducking.
  • Use Case: When encountering an unexpected application crash, this Skill helps systematically narrow down the cause by following a logical troubleshooting process, rather than making random code changes.

Quick Start

Use the Debugging Expert skill to troubleshoot the reported error by following the scientific method.

Frequently Asked Questions about Debugging Expert

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

FAQPage Schema
How do I systematically troubleshoot a software bug instead of guessing?

Systematic troubleshooting applies the scientific method to bug fixing by forming hypotheses, running controlled experiments, and performing root cause analysis. This structured approach prevents random code changes and ensures root causes are resolved.

What is the scientific method for root cause analysis in debugging?

The scientific method for root cause analysis involves observing the software defect, forming a hypothesis about the cause, experimenting with minimal reproduction cases, and verifying the fix. It replaces guesswork with evidence-based troubleshooting to resolve bugs effectively.

What's the best way to find the root cause of an unexpected application crash?

The best way to find the root cause of an application crash is to use evidence-based troubleshooting techniques like diff diagnosis and creating minimal reproduction cases. This systematically narrows down the cause through logical experimentation rather than making assumptions.

Can I use this scientific troubleshooting process for any type of software defect?

Yes, you can use this scientific troubleshooting process for any software defect. It applies to all stages of bug resolution, from the initial observation of the unexpected behavior to the final verification of the fix, regardless of the specific platform.

What are proven debugging techniques for narrowing down code errors?

Proven debugging techniques for narrowing down code errors include diff diagnosis, creating minimal reproduction cases, and rubber ducking. These best practices support the scientific method by isolating variables and verifying hypotheses during root cause analysis.

When should I avoid random code changes during bug fixing?

You should avoid random code changes during bug fixing whenever you encounter an unexpected software defect. Instead of guessing, apply a structured, evidence-based troubleshooting methodology to identify the root cause and verify the solution.