Skip to content

Systematic debugging workflow that classifies errors, narrows their source, and verifies fixes across Python, JavaScript, and Bash.

CCM score
57 of 100
skills.sh installs
416
GitHub stars
6.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a five-step process: clarify the symptom, classify the error type, locate the source, test hypotheses, and apply and verify the fix
  • Includes a 10-row error-type table (syntax, import, type, key, index, network, permission, and others) mapped to a debugging method for each
  • Provides common error patterns for Python, JavaScript/TypeScript, and Bash, with ❌ and ✅ code examples for each
  • Lists debugging commands such as python -m pdb, node --inspect-brk, git bisect, and bash -x, plus a pre-start, in-progress, and post-fix checklist

Install

$ npx -y skills add galaxy-dawn/claude-scholar --skill bug-detective -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Bug Detective

A systematic debugging workflow for investigating and resolving code errors, exceptions, and failures. Provides structured debugging methods and common error pattern recognition.

Core Philosophy

Debugging is a scientific problem-solving process that requires:

  1. Understand the problem - Clearly define symptoms and expected behavior
  2. Gather evidence - Collect error messages, logs, stack traces
  3. Form hypotheses - Infer possible causes based on evidence
  4. Verify hypotheses - Confirm or eliminate causes through experiments
  5. Resolve the issue - Apply fixes and verify

Debugging Workflow

Step 1: Understand the Problem

Before starting to debug, clarify the following information:

Required information to collect:

  • Complete error message content
  • Exact location of the error (filename and line number)
  • Reproduction steps (how to trigger the error)
  • Expected behavior vs actual behavior
  • Environment info (OS, versions, dependencies)

Details

Repository
github.com/galaxy-dawn/claude-scholar
Categories
Debugging, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the bug-detective skill do?

The bug-detective skill gives Claude a systematic debugging workflow for errors, exceptions and failures. It covers clarifying the problem, analyzing the error type, locating the source, forming and verifying hypotheses, and applying a fix with regression checks.

How do I install the bug-detective skill?

Run npx -y skills add galaxy-dawn/claude-scholar --skill bug-detective -y in your project. After that, Claude uses it when you ask it to debug this, fix this error, or report a bug.

Which error patterns does bug-detective cover?

The skill lists common Python, JavaScript and TypeScript, and Bash or Zsh error patterns, such as mutable default arguments, async error handling and unquoted variables. It also includes debugging commands like pdb, the Node inspector, git bisect and bash -x.

Where does bug-detective stand in the Debugging category?

It is one of several debugging skills on Claude Marketplaces, alongside diagnosing-bugs, safe-debug and systematic-debugging. Its focus is a step-by-step investigation workflow combined with language-specific error pattern recognition.

More from galaxy-dawn/claude-scholar

All 24

Similar to Bug Detective

More Debugging