gh

Manage GitHub pull requests, issues, and CI runs via the gh CLI.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/jamesacarr/pi-agent-stuff --skill gh-jamesacarr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/jamesacarr/pi-agent-stuff/tree/main/skills/gh
Command: npx skills add https://github.com/jamesacarr/pi-agent-stuff --skill gh-jamesacarr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines your GitHub workflow by automating the management of pull requests, issues, and CI/CD pipeline runs, saving you time and reducing manual errors.

Core Features & Use Cases

  • PR Management: Create, view, merge (squash), and comment on pull requests.
  • Issue Tracking: List, view, create, and label GitHub issues.
  • CI/CD Monitoring: Check the status of workflow runs and rerun failed jobs.
  • Use Case: Automatically create a pull request for a new feature, ensure it passes all CI checks, and then squash merge it into the main branch.

Quick Start

Use the gh skill to create a pull request with the title "Add new feature" and fill the body from the first commit.

Frequently Asked Questions about gh

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

FAQPage Schema
How do I automate GitHub pull request creation and merging?

Automating GitHub pull requests involves using the gh CLI to create, review, comment on, and squash merge PRs. This Skill facilitates automated PR management by handling these operations programmatically, reducing manual effort and errors.

What is the best way to manage GitHub issues via command line?

Managing GitHub issues via command line requires the gh CLI to list, view, create, and label issues. This approach automates issue tracking directly from your terminal, streamlining project management tasks.

Can I check CI/CD workflow status and rerun failed jobs using gh CLI?

Yes, checking CI/CD workflow status and rerunning failed jobs is possible using the gh CLI. This Skill monitors workflow runs and triggers reruns for failed jobs, ensuring continuous integration pipelines remain healthy.

Do I need GitHub authentication to automate pull request and issue tasks?

Yes, GitHub authentication is required to automate pull request and issue tasks. You must install the gh CLI and complete the authentication process before managing PRs, issues, or CI runs.

How do I create a pull request with commit details automatically?

Creating a pull request with commit details automatically uses the gh CLI to extract the first commit body and populate the PR description. This streamlines the workflow by generating PR content directly from commit history.