Files
claude_mac/skills/bugfix/SKILL.md
T

33 lines
984 B
Markdown

---
name: bugfix
description: |
Structured bug fix with root cause investigation. For bugs where
the cause isn't immediately obvious, spans multiple files, or
requires careful analysis before fixing. Includes hypothesis-driven
investigation and a fix plan.
Trigger: "bugfix", "debug this", "fix this bug", "pourquoi ca marche pas",
"investigate and fix", "find and fix", "root cause + fix".
For obvious 1-2 file fixes → use /hotfix instead.
For bugs that need investigation only (no fix) → use /analyze.
argument-hint: <bug description, error message, or stack trace>
allowed-tools:
- Read
- Edit
- Write
- Bash
- Grep
- Glob
- Agent
---
MODEL GATE (blocking): run `$HOME/.claude/lib/model-gate.md` BEFORE loading
the agent below. Verdict `small` → STOP — print the gate's remedy, end the
turn, do not load the agent.
Load and follow strictly:
- $HOME/.claude/agents/bugfixer.md
Execute the BUGFIXER agent on the following target:
$ARGUMENTS