debugging

GitHub

提供系统化调试方法论,涵盖根因分析、防御性验证及完成前确认,旨在通过结构化流程快速定位并彻底修复代码缺陷。

.claude/skills/debugging/SKILL.md mrgoonie/claudekit-skills

Trigger Scenarios

生产环境出现Bug 测试失败或行为异常 需要确认修复有效

Install

npx skills add mrgoonie/claudekit-skills --skill debugging -g -y
More Options

Non-standard path

npx skills add https://github.com/mrgoonie/claudekit-skills/tree/main/.claude/skills/debugging -g -y

Use without installing

npx skills use mrgoonie/claudekit-skills@debugging

指定 Agent (Claude Code)

npx skills add mrgoonie/claudekit-skills --skill debugging -a claude-code -g -y

安装 repo 全部 skill

npx skills add mrgoonie/claudekit-skills --all -g -y

预览 repo 内 skill

npx skills add mrgoonie/claudekit-skills --list

SKILL.md

Frontmatter
{
    "name": "debugging",
    "version": "1.0.0",
    "languages": "all",
    "description": "Systematic debugging frameworks for finding and fixing bugs - includes root cause analysis, defense-in-depth validation, and verification protocols",
    "when_to_use": "when encountering bugs, test failures, unexpected behavior, or needing to validate fixes before claiming completion"
}

Debugging Skills

A collection of systematic debugging methodologies that ensure thorough investigation before attempting fixes.

Available Sub-Skills

Systematic Debugging

Location: systematic-debugging/SKILL.md

Four-phase debugging framework: Root Cause Investigation → Pattern Analysis → Hypothesis Testing → Implementation. The iron law: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.

Root Cause Tracing

Location: root-cause-tracing/SKILL.md

Trace bugs backward through the call stack to find the original trigger. Don't fix symptoms - find where invalid data originated and fix at the source.

Defense-in-Depth Validation

Location: defense-in-depth/SKILL.md

Validate at every layer data passes through to make bugs structurally impossible. Four layers: Entry Point → Business Logic → Environment Guards → Debug Instrumentation.

Verification Before Completion

Location: verification-before-completion/SKILL.md

Run verification commands and confirm output before claiming success. The iron law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE.

When to Use

  • Bug in production → Start with systematic-debugging
  • Error deep in stack trace → Use root-cause-tracing
  • Fixing a bug → Apply defense-in-depth after finding root cause
  • About to claim "done" → Use verification-before-completion

Quick Dispatch

Symptom Sub-Skill
Test failure, unexpected behavior systematic-debugging
Error appears in wrong location root-cause-tracing
Same bug keeps recurring defense-in-depth
Need to confirm fix works verification-before-completion

Core Philosophy

"Systematic debugging is FASTER than guess-and-check thrashing."

From real debugging sessions:

  • Systematic approach: 15-30 minutes to fix
  • Random fixes approach: 2-3 hours of thrashing
  • First-time fix rate: 95% vs 40%

Version History

  • 80113d8 Current 2026-08-20 08:13

Same Skill Collection

.claude/skills/chrome-devtools/SKILL.md
.claude/skills/databases/SKILL.md
.claude/skills/debugging/defense-in-depth/SKILL.md
.claude/skills/debugging/root-cause-tracing/SKILL.md
.claude/skills/debugging/systematic-debugging/SKILL.md
.claude/skills/debugging/verification-before-completion/SKILL.md
.claude/skills/devops/SKILL.md
.claude/skills/docs-seeker/SKILL.md
.claude/skills/document-skills/docx/SKILL.md
.claude/skills/document-skills/pdf/SKILL.md
.claude/skills/document-skills/pptx/SKILL.md
.claude/skills/document-skills/xlsx/SKILL.md
.claude/skills/frontend-design/SKILL.md
.claude/skills/frontend-development/SKILL.md
.claude/skills/mcp-builder/SKILL.md
.claude/skills/mcp-management/SKILL.md
.claude/skills/mermaidjs-v11/SKILL.md
.claude/skills/payment-integration/SKILL.md
.claude/skills/problem-solving/collision-zone-thinking/SKILL.md
.claude/skills/problem-solving/inversion-exercise/SKILL.md
.claude/skills/problem-solving/meta-pattern-recognition/SKILL.md
.claude/skills/problem-solving/scale-game/SKILL.md
.claude/skills/problem-solving/simplification-cascades/SKILL.md
.claude/skills/problem-solving/SKILL.md
.claude/skills/problem-solving/when-stuck/SKILL.md
.claude/skills/sequential-thinking/SKILL.md
.claude/skills/skill-creator/SKILL.md
.claude/skills/threejs/SKILL.md
.claude/skills/ui-styling/SKILL.md
.claude/skills/web-testing/SKILL.md
.claude/skills/aesthetic/SKILL.md
.claude/skills/ai-multimodal/SKILL.md
.claude/skills/backend-development/SKILL.md
.claude/skills/better-auth/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/context-engineering/SKILL.md
.claude/skills/media-processing/SKILL.md
.claude/skills/repomix/SKILL.md
.claude/skills/shopify/SKILL.md
.claude/skills/web-frameworks/SKILL.md
.claude/skills/template-skill/SKILL.md

Metadata

Files
0
Version
80113d8
Hash
303e6a9f
Indexed
2026-08-20 08:13

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-24 22:38
浙ICP备14020137号-1 $방문자$