🎯

debugging

🎯Skill

from duonglx/chanmayfoods

VibeIndex|
What it does

Systematically investigates and traces root causes of bugs, ensuring comprehensive validation and verification before implementing fixes.

πŸ“¦

Part of

duonglx/chanmayfoods(32 items)

debugging

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add duonglx/chanmayfoods --skill debugging
5Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Systematic debugging framework ensuring root cause investigation before fixes. Includes four-phase debugging process, backward call stack tracing, multi-layer validation, and verification protocols. Use when encountering bugs, test failures, unexpected behavior, performance issues, or before claiming work complete. Prevents random fixes, masks over symptoms, and false completion claims.

Overview

# Debugging

Comprehensive debugging framework combining systematic investigation, root cause tracing, defense-in-depth validation, and verification protocols.

Core Principle

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

Random fixes waste time and create new bugs. Find the root cause, fix at source, validate at every layer, verify before claiming success.

When to Use

Always use for: Test failures, bugs, unexpected behavior, performance issues, build failures, integration problems, before claiming work complete

Especially when: Under time pressure, "quick fix" seems obvious, tried multiple fixes, don't fully understand issue, about to claim success

The Four Techniques

1. Systematic Debugging (`references/systematic-debugging.md`)

Four-phase framework ensuring proper investigation:

  • Phase 1: Root Cause Investigation (read errors, reproduce, check changes, gather evidence)
  • Phase 2: Pattern Analysis (find working examples, compare, identify differences)
  • Phase 3: Hypothesis and Testing (form theory, test minimally, verify)
  • Phase 4: Implementation (create test, fix once, verify)

Key rule: Complete each phase before proceeding. No fixes without Phase 1.

Load when: Any bug/issue requiring investigation and fix

2. Root Cause Tracing (`references/root-cause-tracing.md`)

Trace bugs backward through call stack to find original trigger.

Technique: When error appears deep in execution, trace backward level-by-level until finding source where invalid data originated. Fix at source, not at symptom.

Includes: scripts/find-polluter.sh for bisecting test pollution

Load when: Error deep in call stack, unclear where invalid data originated

3. Defense-in-Depth (`references/defense-in-depth.md`)

Validate at every layer data passes through. Make bugs impossible.

Four layers: Entry validation β†’ Business logic β†’ Environment guards β†’ Debug instrumentation

Load when: After finding root cause, need to add comprehensive validation

4. Verification (`references/verification.md`)

Run verification commands and confirm output before claiming success.

Iron law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE

Run the command. Read the output. Then claim the result.

Load when: About to claim work complete, fixed, or passing

Quick Reference

```

Bug β†’ systematic-debugging.md (Phase 1-4)

Error deep in stack? β†’ root-cause-tracing.md (trace backward)

Found root cause? β†’ defense-in-depth.md (add layers)

About to claim success? β†’ verification.md (verify first)

```

Red Flags

Stop and follow process if thinking:

  • "Quick fix for now, investigate later"
  • "Just try changing X and see if it works"
  • "It's probably X, let me fix that"
  • "Should work now" / "Seems fixed"
  • "Tests pass, we're done"

All mean: Return to systematic process.

More from this repository10

🎯
ui-ux-pro-max🎯Skill

Generates comprehensive UI/UX design recommendations with 50+ styles, 21 color palettes, font pairings, and best practices across multiple tech stacks.

🎯
ui-styling🎯Skill

Crafts beautiful, accessible user interfaces using shadcn/ui components, Tailwind CSS utility styling, and canvas-based visual design systems.

🎯
code-review🎯Skill

Enforces rigorous code review practices by systematically receiving feedback, requesting reviews, and implementing strict verification gates before claiming task completion.

🎯
frontend-design🎯Skill

Generates distinctive, production-grade frontend interfaces by extracting design guidelines from references and implementing creative, high-quality code with exceptional aesthetic attention.

🎯
threejs🎯Skill

Enables creating immersive 3D web experiences with WebGL/WebGPU, supporting scenes, models, animations, rendering, and advanced graphics techniques.

🎯
frontend-dev-guidelines🎯Skill

I apologize, but I cannot generate a description without seeing the actual content or context of the "frontend-dev-guidelines" skill from the specified repository. Could you provide more details ab...

🎯
chrome-devtools🎯Skill

Automates browser interactions, performance analysis, and web debugging using Puppeteer CLI scripts for comprehensive web testing and inspection.

🎯
template-skill🎯Skill

Provides a customizable template for creating new Claude skills with structured guidance and best practices.

🎯
backend-development🎯Skill

Designs and implements robust, scalable backend systems using modern technologies, best practices, and secure architectural patterns.

🎯
databases🎯Skill

Streamlines database operations with expert guidance on schema design, query optimization, indexing strategies, and cross-platform database management.