github-pr-workflow

Automate GitHub pull request lifecycle using gh CLI or REST API.

Updated May 8, 2026
One-click install
npx skills add https://github.com/gztcode/my-skills --skill github-pr-workflow-gztcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/gztcode/my-skills/tree/main/github-pr-workflow
Command: npx skills add https://github.com/gztcode/my-skills --skill github-pr-workflow-gztcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git, curl, python3, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Manages the full GitHub Pull Request lifecycle from branch creation to merge, ensuring smooth and efficient code reviews and deployments.

Core Features & Use Cases

  • Branch Creation: Automates branch creation based on commit messages and provides guidelines for naming conventions.
  • Commit Management: Facilitates commits using file tools and ensures they follow conventional commit message standards.
  • PR Creation: Automates PR creation and configuration with the option for manual adjustments.
  • CI/CD Monitoring: Monitors the status of CI/CD checks for each PR and provides feedback.
  • Auto-Fix CI Failures: Identifies and fixes CI failures by analyzing logs and applying patches.
  • Merge Management: Handles PR merges and provides options for squash and rebase merges.
  • Use Case: A developer working in a team on GitHub can use this Skill to automate repetitive tasks involved in the pull request process, from initial commit through merging and deployment.

Quick Start

Use the 'github-pr-workflow' skill to automatically open a pull request from a new branch named 'fix/login-redirect-bug'.

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 the GitHub Pull Request lifecycle from branch creation to merge?

You can automate the GitHub Pull Request lifecycle by using the 'gh' CLI or 'git + GitHub REST API' via 'curl' to manage branch creation, commit standards, PR setup, CI/CD checks, and merging.

Can I automatically fix CI failures when monitoring GitHub Pull Requests?

Yes, you can automatically fix CI failures by analyzing CI logs and applying patches directly to the Pull Request, ensuring continuous integration checks pass before proceeding to merge.

Does this PR workflow support squash and rebase merges for team projects?

Yes, this PR workflow supports squash and rebase merges for team projects. It handles PR merges and provides configuration options to maintain clean commit histories during deployment.

How do I enforce conventional commit message standards before creating a GitHub PR?

You can enforce conventional commit message standards by using file tools during the commit phase, which ensures your branch history complies with guidelines before automated PR creation.