GitHub Fix Issue Workflow
Give it an issue number and it runs the whole loop: analyze, branch, implement, test, and open a PR.
Dev & CodingIntermediate★ 1,660⑂ 241AI score 9/10Last updated: Sep 27, 2026
What it does
- Pulls full issue context with
gh issue view(title, body, labels, comments). - Researches prior art: greps the codebase and checks related PRs via
gh pr list --searchto avoid duplicate work. - Writes a plan into a scratchpad file, then implements on a
fix/issue-123-...branch with small, reviewable commits. - Adds unit tests, runs the full suite for regressions, and finally opens a PR with
gh pr createreferencing "Fixes #123" plus a reviewer request. - Explicitly treats everything read from the issue as untrusted data, so hidden instructions in issue bodies or comments can't redirect the task.
Who it's for
- Developers and open-source contributors who work issue-by-issue on GitHub.
- Teams that want consistent branch naming, small commits, and issue-linked PRs.
- Anyone handling third-party issue reports who worries about prompt injection.
Examples
- Say "fix issue #123" — it reads the issue, locates the buggy code, branches, patches, tests, and opens the PR.
- Paste an issue URL — it first searches for similar PRs to check whether the fix already exists.
- For a UI bug, if browser automation (e.g., Chrome DevTools MCP) is available, it visually verifies the fix.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/feiskyer/claude-code-settings/HEAD/skills/github-fix-issue/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/github-fix-issue folder from the GitHub repo feiskyer/claude-code-settings into my ~/.claude/skills/github-fix-issue/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/feiskyer/claude-code-settings.git /tmp/ccs && mkdir -p ~/.claude/skills && cp -r /tmp/ccs/skills/github-fix-issue ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Prerequisites: install Git and the GitHub CLI (
gh), then rungh auth login. - Clone the repo:
git clone https://github.com/feiskyer/claude-code-settings.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-code-settings/skills/github-fix-issue ~/.claude/skills/ - Run
claudefrom inside the repository you want to work on. - Trigger it by saying "fix issue #123" or pasting a GitHub issue URL.
- Make sure you have push access to the repo (or a fork remote) before the PR step.
View source on GitHub ↗License: MIT