Fix issue
Skill huzaifa525/claude-code-optimizer/templates/.claude/skills/fix-issue
Use when the user wants to fix a GitHub issue by number, resolve a bug report, or close an issue.From its SKILL.md
npx -y skills add huzaifa525/claude-code-optimizer --skill fix-issueAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 5 commands, including `gh issue view $ARGUMENTS` and 4 more.
SKILL.md
1.3 KB, 277 tokens by cl100k_base, as published. Nobody here has run it
Fix GitHub issue #$ARGUMENTS.
Steps
-
Fetch the issue
gh issue view $ARGUMENTS -
Understand requirements — read the issue title, description, labels, and comments
-
Create a branch
git checkout -b fix/issue-$ARGUMENTS -
Find relevant code — use Grep and Glob to locate files related to the issue
-
Read the code — understand the current behavior and why it's wrong
-
Implement the fix — make the minimum changes needed
-
Write/update tests — ensure the fix is tested
-
Run tests — verify nothing is broken
[test command from CLAUDE.md or package.json] -
Commit with conventional message:
git add [specific files] git commit -m "fix: [description] (#$ARGUMENTS)" -
Show summary — what was changed, why, and what tests cover it
If issue doesn't exist
Tell the user the issue was not found.
<!-- Skill by Huzefa Nalkheda Wala | github.com/huzaifa525 | claude-code-optimizer -->What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.