github-pr-workflow

Automate GitHub pull request lifecycle with Git and GitHub CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the full GitHub pull request lifecycle, automating tasks such as branch creation, commit changes, creating pull requests, monitoring CI status, fixing failures, and merging.

Core Features & Use Cases

  • Pull Request Automation: Create branches, commit changes, open PRs, and merge code changes automatically.
  • CI/CD Monitoring: Watch CI status, diagnose failures, and retry fixes if needed.
  • PR Management: Create and manage pull requests using gh CLI or fallback methods via curl.

Quick Start

To initiate the GitHub PR workflow, start with authenticating and checking if gh or git with GITHUB_TOKEN is available.

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

To automate the pull request lifecycle, use scripts that manage branch creation, commit changes, open PRs, monitor CI status, and merge code automatically using GitHub CLI and Git with robust error handling.

Can I monitor CI/CD pipeline status and fix failures automatically for a pull request?

Yes, you can monitor CI/CD pipeline status for a pull request automatically. The workflow watches CI status, diagnoses failures, and can retry fixes if needed, handling CI status monitoring with robust error handling throughout the process.

Do I need the GitHub CLI installed to create and manage pull requests via automation?

You need either GitHub CLI or Git with a GITHUB_TOKEN available. The workflow checks for GitHub CLI availability and can fall back to creating and managing pull requests via curl if the CLI is not present.

What is the best way to handle GitHub PR automation when the gh CLI is unavailable?

The best way to handle GitHub PR automation without the gh CLI is using fallback methods via curl. The workflow authenticates using Git and GITHUB_TOKEN, ensuring pull request management continues even without the GitHub CLI installed.

Why does my automated pull request workflow fail during CI status monitoring?

Automated pull request workflows may fail during CI status monitoring due to pipeline errors or authentication issues. The workflow includes robust error handling to diagnose CI failures and can automatically retry fixes to resolve the detected issues.