fail-fast-debugging

Enforce root-cause investigation before applying code fixes in debugging workflows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/krwhynot/crispy-crm --skill fail-fast-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fail-fast-debugging
Source: https://github.com/krwhynot/crispy-crm/tree/main/.claude/skills/fail-fast-debugging
Command: npx skills add https://github.com/krwhynot/crispy-crm --skill fail-fast-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces root-cause investigation before fixes, discouraging quick patches, retries, or resilience patterns during pre-launch, to keep velocity high and debt low.

Core Features & Use Cases

  • CORE MANDATE: NO fixes without root-cause investigation.
  • Four phases: Observe the error, Reproduce, Trace, Hypothesize, and Verify.
  • Anti-patterns documented (Quick Fix, Shotgun Debugging, Retry Logic, Hope-Based Debugging, Blame Shifting) with concrete corrections.

Quick Start

When an error occurs, pause and follow Phase 1: Observe the exact error message and stack trace, then proceed through the trace and hypothesis steps before proposing code changes.

Frequently Asked Questions about fail-fast-debugging

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

FAQPage Schema
How do I debug code without jumping to fixes?

Root-cause debugging requires pausing before coding changes. Follow the four-phase process: observe the exact error and stack trace, reproduce it consistently, trace execution to find where it fails, then hypothesize the cause. Only after verifying your hypothesis should you fix code. This prevents quick patches and technical debt.

What are common debugging anti-patterns I should avoid?

Quick Fix, Shotgun Debugging, Retry Logic, Hope-Based Debugging, and Blame Shifting are documented anti-patterns that mask root causes. Quick fixes create debt; Shotgun Debugging wastes time on unrelated code; Retry Logic hides failures; Hope-Based Debugging skips investigation; Blame Shifting delays resolution. Enforce mandatory root-cause investigation instead.

How do I investigate errors like timeouts, RLS issues, and infinite loops?

Apply the four-phase debugging workflow across all failure modes: observe the exact error, reproduce it consistently, trace code execution paths, and form a hypothesis about the root cause. Verify your hypothesis before coding. This discipline works for timeouts, permission issues, infinite loops, crashes, and other failures.

What's the 2-Attempt Rule in debugging?

The 2-Attempt Rule caps exploratory changes at two tries. If an approach fails twice, stop and diagnose the root cause rather than patching incrementally. This prevents rabbit holes and forces deeper investigation into why your approach isn't working, leading to better fixes.

How do I maintain debugging discipline across a team?

Enforce one-change-at-a-time discipline and verification before completion. Require developers to document the four phases—Observe, Reproduce, Trace, Hypothesize, Verify—before proposing fixes. This keeps velocity high by preventing cascading bugs from unverified changes and reduces technical debt.

Can I use fail-fast debugging during active development?

Yes. Fail-fast debugging is designed for pre-launch phases to keep velocity high and technical debt low. Enforcing root-cause investigation before fixes discourages quick patches and resilience patterns that hide problems, resulting in cleaner code and faster resolution of actual issues.