bug-detective
This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem"…
Skill by Galaxy-Dawn
Chalk Labs
Need help deploying bug-detective?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/galaxy-dawn-bug-detective
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bug-detective
What's inside
- Skill name
bug-detective- Description
- This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing", or reports errors/exceptions/bugs. Provides systematic debugging workflow and common error patterns.
- License
- MIT
- Instructions
- 303 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- debugging-workflow.py · examples/
- debugging-workflow.sh · examples/
- error-handling-patterns.py · examples/
- common-patterns.md · references/
- debugging-tools.md · references/
- javascript-errors.md · references/
- python-errors.md · references/
- shell-errors.md · references/
SKILL.md (first lines)
# 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) **Question template:** ``` 1. What is the exact error message? 2. Which file and line does the error occur at? 3. How can this issue be reproduced? Provide detailed steps. 4. What was the expected result? What actually happened? 5. What recent changes might have introduced this issue? ``` ### Step 2: Analyze Error Type Choose a debugging strategy based on error type: | Error Type | Characteristics | Debugging Method | |-----------|----------------|-----------------| | **Syntax Error** | Code cannot be parsed | Check syntax, bracket matching, quotes | | **Import Error** | ModuleNotFoundError | Check module installation, path config | | **Type Error** | TypeError | Check data types, type conversions | | **Attribute Error** | AttributeError | Check if object attribute exists | | **Key Error** | KeyError | Check if dictionary key exists | | **Index Error** | IndexError | Check list/array index range | | **Null Reference** | NoneType/NullPointerException | Check if variable is None | | **Network Error** | ConnectionError/Timeout | Check network connection, URL, timeout settings | | **Permission Error** | PermissionError | Check file permissions, user permissions | | **Resource Error** | FileNotFoundError | Check if file path exists | ### Step 3: Locate the Problem Source Use the following methods to locate the issue: **1. Binary Search Method** - Comment out half the code, check if the problem persists - Progressively narrow the scope until the problematic code is found **2. Log Tracing** - Add print/logging statements at key locations - Track variable value changes - Confirm code execution path **3. Breakpoint Debugging** - Use debugger breakpoint functionality - Step through code execution - Inspect variable state **4. Stack Trace Analysis** - Find the call chain from the stack trace in the error message - Determine the direct cause of the error - Trace back to the root cause ### Step 4: Form and Verify Hypotheses **Hypothesis framework:** ``` Hypothesis: [problem description] causes [error phenomenon] Verification steps: 1. [verification method 1] 2. [verification method 2] Expected results: - If hypothesis is correct: [expected phenomenon] - If hypothesis is wrong: [expected phenomenon] ``` ### Step 5: Apply Fix After fixing, verify: 1. The original error is resolved 2. No new errors have been introduced 3. Related functionality still works correctly 4. Tests added to prevent regression ## Python Common Error Patterns ### 1. Indentation Errors ### 2. Mutable Default Arguments ### 3. Closure Issues in Loops ### 4. Modifying a List While Iterating ### 5. Using `is` for String Comparison ### 6. Forgetting to Call `super().__init__()` ## JavaScript/TypeScript Common Error Patterns ### 1. `this` Binding Issues ### 2. Async Error Handling ### 3. Object Reference Comparison ## Bash/Zsh Common Error Patterns ### 1. Spacing Issues ```bash # ❌ No spaces allowed in assignment
From Galaxy-Dawn/claude-scholar, MIT.
More from Galaxy-Dawn/claude-scholar
- 0.806score
nature-writing
Galaxy-Dawn
Draft, restructure, or plan Nature-style manuscript sections from author-provided claims, results, figures, notes, or Chinese drafts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-data
Galaxy-Dawn
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-polishing
Galaxy-Dawn
Polish, restructure, or translate academic prose into Nature-leaning English using writing-strategy principles, curated Nature/Nature Communications article…
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-response
Galaxy-Dawn
Draft, audit, or revise point-by-point reviewer response letters for Nature-family manuscript revisions.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.796score
ml-paper-writing
Galaxy-Dawn
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.749score
publication-chart-skill
Galaxy-Dawn
This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
obsidian-literature-workflow
Galaxy-Dawn
Use this skill for project-scoped literature review built on Sources/Papers, with synthesis landing in Knowledge, writing handoff in Writing, and the default…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
citation-verification
Galaxy-Dawn
This skill provides reference guidance for citation verification in academic writing.
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
review-response
Galaxy-Dawn
Systematic review response workflow from comment analysis to professional rebuttal writing.
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
expression-skill
Galaxy-Dawn
This skill should be used when the user asks for efficient communication, task reports, file-operation summaries, research discussion, study-note synthesis…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
zotero-obsidian-bridge
Galaxy-Dawn
Use this skill when Zotero is the literature source of truth and the project KB should receive source notes under Sources/Papers plus project-linked synthesis…
SkillCFreshness: C★ 5.9KClaude Code +9 - 0.749score
obsidian-kb-artifacts
Galaxy-Dawn
Use this skill for Obsidian-native formatting and derived artifacts such as Markdown formatting, wikilinks, registry tables, canvas files, optional Bases, CLI…
SkillCFreshness: C★ 5.9KClaude Code +9
Signals
- Stars
- 5,894
- Forks
- 461
- Open issues
- 1
- Last commit (this folder)
- Mar 18, 2026 (7 months ago)
- Last release
- Feb 25, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Galaxy-Dawn/claude-scholar
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Galaxy-Dawn
- 0.806score
nature-response
Galaxy-Dawn
Draft, audit, or revise point-by-point reviewer response letters for Nature-family manuscript revisions.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-writing
Galaxy-Dawn
Draft, restructure, or plan Nature-style manuscript sections from author-provided claims, results, figures, notes, or Chinese drafts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-data
Galaxy-Dawn
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.806score
nature-polishing
Galaxy-Dawn
Polish, restructure, or translate academic prose into Nature-leaning English using writing-strategy principles, curated Nature/Nature Communications article…
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.796score
ml-paper-writing
Galaxy-Dawn
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM.
SkillBFreshness: B★ 5.9KClaude Code +9 - 0.749score
publication-chart-skill
Galaxy-Dawn
This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a…
SkillCFreshness: C★ 5.9KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get bug-detective running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
bug-detective skill. Agent Mart. https://agentmart.dev/skills/galaxy-dawn-bug-detective (last updated 2026-10-24)