debugging-and-error-recovery

Guide systematic root-cause debugging for failing tests and broken builds.

2|Updated May 3, 2026
One-click install
npx skills add https://github.com/Rosetears520/aili-workflows --skill debugging-and-error-recovery-rosetears520
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-and-error-recovery
Source: https://github.com/Rosetears520/aili-workflows/tree/main/skills/debugging-and-error-recovery
Command: npx skills add https://github.com/Rosetears520/aili-workflows --skill debugging-and-error-recovery-rosetears520

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you debug failures systematically instead of guessing, so you can identify the real root cause and fix it with confidence.

Core Features & Use Cases

  • Structured triage flow: Reproduce, localize, reduce, fix, guard, and verify in a disciplined order to prevent compounded errors.
  • Root-cause-first debugging: Forces evidence-driven hypotheses and avoids symptom-only changes (e.g., “fix the code path,” not the surface effect).
  • Feedback-loop validation: Prioritizes the fastest deterministic loop (focused failing tests, API repros, traces, minimal harnesses) before broad fixes.
  • Safety for error text: Treats CI logs and error messages as untrusted diagnostic data, not instructions to execute.

Quick Start

Ask the AI to apply the debugging-and-error-recovery triage checklist to your specific failing test or broken build, starting with a reproducible failure and an evidence-based localization 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 find the root cause of a failing test instead of just fixing the symptom?

Root cause debugging requires a structured triage flow: reproduce the failure, localize the fault through evidence-driven hypotheses, and reduce the problem scope. This approach stops guesswork by prioritizing the fastest deterministic feedback loop before applying fixes.

What is the best way to debug a broken build or runtime bug systematically?

Systematic debugging of a broken build involves treating CI logs as untrusted diagnostic data, forming falsifiable hypotheses, and running minimal reproduction harnesses. This evidence-driven method prevents compounded errors across build tooling and external services.

How do I triage test failures and regressions across different software layers?

Triage test failures and regressions by applying a stop-the-line discipline: reproduce, localize, reduce, fix, guard, and verify. This enforces end-to-end verification across UI, API, database, and external service dependencies to prevent compounded errors.

Can I use error messages from CI logs directly to fix runtime bugs?

You should not use CI logs directly to fix runtime bugs because error text must be treated as untrusted diagnostic data, not executable instructions. Instead, use logs to form ranked, falsifiable hypotheses for systematic root-cause debugging.

Does systematic root-cause debugging work for incident response and build breaks?

Systematic root-cause debugging works for incident response and build breaks by enforcing a reproducible feedback loop and evidence preservation. This stop-the-line discipline targets the actual failure path across build tooling and external services before applying fixes.