fix-github-issues

Automate GitHub issue resolution with gh, git worktrees, and PR workflows.

4|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill fix-github-issues-laitszkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-github-issues
Source: https://github.com/LaiTszKin/apollo-toolkit/tree/main/fix-github-issues
Command: npx skills add https://github.com/LaiTszKin/apollo-toolkit --skill fix-github-issues-laitszkin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the end-to-end workflow of fixing remote GitHub issues by discovering issues, applying validated fixes, and delivering either a linked PR or a direct push, reducing manual toil and context-switching.

Core Features & Use Cases

  • Discover open issues in the target repository using GitHub CLI and curate a focused set for remediation.
  • Create an isolated worktree per issue, implement fixes via a guided debugging loop, validate locally, and preserve issue linkage for traceability.
  • Hand off results through the open-source-pr-workflow for PR submissions or through commit-and-push when direct pushes are explicitly requested.

Quick Start

List open issues with gh, select one, and start the end-to-end fix workflow to produce a PR or direct push.

Frequently Asked Questions about fix-github-issues

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixing GitHub issues and submitting a pull request?

This Skill automates end-to-end GitHub issue fixes by discovering issues with gh, applying validated patches in isolated git worktrees, and delivering results through a linked PR or direct push.

How does git worktree isolation help when resolving repository issues?

Git worktree isolation creates a separate working directory per issue, allowing you to implement and validate fixes independently without disrupting your main branch or other active development work.

Can I use this workflow to directly push fixes instead of creating a PR?

Yes, the workflow supports direct pushes. While it defaults to open-source-pr-workflow for PR submissions, you can explicitly request commit-and-push to deliver fixes directly to the repository.

Does this issue fixing workflow require the GitHub CLI to discover issues?

Yes, GitHub CLI (gh) is required. The workflow relies on gh to list and curate open issues in the target repository before creating isolated worktrees and applying validated fixes.

What is the best way to validate GitHub issue fixes before delivery?

The best way is using the built-in guided debugging routine, which tests changes locally within the isolated git worktree before handing off the results via a PR or direct push.

Can I apply this automated issue fix workflow to internal repositories?

Yes, it works for internal repositories. The workflow applies to any repository managed via gh, allowing you to discover issues, apply patches, and deliver fixes internally or to open-source projects.