pr-workflow

List open GitHub PRs and fetch details via GitHub CLI.

5|3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ZHLX2005/fr --skill pr-workflow-zhlx2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-workflow
Source: https://github.com/ZHLX2005/fr/tree/main/.claude/skills/pr-workflow
Command: npx skills add https://github.com/ZHLX2005/fr --skill pr-workflow-zhlx2005

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PR workflow management helps teams efficiently view, review, and merge GitHub pull requests, reducing repetitive work and human errors.

Core Features & Use Cases

  • View Open PRs: List all open PRs for a repository.
  • PR Details: Retrieve and inspect changes, reviews, and metadata for a PR.
  • Merge PRs (squash): Squash-merge PRs and delete the feature branch to keep history tidy.
  • Cross-team Scenarios: Summarize PRs across multiple collaborators and guide next steps.

Quick Start

请列出仓库中所有打开的 PR,并选择一个要合并的 PR 进行 squash 合并并删除分支以完成合并。

Frequently Asked Questions about pr-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list and review open GitHub pull requests for a specific repository?

You can list all open pull requests for a specific GitHub repository and fetch detailed metadata, changes, and reviews for any selected PR to guide your next workflow steps.

Can I squash merge a GitHub pull request and delete the branch automatically?

Yes, you can squash merge a GitHub pull request and automatically delete the feature branch to keep the repository history tidy and remove obsolete branches.

Does this PR workflow tool require the GitHub CLI to function?

Yes, this PR workflow tool relies on the GitHub CLI (gh pr) with repository scoping (--repo) to execute commands like view, list, and merge --squash --delete-branch.

What is the best way to manage GitHub PRs across multiple collaborators?

Managing GitHub PRs across multiple collaborators involves listing open PRs, summarizing cross-team scenarios, and guiding next steps like reviewing or squash merging to reduce repetitive work.

Why does my GitHub PR merge action fail and how do I get guidance?

When a GitHub PR merge action fails, the workflow provides clear error guidance to help you troubleshoot the issue and successfully complete the pull request merge process.