github-pr-workflow

Automate GitHub Pull Request lifecycle operations using gh, git, and curl.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill github-pr-workflow-nitish-gitbit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/NITISH-gitbit/hermes-custom/tree/main/skills/github/github-pr-workflow
Command: npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill github-pr-workflow-nitish-gitbit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manages the complete GitHub Pull Request lifecycle with automated commands for branching, commits, PR creation, CI monitoring, merging, and auto-fixing CI failures.

Core Features & Use Cases

  • PR Lifecycle Automation: Handles every step of the Pull Request process with script execution.
  • Branch & Commit Creation: Automated setup for new PRs including branch creation and commit management.
  • CI/CD Integration: Monitors Continuous Integration statuses and allows for automated PR merging upon success.
  • Security and Validation: Implements environment checks, security best practices, and error handling for a robust experience.
  • Use Case: Perfect for development teams using GitHub to streamline the contribution and review process of Pull Requests, enhancing collaboration and productivity.

Quick Start

Execute the workflow with 'github-pr-workflow init'.

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 management from the command line?

Automating GitHub Pull Request management involves using scripts to handle branch creation, commits, CI checks, and PR merging. The workflow initializes with 'github-pr-workflow init' and uses 'gh' or 'git' and 'curl' as fallback commands.

Can I automate PR merging based on CI check statuses?

Yes, you can automate PR merging based on CI check statuses. The workflow monitors Continuous Integration statuses and allows for automated PR merging upon success, ensuring that only validated code is integrated into the target branch.

Do I need the GitHub CLI installed to manage PRs with this workflow?

The workflow primarily uses the 'gh' command for GitHub Pull Request operations, but it also supports 'git' and 'curl' as fallback mechanisms. This ensures you can manage authentication, branch creation, and PR merging even without the GitHub CLI.

How does automated branch and commit creation work for new pull requests?

Automated branch and commit creation works by executing predefined scripts that set up a new branch and manage the commit process for your changes. This provides an automated setup for new PRs directly on your local repository.

What is the best way to handle CI failures during GitHub pull request automation?

The best way to handle CI failures during GitHub pull request automation is using the workflow's troubleshooting and auto-fixing capabilities. It implements error handling and predefined scripts to automatically address and resolve CI failures.

Are there security checks included when automating the pull request lifecycle?

Yes, security checks are included when automating the pull request lifecycle. The workflow implements environment checks and security best practices alongside error handling to ensure a robust and secure contribution process.