github-pr-workflow

Automate GitHub Pull Request lifecycle with git and GitHub API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the GitHub Pull Request lifecycle, automating branch creation, commit management, CI monitoring, and merging processes.

Core Features & Use Cases

  • Branch Creation: Automates the creation of branches following conventional naming conventions.
  • Commit Management: Facilitates the staging and committing of changes using the agent's file tools.
  • CI Monitoring: Provides a mechanism to check CI status and re-trigger builds if necessary.
  • Merging: Automates the merging of pull requests, including squashing and auto-merge options.
  • Use Case: For a software development team, this Skill can automate the workflow of contributing code, reducing manual steps and potential errors.

Quick Start

Use the github-pr-workflow skill to create a new feature branch from 'main' and automatically open a pull request.

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 workflow from branch creation to merge?

To automate the GitHub Pull Request workflow, you need an authenticated git repository with a GitHub remote. This process handles branch creation, commit management, CI monitoring, and merging automatically.

Can I automatically check CI status and merge a pull request using the GitHub API?

Yes, you can automatically check CI status and merge a pull request using the GitHub API. This approach monitors CI builds, re-triggers them if necessary, and executes merges including squash and auto-merge options.

What is the best way to manage feature branch creation and commits for GitHub Pull Requests?

The best way to manage feature branch creation and commits is by automating the lifecycle. This method uses conventional naming for branches and stages changes automatically, reducing manual steps and potential errors.

Do I need authenticated GitHub access to automate pull request merging?

Yes, you need authenticated GitHub access to automate pull request merging. The automation operates on a local git repository with a configured GitHub remote to manage branches, commits, and merges.

Why does automated pull request merging fail when CI checks are still pending?

Automated pull request merging requires CI checks to pass before execution. The mechanism monitors CI status through the GitHub API and can re-trigger failed builds to ensure successful integration before merging.

Does the GitHub PR workflow automation support squash and auto-merge options?

Yes, GitHub PR workflow automation supports squash and auto-merge options. It streamlines the merging process by handling these configurations directly through the GitHub API after CI validation.