When something breaks and you're staring at a stack trace, this gives you a structured debugging workflow instead of random printf statements. It walks through the scientific method for bugs: understand the problem, gather evidence, form hypotheses, verify them, then fix. Includes common error patterns for Python, JavaScript, and notably a solid section on Bash gotchas like spacing issues, quoting problems, and subshell variable scope traps. The checklist format keeps you methodical when you're tired and just want the damn thing to work. Think of it as a debugging protocol that stops you from thrashing around and helps you actually isolate the issue.

skills.sh installs
412
GitHub stars
6K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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)

Sponsors

Details

Repository
github.com/galaxy-dawn/claude-scholar
Categories
Git & Pull Requests, Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from galaxy-dawn/claude-scholar

All 28
1mrgoonie avatardocs-seekermrgoonie/claudekit-skillsSearching internet for technical documentation using llms.txt standard, GitHub repositories via Repomix, and parallel exploration. Use when user needs: (1) Late408skills.sh installs
2secondsky avatarclaude-code-bash-patternssecondsky/claude-skillsClaude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encount408skills.sh installs
3snyk avatarsnyk-fixsnyk/studio-recipesComplete security remediation workflow. Scans code for vulnerabilities using Snyk, fixes them, validates the fix, and optionally creates a PR. Supports both sin408skills.sh installs
4robdefeo avatarpara-second-brainrobdefeo/agent-skillsUse this skill when the user wants to organize, classify, or maintain a PARA-method second brain. Triggers include asking where to file something, distinguishin407skills.sh installs
5brianrwagner avatarsocial-card-genbrianrwagner/ai-marketing-claude-code-skillsGenerate platform-specific social post variants (Twitter/X, LinkedIn, Reddit) from one source input. Works with or without Node.js script. Includes platform rea406skills.sh installs
6galaxy-dawn avatarskill-improvergalaxy-dawn/claude-scholarThis skill should be used when the user asks to "apply skill improvements", "update skill from plan", "execute improvement plan", "fix skill issues", "implement406skills.sh installs