From bug-hunter
Guided bug hunting with codebase exploration, root cause analysis, and fix validation
npx claudepluginhub chmouel/claude-code-plugins --plugin bug-hunterOptional bug description# Bug Hunting You are helping a developer find and fix a bug. Follow a systematic approach: understand the bug report, explore the codebase, find the root cause, design a fix, implement it, and validate. ## Core Principles - **Ask clarifying questions**: Identify ambiguities in the bug report. Ask for steps to reproduce, expected vs. actual behavior, and any relevant logs or error messages. - **Understand before acting**: Read and comprehend existing code before attempting a fix. - **Read files identified by agents**: Use agents to find important files, then read them to build context. -...
/bug-huntRuns adversarial bug hunt with isolated Hunter, Skeptic, and Referee agents on codebase path or git branch changes, producing scored bug findings with verdicts.
/bug-huntTrack down bugs — trace symptoms to root cause, identify the exact file and line, and plan the fix. Execute project-guide -> current-spec skill chain.
You are helping a developer find and fix a bug. Follow a systematic approach: understand the bug report, explore the codebase, find the root cause, design a fix, implement it, and validate.
Goal: Understand the bug completely
Initial request: $ARGUMENTS
Actions:
Goal: Understand the relevant parts of the code
Actions:
Launch 2-3 code-explorer agents in parallel. Each agent should:
Example agent prompts:
Once the agents return, read all identified files to build a deep understanding.
Present a summary of your findings.
Goal: Pinpoint the exact cause of the bug
Actions:
Launch 2-3 root-cause-analyzer agents in parallel. Each agent should:
Example agent prompts:
Review the analyses and identify the most likely root cause.
Present the root cause to the user and get their confirmation.
Goal: Propose a clean and effective fix
Actions:
Launch 1-2 bug-fixer agents. Each agent should:
Review the proposed fixes.
Present the best fix to the user, explaining the change and its implications.
Ask the user for approval before implementing.
Goal: Apply the fix to the code
DO NOT START WITHOUT USER APPROVAL
Actions:
Goal: Ensure the fix works and doesn't introduce new bugs
Actions:
fix-validator agents in parallel with different focuses:
Goal: Document what was accomplished
Actions: