fix-bug
Bug Fix Workflow
Fix bugs systematically while ensuring proper test coverage and documentation. Simple bugs are fixed directly; complex bugs get multiple competing implementations to find the best solution.
Transit Integration
If a T-[number] ticket is mentioned (e.g., T-42), track it throughout the workflow:
- Extract the display ID from the reference
- Automatically create a branch named
T-{number}/bugfix-{bug-name}(no user prompt needed) - Move the ticket to
in-progressstatus after branch creation. Add a comment: "Starting bugfix — investigating on branch T-{number}/bugfix-{bug-name}" - Move the ticket to
ready-for-reviewstatus after the PR is created. Add a comment: "Fix ready for review — PR #{pr-number}"
Use mcp__transit__update_task_status with the display ID to update status. Always include a comment when changing status.
If no Transit ticket is mentioned, skip all Transit-related steps.
Workflow
1. Bug Name
More from arjenschwarz/agentic-coding
ui-ux-reviewer
Evaluate and improve user experience of interfaces (CLI, web, mobile)
129efficiency-optimizer
Analyze code for performance and efficiency improvements
42design-critic
Critical review of design documents, architecture proposals, and requirements
26permission-analyzer
Generate Claude Code permissions config from session history. Use when setting up autonomous mode, configuring .claude/settings.json, avoiding --dangerously-skip-permissions, or analyzing what permissions a project needs. Reads session logs to extract Bash commands and MCP tools actually used, then generates appropriate allow/deny rules.
22performing-systematic-debugging-for-stubborn-problems
Applies a modified Fagan Inspection methodology to systematically resolve persistent bugs and complex issues. Use when multiple previous fix attempts have failed repeatedly, when dealing with intricate system interactions, or when a methodical root cause analysis is needed. Do not use for simple troubleshooting. Triggers after multiple failed debugging attempts on the same complex issue.
20project-init
Initialize Claude Code project settings with standard hooks and language-specific permissions. Use when setting up a new project for Claude Code or adding standard configuration to an existing project.
20