fix-issue · justxor — Claude Code skill: what it does, how to install
fix-issue — a skill that runs the full cycle of fixing a GitHub issue by number — from analysis and test to commit.
MIT ★ 353 updated 2026-10-01
npx skills add justxor/claude-code-pro-course --skill fix-issue -a claude-codeWhat fix-issue does
The skill takes an issue number and walks through the cycle: reads the issue via gh issue view, locates the code, creates a branch fix/<number>-<short-description>, writes a test that reproduces the problem, applies a minimal fix, runs the linter and type checker, commits with fix: <description> (closes #<number>). At the end it offers to open a PR via gh pr create.
The skill requires GitHub CLI (gh) and has the flag disable-model-invocation: true, which means it runs as a sequence of steps without an extra model call. Fits projects where issues follow a standard checklist.
What it helps with
- run all steps of a GitHub issue fix checklist
- create a branch, test and commit in one command
- reproduce the problem with a test before changing code
- close an issue with a commit message in the right format
Example prompts for the agent
- Fix issue number 42
- Handle issue #123 and close it
- Run the fix cycle for issue 7
How to install fix-issue
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill fix-issue -a claude-code2Manually: put the files in place
~/.claude/skills/fix-issue/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fix-issue/
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill fix-issue -a codex2Manually: put the files in place
.agents/skills/fix-issue/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill fix-issue -a cursor2Manually: put the files in place
.cursor/skills/fix-issue/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install justxor/claude-code-pro-course starter-kit/.claude/skills/fix-issue2Manually: put the files in place
.github/skills/fix-issue/SKILL.md1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill fix-issue -a gemini-cli2Platform CLI
gemini skills install https://github.com/justxor/claude-code-pro-course --path starter-kit/.claude/skills/fix-issueManually: put the files in place
.devin/skills/fix-issue/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about fix-issue
How to install fix-issue in Claude Code?
Run npx skills add justxor/claude-code-pro-course --skill fix-issue -a claude-code, the skill will be placed at ~/.claude/skills/fix-issue/SKILL.md.
What does fix-issue do?
The skill runs the full cycle of fixing a GitHub issue: reads the description and comments, finds the code, creates a branch, writes a test, fixes the problem, commits and offers to open a PR.
What does fix-issue need to work?
GitHub CLI (gh) and GitHub authentication. The skill calls gh issue view and gh pr create.
Source text
SKILL.md · MIT
--- name: fix-issue description: Полный цикл исправления GitHub issue по номеру - анализ, тест, исправление, коммит. argument-hint: <номер issue> disable-model-invocation: true --- # Fix issue #$ARGUMENTS 1. `gh issue view $ARGUMENTS` — прочитай issue и комментарии. 2. Найди релевантный код. Кратко опиши первопричину. 3. Создай ветку `fix/$ARGUMENTS-<кратко>`. 4. Напиши тест, который воспроизводит проблему, убедись, что он падает. 5. Исправь минимально необходимым изменением. Запусти тест и соседние тесты. 6. Прогони линтер и проверку типов. 7. Коммит: `fix: <описание> (closes #$ARGUMENTS)`. 8. Спроси, открывать ли PR (`gh pr create`).
© justxor · MIT · justxor/claude-code-pro-course
Similar skills
All skills for Git and GitHub →fix-issue by other authors comes first.