github-pr-workflow

Automate GitHub pull request lifecycle from branch creation to merging.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/LynxLabVN/office-agent --skill github-pr-workflow-lynxlabvn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-workflow
Source: https://github.com/LynxLabVN/office-agent/tree/main/agent-core/skills/github/github-pr-workflow
Command: npx skills add https://github.com/LynxLabVN/office-agent --skill github-pr-workflow-lynxlabvn

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Streamlines the GitHub Pull Request (PR) lifecycle by automating branch creation, committing changes, creating PRs, monitoring CI status, auto-fixing CI failures, and merging.

Core Features & Use Cases

  • Automated Branch Creation: Simplifies branch creation following standard naming conventions.
  • Commit Automation: Automates the staging and committing of files using agent file tools.
  • PR Creation: Handles PR creation with options for drafts, reviewers, and labels.
  • CI Monitoring: Tracks CI build status and provides feedback on checks.
  • Auto-Fix CI Failures: Offers a loop for diagnosing and fixing CI failures.
  • Merge Automation: Handles merging PRs and enabling auto-merge features.
  • Use Case: Efficiently manage the development process for a project by automating repetitive tasks such as PR creation and CI monitoring, saving time and reducing errors.

Quick Start

Activate the github-pr-workflow skill to initiate the PR lifecycle 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 GitHub PR creation and CI monitoring?

You can automate GitHub PR creation and CI monitoring by activating the skill to handle branch creation, commit staging, PR drafting, CI status tracking, auto-fixes, and merging.

Can I use gh CLI and curl to automate the GitHub PR lifecycle?

Yes, this skill supports automating the GitHub PR lifecycle using both the gh CLI and git with curl methods to interact directly with the GitHub API.

What is the best way to auto-fix CI failures on a GitHub pull request?

The best way to auto-fix CI failures is to use the skill's built-in loop for diagnosing build errors, applying fixes, committing changes, and re-monitoring CI status.

Do I need specific GitHub permissions to automate branch creation and PR merging?

Yes, you need appropriate repository access and GitHub permissions to create branches, push commits, trigger CI checks, and merge pull requests via the GitHub API.

How to automate adding reviewers and labels when creating a GitHub PR?

You can automate adding reviewers and labels by using the PR creation feature, which handles standard metadata options alongside automated commit staging and branch management.

Why does my automated PR workflow fail during CI checks?

Automated PR workflows may fail during CI checks due to build errors or test failures, which this skill attempts to resolve automatically through its CI failure diagnosis and fixing loop.