/fix-bug
Systematically debug issues through hypothesis-driven logging, analysis, and PRP generation.
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/fix-bug
Context preview
What this command does when you run it.
Systematically debug issues through hypothesis-driven logging, analysis, and PRP generation.
Command definition
fix-bug.mdthinking-mode: on
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
argument-hint: <bug-description>
description: Systematically debug issues through hypothesis-driven logging, analysis, and PRP generation.
Fix Bug
I will systematically debug this issue using a hypothesis-driven logging approach.
Workflow
Phase 1: Understand the Bug
If not provided in $ARGUMENTS, I will ask for:
- Expected behavior
- Observed behavior
- Steps to reproduce
Phase 2: Hypothesis & Logging Plan
Based on the bug description, I will: 1. Form a hypothesis about the root cause 2. Identify files that need diagnostic logging 3. Present my plan:
**Hypothesis:** [My theory about what's causing the bug]
**Files to instrument:**
- `[file]` - [what I'll log and why]
I will wait for your confirmation before adding logs.
Phase 3: Add Diagnostic Logs
Once approved, I will add targeted `console.log` statements prefixed with `[DEBUG-FIX]` for easy identification and removal.
Phase 4: Reproduce & Analyze
I will ask you to: 1. Reproduce the issue 2. Paste the relevant logs here
When you provide logs, I will analyze them:
- **If root cause is identified** → proceed to Phase 5
- **If unclear** → refine hypothesis and add more logging (repeat Phases 2-4)
Phase 5: Create PRP
Once I have concrete evidence from logs, I will create a PRP containing:
- Root cause (with log evidence)
- Proposed fix
- Files to modify
- Implementation approach
Phase 6: Clean Up
After the PRP is created, I will remove all `[DEBUG-FIX]` diagnostic logs.
---
**Principle:** Never guess at fixes. Every PRP must be backed by evidence from logs.
Bug to investigate: $ARGUMENTS
Read more
thinking-mode: on allowed-tools: Read, Write, Edit, Grep, Glob, Bash argument-hint: <bug-description> description: Systematically debug issues through hypothesis-driven logging, analysis, and PRP generation.
Fix Bug
I will systematically debug this issue using a hypothesis-driven logging approach.
Workflow
Phase 1: Understand the Bug
If not provided in $ARGUMENTS, I will ask for:
- Expected behavior
- Observed behavior
- Steps to reproduce
Phase 2: Hypothesis & Logging Plan
Based on the bug description, I will: 1. Form a hypothesis about the root cause 2. Identify files that need diagnostic logging 3. Present my plan:
**Hypothesis:** [My theory about what's causing the bug]
**Files to instrument:**
- `[file]` - [what I'll log and why]
I will wait for your confirmation before adding logs.
Phase 3: Add Diagnostic Logs
Once approved, I will add targeted `console.log` statements prefixed with `[DEBUG-FIX]` for easy identification and removal.
Phase 4: Reproduce & Analyze
I will ask you to: 1. Reproduce the issue 2. Paste the relevant logs here
When you provide logs, I will analyze them:
- **If root cause is identified** → proceed to Phase 5
- **If unclear** → refine hypothesis and add more logging (repeat Phases 2-4)
Phase 5: Create PRP
Once I have concrete evidence from logs, I will create a PRP containing:
- Root cause (with log evidence)
- Proposed fix
- Files to modify
- Implementation approach
Phase 6: Clean Up
After the PRP is created, I will remove all `[DEBUG-FIX]` diagnostic logs.
---
**Principle:** Never guess at fixes. Every PRP must be backed by evidence from logs.
Bug to investigate: $ARGUMENTS
Repo: dcouple/Pane
Other commands on pane.
- /commit
Create git commits with user approval and no Claude attribution
Open command - /create_plan
You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and work collaboratively with the user to produce high-quality technical specifications.
Open command - /describe_pr
Generate comprehensive PR descriptions following repository templates
Open command - /implement_plan
You are tasked with implementing an approved technical plan from `thoughts/shared/plans/`. These plans contain phases with specific changes and success criteria.
Open command - /iterate_plan
Iterate on existing implementation plans with thorough research and updates
Open command - /research_codebase
You are tasked with conducting comprehensive research across the codebase to answer user questions. You will spawn one or more parallel sub-agents to perform your reserach.
Open command

