github-pr-workflow

Automate GitHub pull request workflows from branch creation to merge.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/megaplan --skill github-pr-workflow-peteromallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/peteromallet/megaplan/tree/main/megaplan/agent/skills/github/github-pr-workflow
Command: npx skills add https://github.com/peteromallet/megaplan --skill github-pr-workflow-peteromallet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the GitHub pull request lifecycle by automating repetitive PR tasks, reducing manual context switching and speeding up code reviews.

Core Features & Use Cases

  • Branch creation, commit automation, PR opening, and merge, all orchestrated through the gh CLI or GitHub REST API.
  • CI status monitoring and auto-fix workflows to respond to failing checks.
  • Use Case: teams coordinate multi-repo PRs and automated gating for release readiness.

Quick Start

Invoke this skill to initialize and automate a GitHub PR workflow from branch creation to merge using the gh CLI or REST API.

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?

Automating the GitHub pull request lifecycle is done by orchestrating branch creation, commits, PR opening, CI monitoring, and merge actions through the gh CLI or GitHub REST API. This reduces manual context switching and speeds up code reviews.

Can I use the gh CLI to monitor CI status and apply fixes to failing pull requests?

Yes, you can use the gh CLI to monitor CI status and trigger auto-fix workflows. The automation detects failing checks on your pull request and applies fixes directly to the branch to satisfy automated gating requirements.

Do I need a GitHub API token to automate pull request workflows across multiple repositories?

You need GitHub authentication, either through the gh CLI or a valid GitHub API token, along with the necessary repository permissions. This allows the automation to coordinate multi-repo PRs and enforce release readiness.

What is the best way to coordinate automated gating and code reviews for multi-repo PRs?

The best way to coordinate automated gating and code reviews for multi-repo PRs is to use an orchestration skill that automates PR creation and CI monitoring. This ensures release readiness across multiple repositories and CI backends.

Does this PR automation work with both CLI and REST API paths for GitHub?

Yes, the PR automation supports both CLI and REST API paths for GitHub. It orchestrates the end-to-end workflow using either the gh CLI or the GitHub REST API, depending on your environment and access preferences.

When should I not use automated workflows for GitHub pull requests?

You should not use automated workflows for GitHub pull requests if you lack valid GitHub authentication, the necessary repository permissions, or if your CI backend does not support status monitoring and automated gating triggers.