github-pr-workflow

Automate the GitHub pull request lifecycle from branch creation to merging.

228k|44.7k|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/NousResearch/hermes-agent --skill github-pr-workflow-nousresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/NousResearch/hermes-agent/tree/main/skills/github/github-pr-workflow
Command: npx skills add https://github.com/NousResearch/hermes-agent --skill github-pr-workflow-nousresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the entire pull request process on GitHub, from creating branches and committing changes to monitoring CI status, fixing failures, and merging, reducing manual effort and potential errors.

Core Features & Use Cases

  • Full PR Lifecycle Management: Automates branch creation, committing, PR opening, CI monitoring, auto-fixing failures, and merging.
  • Flexible Authentication: Works with the gh CLI or falls back to git and the GitHub REST API via curl.
  • Use Case: When you've finished developing a new feature, use this Skill to automatically create a new branch, commit your changes, open a pull request, watch its CI checks, and even attempt to fix any failures before merging it into the main branch.

Quick Start

Use the github-pr-workflow skill to create a pull request for your current branch.

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 a GitHub pull request workflow from branch creation to merge?

You can automate the complete GitHub pull request lifecycle, handling branch creation, committing changes, opening PRs, monitoring CI status, and merging. This reduces manual effort and potential errors throughout the development process.

Can I monitor CI status and auto-fix failures after opening a pull request?

Yes, you can monitor CI status and auto-fix failures after opening a pull request. The workflow watches CI checks and attempts to automatically resolve any failures before proceeding to merge the branch into the main branch.

Do I need the GitHub CLI installed to automate pull requests?

No, the GitHub CLI is not required to automate pull requests. The system supports the `gh` CLI but includes a flexible fallback method using `git` and the GitHub REST API via `curl` for environments without it.

What is the best way to manage a complete pull request lifecycle?

The best way to manage a complete pull request lifecycle is through end-to-end automation. This approach handles branch creation, committing changes, CI monitoring, auto-fixing failures, and merging, streamlining the entire process.

How do I commit changes and open a GitHub pull request automatically?

To commit changes and open a GitHub pull request automatically, you use a workflow that creates a new branch, commits your feature changes, and submits the PR. This eliminates manual git operations when finishing feature development.