fix-issue

Analyze, reproduce, and fix GitHub issues with gh CLI, git, and pytest.

401|41|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/imbue-ai/mngr --skill fix-issue-imbue-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-issue
Source: https://github.com/imbue-ai/mngr/tree/main/.claude/skills/fix-issue
Command: npx skills add https://github.com/imbue-ai/mngr --skill fix-issue-imbue-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git, pytest, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of diagnosing, reproducing, and fixing GitHub issues, reducing manual debugging time.

Core Features & Use Cases

  • Issue Analysis: Fetches detailed issue information from GitHub to understand the problem.
  • Reproduction & Investigation: Guides users to replicate the issue locally and identify root causes.
  • Automated Fixes & PR Creation: Implements code fixes, runs tests, and generates pull requests to resolve issues efficiently.
  • Use Case: For example, when a developer encounters a bug, this Skill automates reproduction and basic debugging, then proposes a fix via a pull request.

Quick Start

Provide a GitHub issue number or URL and let the Skill handle the diagnosis and fix process.

Frequently Asked Questions about fix-issue

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

FAQPage Schema
How do I automate GitHub issue resolution and bugfixing?

Automating GitHub issue resolution involves fetching issue details, reproducing the bug locally, and generating code fixes. This Skill automates that workflow, using pytest to validate fixes and git to create pull requests for efficient bug tracking and code correction.

Can I automatically generate pull requests from GitHub issues?

Yes, automatically generating pull requests from GitHub issues is possible. This Skill analyzes the issue, implements the necessary code fix, runs tests to validate the change, and uses the gh CLI to open a pull request directly from the resolved issue.

Do I need pytest and gh CLI to automate debugging workflows?

Yes, pytest and gh CLI are required dependencies to automate debugging workflows. The gh CLI fetches issue data and creates pull requests, git handles version control, and pytest validates the automated code fixes before deployment.

What is the best way to reproduce a bug from a GitHub issue locally?

The best way to reproduce a bug from a GitHub issue is to fetch its detailed information, isolate the reported behavior, and replicate it in your local environment. This Skill guides users through local reproduction to identify root causes before applying fixes.

Does automated issue fixing work for complex software maintenance workflows?

Automated issue fixing works for software maintenance workflows involving bug tracking and code correction. This Skill diagnoses and resolves bugs efficiently, though highly complex or architectural issues may require manual developer intervention after initial reproduction.

Why use automated issue resolution instead of manual debugging in git?

Automated issue resolution reduces manual debugging time by handling issue analysis, reproduction, and fixing in sequence. Unlike manual debugging, it streamlines the workflow by automatically running pytest and generating a pull request once the fix is validated.