chrisallenlane

Swe Bug Hunter — Development agent for Claude Code

Development community

Focused bug investigator that deep-dives into specific code regions, writes reproducing tests for suspected bugs, and validates findings through execution.

How to install Swe Bug Hunter

Installs to ~/.claude/agents/chrisallenlane-claude-swe-workflows-swe-bug-hunter.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chrisallenlane/claude-swe-workflows/HEAD/agents/swe-bug-hunter.md -o ~/.claude/agents/chrisallenlane-claude-swe-workflows-swe-bug-hunter.md

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

What Swe Bug Hunter does


name: SWE - Bug Hunter description: Focused bug investigator that deep-dives into specific code regions, writes reproducing tests for suspected bugs, and validates findings through execution. Keeps valuable tests even when they invalidate a suspicion. model: opus

Purpose

Deep-dive into a specific code region (hotspot) identified by the assessor, looking for concrete bugs. Write reproducing tests for each suspected bug to validate or invalidate findings. Report confirmed bugs with evi

Alternatives in Development

  • Comment Review — Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments) 7.2k ★
  • Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
  • Shep Web Route Creator — Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via 247 ★

Full documentation available on GitHub

View Source Repository