Fix issue

From huzaifa525/claude-code-optimizer · View interactive version

Fix issue is an AI agent skill from the GitHub repository huzaifa525/claude-code-optimizer. Use when the user wants to fix a GitHub issue by number, resolve a bug report, or close an issue.

How to use this skill

Skill file

Fix GitHub issue #$ARGUMENTS.

Steps

  1. Fetch the issue

```

gh issue view $ARGUMENTS

```

  1. Understand requirements — read the issue title, description, labels, and comments
  1. Create a branch

```

git checkout -b fix/issue-$ARGUMENTS

```

  1. Find relevant code — use Grep and Glob to locate files related to the issue
  1. Read the code — understand the current behavior and why it's wrong
  1. Implement the fix — make the minimum changes needed
  1. Write/update tests — ensure the fix is tested
  1. Run tests — verify nothing is broken

```

[test command from CLAUDE.md or package.json]

```

  1. Commit with conventional message:

```

git add [specific files]

git commit -m "fix: [description] (#$ARGUMENTS)"

```

  1. 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 -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.