debugging-and-error-recovery

Diagnose software failures and triage issues to shorten recovery time.

1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/mortenbroesby/playground --skill debugging-and-error-recovery-mortenbroesby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-and-error-recovery
Source: https://github.com/mortenbroesby/playground/tree/main/.skills/debugging-and-error-recovery
Command: npx skills add https://github.com/mortenbroesby/playground --skill debugging-and-error-recovery-mortenbroesby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debugging should reduce uncertainty, not spread it around. Reproduce first, localize the failure, then fix with a guard against recurrence.

Core Features & Use Cases

  • Reproduce the failure with the smallest reliable command, test, or manual flow.
  • Localize the fault to one boundary, file, or assumption before changing multiple things.
  • Reduce the problem and apply the smallest fix, then add regression guards to prevent recurrence.

Quick Start

Describe the failure scenario, reproduce it with the smallest reliable command, and outline a safe recovery plan.

Frequently Asked Questions about debugging-and-error-recovery

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

FAQPage Schema
How do I debug a broken build or test failure quickly?

Debugging a broken build or test failure requires reproducing the issue with the smallest reliable command, localizing the fault to a specific boundary or file, and applying a minimal fix with a regression guard to prevent recurrence.

What is the best way to perform root-cause analysis for a runtime anomaly?

Root-cause analysis for a runtime anomaly involves reducing the problem to its simplest reproducible state, localizing the failure to one assumption or boundary, and implementing a safe rollback if necessary before applying a minimal fix.

How do I create a safe rollback scenario after a software failure?

Creating a safe rollback scenario after a software failure requires diagnosing the anomaly, triaging the issue to shorten time to recovery, and ensuring you have precise fault localization and reproducible steps before reverting changes.

Can I use this approach for troubleshooting regression issues in my software project?

Yes, troubleshooting regression issues in software projects works by reproducing the failure, localizing the fault to one file or assumption, and adding regression guards to ensure the minimal fix prevents future recurrence.

Why does fixing multiple things at once spread uncertainty during failure analysis?

Fixing multiple things at once during failure analysis spreads uncertainty because it prevents precise fault localization, making it harder to identify the exact root cause and reducing the effectiveness of the minimal fix.