fix-github-issue
Automates the GitHub issue resolution lifecycle.
Install
mkdir -p .claude/skills/fix-github-issue && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2793" && unzip -o skill.zip -d .claude/skills/fix-github-issue && rm skill.zipInstalls to .claude/skills/fix-github-issue
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Fix a GitHub issue by number. Use when asked to fix GitHub issues.Key capabilities
- →Verify clean git status and master branch
- →Create feature branches with issue-specific naming
- →Analyze issue details using GitHub CLI
- →Implement code changes following AgnosticUI principles
- →Stage changes with descriptive commit messages
How it works
The skill automates the lifecycle of a GitHub issue fix by verifying the environment, creating a branch, analyzing the issue, implementing changes, and preparing commits, all while requiring user approval at major steps.
Inputs & outputs
When to use fix-github-issue
- →Resolve open GitHub issues
- →Standardize feature branch creation
- →Verify codebase integrity before patching
About this skill
Usage: /fix-github-issue ISSUE_NUMBER
Example: /fix-github-issue 276
Fix GitHub issue $ARGUMENTS following best practices.
Setup:
- Read
.claude/PROJECT_CONTEXT.mdfor AgnosticUI structure, conventions, and workflows
Steps:
-
Verify we're starting from a clean state:
- Check
git statusto ensure working directory is clean - Confirm we're on
masterbranch - If not clean or on wrong branch, STOP and ask user to resolve
- Check
-
Create a feature branch:
- Follow convention from PROJECT_CONTEXT:
issue-$ARGUMENTS/descriptive-name - Example:
issue-276/fix-button-variant - Use
git checkout -b issue-$ARGUMENTS/[short-description] - WAIT FOR USER APPROVAL of branch name
- Follow convention from PROJECT_CONTEXT:
-
Analyze the issue:
- Use
gh issue view $ARGUMENTSto fetch full issue details - Understand the problem, reproduction steps, and expected behavior
- Use
-
Investigate the codebase:
- Use PROJECT_CONTEXT to identify relevant locations:
- Core components in
v2/lib/src/components/ - Framework implementations in playgrounds
- Related tests and examples
- Core components in
- Use Read, Grep, and Glob to find relevant files
- Review current implementation and identify root cause
- Use PROJECT_CONTEXT to identify relevant locations:
-
Propose the fix:
- Explain what needs to change and why
- Consider impact across Lit, React, and Vue if applicable
- Follow AgnosticUI's CSS-first, accessibility-focused principles
- Show the user your proposed changes
- WAIT FOR USER APPROVAL before making any changes
-
Implement only after approval:
- Make the necessary code changes
- Update related files (tests, docs, examples) if needed
- Run tests if applicable (check PROJECT_CONTEXT for test commands)
- Verify the fix addresses the issue
-
Prepare commit:
- Stage changes with
git add - Create descriptive commit message: "Fix #$ARGUMENTS: [description]"
- Show the user what will be committed
- WAIT FOR USER APPROVAL before committing
- Stage changes with
-
Inform user about next steps:
- Remind user they're on branch
issue-$ARGUMENTS/... - Explain they should review changes with
git diff master - When ready, they can:
git push -u origin issue-$ARGUMENTS/... - Then create PR with:
gh pr create --base master --head issue-$ARGUMENTS/...
- Remind user they're on branch
Important Rules:
- ALWAYS create a feature branch - NEVER work directly on master
- NEVER push to remote without explicit user permission
- ALWAYS show proposed changes before implementing
- STOP and ask for approval at each major step
- Use clear, descriptive commit messages that reference the issue
- Follow AgnosticUI conventions from PROJECT_CONTEXT
When not to use it
- →Working directly on the master branch
- →Pushing to remote without user permission
Prerequisites
Limitations
- →Requires manual user approval at every major step
- →Cannot proceed if the working directory is not clean
How it compares
Unlike manual patching, this skill enforces a strict branch-based workflow and requires explicit user approval for branch creation, code changes, and commits.
Compared to similar skills
fix-github-issue side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| fix-github-issue (this skill) | 1 | 6mo | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| git-advanced-workflows | 11 | 2mo | Review | Advanced |
| nx-workspace | 4 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by AgnosticUI
View all by AgnosticUI →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
nx-workspace
nrwl
Explore and understand Nx workspaces. USE WHEN answering any questions about the nx workspace, the projects in it or tasks to run. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What targets can I run?', 'What's affected by my changes?', 'Which projects depend on library Y?', or any questions about Nx workspace structure, project configuration, or available tasks.
rebase-pr
AztecProtocol
Rebase a PR on its base branch, fix conflicts, and verify build
resolve-pr-parallel
EveryInc
Resolve all PR comments using parallel processing. Use when addressing PR review feedback, resolving review threads, or batch-fixing PR comments.
workflow-patterns
wshobson
Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.