github-pr-workflow

Guide GitHub Pull Request lifecycle with CI monitoring and merging.

9|3|Updated May 18, 2026
One-click install
npx skills add https://github.com/jordanhubbard/mac --skill github-pr-workflow-jordanhubbard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/jordanhubbard/mac/tree/main/src/mac/_hermes/skills/github/github-pr-workflow
Command: npx skills add https://github.com/jordanhubbard/mac --skill github-pr-workflow-jordanhubbard

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive guidance for managing GitHub Pull Request lifecycles, offering step-by-step instructions for creation, CI monitoring, merging, and more, saving developers time and improving workflow efficiency.

Core Features & Use Cases

  • PR Lifecycle Management: Offers instructions for branch creation, commit making, and PR creation using either the GitHub CLI (gh) or the git and curl fallback.
  • CI Status Monitoring: Provides detailed steps for monitoring Continuous Integration status using gh or custom git and curl scripts.
  • Auto-Fixing CI Failures: Includes a loop pattern to diagnose and fix CI failures when they occur.
  • Merge Options: Includes commands for manual merges, squash merges, and enabling auto-merges.

Quick Start

Execute the following command to create a new PR for the 'main' branch: gh pr create --title "New feature" --body "Detailed PR description" --base main

Frequently Asked Questions about github-pr-workflow

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

FAQPage Schema
How do I manage a GitHub pull request lifecycle from creation to merge?

You can manage a GitHub pull request by creating branches, committing code, and using the `gh` CLI to open, monitor CI pipelines, and merge. This process streamlines PR creation and status checks into a single workflow.

How do I monitor CI pipeline status for a pull request using gh?

To monitor CI status for a pull request, use the `gh` CLI or fallback `git` and `curl` scripts to check pipeline progress. This allows you to track Continuous Integration runs and view checks directly from your terminal.

Can I automatically fix CI failures after opening a GitHub pull request?

Yes, you can automatically fix CI failures by running a loop pattern that diagnoses issues when a pull request check fails. This automation assists in identifying errors and pushing fixes to update the GitHub PR.

Do I need a GitHub account and gh CLI to automate pull request workflows?

Yes, you need a GitHub account with appropriate repository permissions and the `gh` CLI installed. If `gh` is unavailable, you can fallback to standard `git` and `curl` commands to execute the pull request workflow.

What's the best way to merge a GitHub pull request after CI passes?

The best way to merge a GitHub pull request after CI passes is using `gh` commands for manual merges, squash merges, or by enabling auto-merge. This ensures code integration happens smoothly once pipeline checks succeed.

Why use the gh CLI instead of git and curl for GitHub PR management?

Using the `gh` CLI for GitHub PR management provides built-in commands for creation and CI monitoring, simplifying syntax compared to raw `git` and `curl` scripts. It streamlines pull request lifecycles with native GitHub integration.