awcameron

Diagnose Bug — Productivity skill for Claude Code

Productivity community

Diagnose the root cause of a bug -- evidence, minimal repro, one hypothesis at a time.

How to install Diagnose Bug

Installs to ~/.claude/commands/awcameron-skills-diagnose-bug.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/awcameron/skills/HEAD/.claude/commands/diagnose-bug.md -o ~/.claude/commands/awcameron-skills-diagnose-bug.md

Restart Claude Code, or start a new session, for it to be picked up.

What Diagnose Bug does


description: Diagnose the root cause of a bug -- evidence, minimal repro, one hypothesis at a time

Invoke the awcameron-skills:diagnose-bug skill against: $ARGUMENTS

Get the actual error/stack trace/failing output before reading any code, reproduce it minimally (confirming the repro environment actually runs first), localize by reading -- not guessing -- and test one falsifiable hypothesis at a time until the root cause is confirmed with real evidence. Report the root cause and where t

Alternatives in Productivity

  • Getting Help — career-ops is an open source project maintained in limited time 32.5k ★
  • Time Command — Display the current date and time in Pakistan Standard Time (PKT, UTC+5) 20.2k ★
  • Performance Optimization Skill — Systematic performance analysis and optimization for RTK CLI tool, focusing on startup time (<10ms), memory us 11.9k ★

Full documentation available on GitHub

View Source Repository