github-pr-workflow

Automate GitHub pull request lifecycle using gh CLI and git commands.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/HuskyDanny/hermes-agent-config --skill github-pr-workflow-huskydanny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/HuskyDanny/hermes-agent-config/tree/main/skills/github/github-pr-workflow
Command: npx skills add https://github.com/HuskyDanny/hermes-agent-config --skill github-pr-workflow-huskydanny

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manages the full pull request lifecycle, including branch creation, commit changes, opening PRs, monitoring CI status, auto-fixing failures, and merging. Automates tasks that would otherwise require manual intervention.

Core Features & Use Cases

  • Branch Creation: Automates the creation of branches for new features or fixes.
  • Commit Management: Assists with commit creation and conventional commit message formatting.
  • PR Creation: Automates the creation of pull requests with GitHub CLI or fallbacks to git + GitHub REST API.
  • CI Monitoring: Monitors the status of CI builds and can auto-fix certain failures.
  • Merging: Automates the merging of PRs with options for squash and rebase.

Quick Start

Create a new branch with the command: git checkout -b feat/new-feature && <Skill Command to Push and Create PR>

Frequently Asked Questions about github-pr-workflow

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

FAQPage Schema
How do I automate GitHub pull request lifecycle tasks like branch creation and merging?

Automating the GitHub pull request lifecycle handles branch creation, commit management, PR creation, CI monitoring, and merging. It uses gh CLI and git commands to eliminate manual intervention across these stages.

Can I monitor CI build status and auto-fix failures when automating a GitHub PR?

Yes, CI monitoring tracks build status during the pull request lifecycle and can auto-fix certain failures. This automated monitoring prevents stalled PRs waiting for manual intervention after a CI check fails.

Does this PR automation require GitHub CLI, or can I use git and the REST API?

This PR automation works with GitHub CLI but also supports fallbacks using git and the GitHub REST API. Both methods require GitHub authentication to manage branches, commits, and pull requests successfully.

What's the best way to format commit messages when automating GitHub pull requests?

Automating GitHub pull requests includes commit management that assists with conventional commit message formatting. This ensures commit history consistency when creating branches and pushing changes for PR automation.

Can I automate squash and rebase merges for GitHub pull requests?

Yes, automating the merging of GitHub pull requests supports options for both squash and rebase. This handles the final PR lifecycle stage after CI monitoring passes and branch conflicts are resolved.

Why do I need GitHub authentication for git-based PR lifecycle automation?

GitHub authentication is required for PR lifecycle automation because creating pull requests, monitoring CI status, and merging branches via gh CLI or REST API demands authorized access to your repository.