Bug Fix — Development agent for Claude Code
Use when diagnosing and fixing a bug.
How to install Bug Fix
Installs to ~/.claude/agents/yehudafrankel-clankbrain-bug-fix.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/YehudaFrankel/clankbrain/HEAD/.claude/agents/bug-fix.md -o ~/.claude/agents/yehudafrankel-clankbrain-bug-fix.md Restart Claude Code, or start a new session, for it to be picked up.
What Bug Fix does
name: Bug Fix description: Use when diagnosing and fixing a bug. Chains reproduce → isolate → hypothesize → fix → verify → learn with human-in-the-loop breakpoints at each stage.
Bug Fix Agent
Structured bug investigation. Never touch code until the root cause is confirmed. Each stage has a breakpoint.
Step 1 — Reproduce
Invoke the `debug-session` skill (reproduce + isolate phases only).
- Confirm the bug is actually happening — check logs, run the code, see the failure
- Do
Alternatives in Development
- Svelte Recurrence Sweep — Given a defect just found or fixed in a SvelteKit app (apps/moderator, apps/auth, apps/creator-studio), finds 7.2k ★
- Contributing To ClawPort — Thank you for your interest in contributing to ClawPort 648 ★
- CI Watcher — Watch PR checks for the current branch and report pass/fail with relevant links and concise next steps 144 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Feature Build
Use when building a new feature from scratch. Chains search → plan → code → review → verify → learn in sequenc
End Session
Use at the end of every working session. Chains learn → memory update → drift check → status update in the cor
Arch Debugger
Isolate a bug to a specific module or contract boundary, produce a minimal repro, and fix it without breaking
Performance Expert
Tier 3 — Quality & Hardening. Owns startup, memory, battery, and rendering performance. Use for profiling, dia
Repro Public
Reproduce a bug in the public-facing rendered site (not the admin). Boots a demo with bgproc, drives the publi
Bug Reproduction Validator
Validates bug reports by attempting to reproduce the reported behavior before fixes begin. Use when receiving
Related Skills
Diagnosing Bugs
PHẢI dùng khi: đang stuck với bug khó reproduce, không biết debug từ đâu, đã fix nhiều lần mà bug vẫn quay lại
Fix Bug
Test-driven bug fixing — reproduce with a failing test, fix via parallel agents, then pick the best solution.
M Bug Fix
Bug Fix Workflow: Analyze, Reproduce, Identify, Fix, Verify