bug-hunt
Proactive bug-hunting workflow. Assesses codebase risk through complexity, coverage, and structural analysis, then spawns focused investigators that write…
Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the user wants to fix a bug with thorough investigation and regression testing.
$ npx -y skills add chrisallenlane/claude-swe-workflows --skill bug-fix --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bug-fixContext preview
The summary Claude sees to decide when to auto-load this skill.
Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the user wants to fix a bug with thorough investigation and regression testing.
name: bug-fix description: Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the user wants to fix a bug with thorough investigation and regression testing. model: opus
Coordinates specialist agents through a bug-fixing cycle: clarify bug -> reproduce with failing test -> diagnose root cause -> implement fix -> verify -> review -> document.
**Gather bug details from user:**
**Ask clarifying questions if needed:**
Loop back to user until the bug is clearly understood. You need enough information to write a test that demonstrates the failure.
**Detect project language/framework:**
**Spawn appropriate SME agent:**
**SME agent task:**
**This is the contract.** When these tests pass, the bug is fixed.
**If reproduction fails:**
**Spawn `swe-bug-investigator` agent:**
**Diagnosis report includes:**
**Re-invoke the same SME agent from step 2:**
**Implementation agent responsibilities:**
**Spawn `qa-engineer` agent:**
**Practical verification by feature type:**
**This is a CRITICAL GATE:**
**Expected output:** Practical verification results, pass/fail determination with specific findings.
**Only proceed to code review if fix verification passed.** Don't review broken code.
Conditionally invoke specialized reviewers based on code changes and complexity. All reviewers provide feedback; implementation agent responds to all feedback in step 7.
**If security-sensitive code changed (auth, crypto, input validation, data access):**
**Spawn `sec-blue-teamer` agent:**
A system of composable software engineering workflows for Claude Code. Plan projects, implement tickets, and run quality passes — from a single ticket to a multi-batch project, using the same layered architecture.
Repo: chrisallenlane/claude-swe-workflows
Proactive bug-hunting workflow. Assesses codebase risk through complexity, coverage, and structural analysis, then spawns focused investigators that write…
Multi-ticket batch workflow. Takes a batch of tickets, plans execution order, implements each via /implement in autonomous mode, runs cross-cutting quality…
Full-lifecycle project workflow. Takes batched tickets, implements via /implement-batch, runs smoke tests, then executes a comprehensive quality pipeline…
Iterative development workflow that coordinates implementation, refactoring, QA, and documentation agents to complete features systematically. Use when the…
Autonomous bug-elimination loop. Iteratively invokes /bug-hunt and /implement-batch until findings converge below an operator-specified severity floor. At…
Autonomous technical lead. Takes commander's intent and drives a project to completion through an OODA loop over implementation, refactoring, review, and…