debugging-and-error-recovery

Diagnose failures and recover from errors using a structured triage workflow.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/tradertunante/servicecontrol --skill debugging-and-error-recovery-tradertunante
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-and-error-recovery
Source: https://github.com/tradertunante/servicecontrol/tree/main/.claude/skills/debugging-and-error-recovery
Command: npx skills add https://github.com/tradertunante/servicecontrol --skill debugging-and-error-recovery-tradertunante

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide provides a systematic, repeatable approach to debugging and error recovery, preventing guesswork and accelerating root-cause analysis.

Core Features & Use Cases

  • Structured triage steps: reproduce, localize, reduce, fix, guard, verify.
  • Evidence preservation and documentation throughout the process to ensure reproducibility.
  • Applicable to tests, builds, runtime bugs, and production incidents; includes guidance for handling bug reports.

Quick Start

Reproduce the failure and follow the Stepwise triage checklist to locate, fix, guard against recurrence, and verify the root cause.

Frequently Asked Questions about debugging-and-error-recovery

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

FAQPage Schema
What is a structured workflow for root-cause analysis and debugging?

Structured debugging uses a triage workflow to diagnose failures: reproduce, localize, reduce, fix, guard, and verify. This enforces evidence preservation and documentation throughout to accelerate root-cause analysis and eliminate guesswork.

How do I debug a production incident using a triage workflow?

Debugging a production incident with a triage workflow involves preserving evidence, reproducing the failure, diagnosing the root cause, applying a fix, adding recurrence guards, and performing post-fix verification to ensure system stability.

What's the best way to reproduce a runtime bug for fault diagnosis?

The best way to reproduce a runtime bug for fault diagnosis is to follow a stepwise triage checklist that preserves evidence and systematically reduces variables to localize the failure before attempting a root-cause fix.

Can I use this systematic debugging approach for failing tests and builds?

Yes, you can use this systematic debugging approach for failing tests and builds. The triage workflow applies to tests, builds, runtime bugs, and production incidents, providing guidance from reproduction through root-cause fixes.

How do I prevent a runtime bug from recurring after a root-cause fix?

To prevent a runtime bug from recurring after a root-cause fix, the triage workflow enforces adding recurrence guards and mandates post-fix verification to confirm the error recovery is successful and stable.