Agent skill
fix-issue
Use when the user wants to fix a GitHub issue by number, resolve a bug report, or close an issue.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/fix-issue-huzaifa525-claude-code-optimize
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?