fix-github-issue

Resolve GitHub issues end-to-end from ticket to pull request.

42|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/drvoss/everything-copilot-cli --skill fix-github-issue-drvoss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-github-issue
Source: https://github.com/drvoss/everything-copilot-cli/tree/main/skills/development/fix-github-issue
Command: npx skills add https://github.com/drvoss/everything-copilot-cli --skill fix-github-issue-drvoss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually handling GitHub issues—from understanding the problem to fixing code, testing, and creating a pull request—requires many repetitive steps and context switching.

Core Features & Use Cases

  • Issue Retrieval: Reads the full issue and comments via the GitHub MCP server.
  • Root Cause Search: Uses git grep and log to locate the relevant code.
  • Branch Creation & Testing: Generates a dedicated branch, writes a failing test, applies the fix, and validates with test suites.
  • Commit & PR Automation: Commits with proper references and opens a PR using the gh CLI. Ideal for developers who want to close backlog bugs or good‑first‑issues directly from the terminal.

Quick Start

Invoke the fix‑github‑issue skill with the issue number to automatically create a branch, write tests, apply the fix, and open a pull request.

Frequently Asked Questions about fix-github-issue

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

FAQPage Schema
How do I automate fixing a GitHub issue from the terminal?

To automate fixing a GitHub issue from the terminal, use this skill with a valid issue number to read the ticket, create a branch, apply a fix, run tests, and open a pull request automatically.

Can I resolve GitHub issues end-to-end using the gh CLI?

Yes, you can resolve GitHub issues end-to-end using the gh CLI. The skill reads issue details, searches code via git grep, writes tests, and opens a pull request through the GitHub MCP server or gh CLI.

Do I need a local git environment and test framework to automate GitHub issue resolution?

Yes, you need a local git environment with write access to the repository and an optional test framework. These are required to generate a dedicated branch, validate the fix, and commit with proper references.

What's the best way to close backlog bugs and good-first-issues directly from the terminal?

The best way to close backlog bugs and good-first-issues from the terminal is invoking this skill with an issue number to automate root cause search, branch creation, testing, and pull request opening.

How does automated issue retrieval and root cause search work for GitHub pull requests?

Automated issue retrieval reads the full issue and comments via the GitHub MCP server, then root cause search uses git grep and git log to locate the relevant code before applying a fix and opening a pull request.