/fix-issue Skill
Fix a GitHub issue from start to finish: read, branch, fix, test, commit.
Usage
- •
/fix-issue 42— fix issue #42
Steps
- •Read the issue:
gh issue view [number]to understand the problem - •Create a branch:
git checkout -b fix/issue-[number]-[slug] - •Investigate: Find the relevant code, reproduce the issue
- •Fix: Apply the minimal fix that addresses the root cause
- •Test: Write or update tests to cover the fix
- •Verify: Run the test suite to ensure no regressions
- •Commit: Create a conventional commit referencing the issue
- •Summary: Show what was changed and suggest next steps (PR, etc.)
Commit Format
code
fix(<scope>): <description> Fixes #[number]
Guidelines
- •Always understand the issue fully before coding
- •One issue, one fix — don't bundle unrelated changes
- •If the issue is unclear, explain what you found and ask for clarification
- •If the fix is complex, break it into steps and confirm approach first