github-pr-workflow

Automate the GitHub Pull Request lifecycle from branch creation to merge.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill github-pr-workflow-ashiqcodeleaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/ashiqcodeleaf/long-Run-Agents/tree/main/skills/github/github-pr-workflow
Command: npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill github-pr-workflow-ashiqcodeleaf

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the GitHub Pull Request lifecycle, from branch creation to merge and cleanup, automating repetitive tasks and ensuring a smooth workflow.

Core Features & Use Cases

  • Branch Creation: Automates the creation of new feature branches with predefined naming conventions.
  • Commit Management: Guides through commit creation using conventional commit messages for better tracking.
  • PR Creation: Automates the creation of Pull Requests with customizable titles and bodies.
  • CI Monitoring: Monitors CI status and provides options to watch for completion or poll for updates.
  • Auto-Fix CI Failures: Offers a loop to diagnose and auto-fix CI failures, improving workflow reliability.
  • Merging: Provides options for merging Pull Requests, including squash and auto-merge configurations.
  • Complete Workflow Example: Offers a step-by-step guide to using the Skill in a real-world scenario.

Quick Start

Run the 'github-pr-workflow' skill to automate the PR workflow for your GitHub repository.

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 running a skill that manages branch creation, commits, PR creation, CI monitoring, and merging. It streamlines repetitive tasks using predefined naming conventions and conventional commit messages.

Can I automatically diagnose and fix CI failures in GitHub Actions?

Yes, you can automatically diagnose and fix CI failures in GitHub Actions. The workflow includes a monitoring loop that detects CI failures and offers automated diagnosis and fixing to improve pipeline reliability before merging.

Do I need the gh CLI to automate GitHub PR creation and merging?

You do not strictly need the gh CLI to automate GitHub PR creation and merging. The workflow supports authentication and automation using either the gh CLI or a combination of git and curl for repository access.

How does CI monitoring work during an automated GitHub Pull Request workflow?

CI monitoring during an automated GitHub Pull Request workflow tracks your CI/CD pipeline status. It provides options to continuously watch for completion or poll for updates, ensuring the PR is only merged after CI checks pass.

What are the prerequisites for automating pull request workflows with git and curl?

The prerequisites for automating pull request workflows with git and curl include authenticating with GitHub and having access to the repository's CI/CD pipelines. You also need the git and curl dependencies installed in your environment.

What is the best way to configure auto-merge for a GitHub Pull Request?

The best way to configure auto-merge for a GitHub Pull Request is to use an automated workflow that provides merging options like squash and auto-merge configurations. This ensures the PR merges automatically once CI checks complete successfully.