systematic-debugging

Investigate technical issues through a four-phase root cause analysis framework.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/figuedmundo/mamirri-app --skill systematic-debugging-figuedmundo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/figuedmundo/mamirri-app/tree/main/.opencode/skill/systematic-debugging
Command: npx skills add https://github.com/figuedmundo/mamirri-app --skill systematic-debugging-figuedmundo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill prevents wasted time and new bugs by ensuring that the root cause of any issue is identified and addressed before any fixes are implemented. It provides a structured, four-phase framework to systematically debug problems.

Core Features & Use Cases

  • Root Cause Investigation: Guides users through detailed error analysis, reproduction steps, and evidence gathering.
  • Pattern Analysis: Helps identify similarities to working code and understand dependencies.
  • Hypothesis Testing: Enforces a scientific approach with single, minimal tests.
  • Safe Implementation: Mandates failing test cases before fixes and questions architecture if multiple fixes fail.
  • Use Case: When a critical API endpoint starts returning errors, use this Skill to methodically trace the issue from the error message back to the source, ensuring a permanent fix rather than a temporary workaround.

Quick Start

Use the systematic-debugging skill to investigate any bug or unexpected behavior you encounter.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I find the root cause of a bug instead of just fixing symptoms?

To find the root cause of a bug, use a systematic four-phase framework for investigation, pattern analysis, hypothesis testing, and safe implementation. This ensures you trace data flow and gather evidence before applying fixes.

What is the best way to debug a critical API endpoint returning unexpected errors?

Debugging a critical API endpoint requires methodically tracing the issue from the error message back to the source. You must gather evidence, reproduce the error, and create failing test cases before implementing a permanent solution.

Why do my bug fixes keep failing or introducing new issues?

Bug fixes fail when you address symptoms rather than root causes. If multiple fixes fail, you should resist time pressure, question the underlying architecture, and enforce a scientific approach using single, minimal hypothesis tests.

How do I create a failing test case before implementing a software fix?

Creating a failing test case requires reproducing the exact error condition and tracing data flow to understand the failure. This test validates your hypothesis and ensures the implemented solution provides a permanent fix rather than a temporary workaround.

When should I question architecture during technical troubleshooting?

Question architecture during technical troubleshooting when multiple fixes fail to resolve the issue. This indicates deeper systemic problems, requiring you to shift from patching code to analyzing fundamental design flaws and dependencies.