github-pr

Fetch and merge GitHub pull requests into your local branch. Perfect for:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github-pr" with this command: npx skills add bjesuiter/skills/bjesuiter-skills-github-pr

GitHub PR Tool

Fetch and merge GitHub pull requests into your local branch. Perfect for:

  • Trying upstream PRs before they're merged

  • Incorporating features from open PRs into your fork

  • Testing PR compatibility locally

Prerequisites

  • gh CLI authenticated (gh auth login )

  • Git repository with remotes configured

Commands

Preview a PR

github-pr preview <owner/repo> <pr-number>

Shows PR title, author, status, files changed, CI status, and recent comments.

Fetch PR branch locally

github-pr fetch <owner/repo> <pr-number> [--branch <name>]

Fetches the PR head into a local branch (default: pr/<number> ).

Merge PR into current branch

github-pr merge <owner/repo> <pr-number> [--no-install]

Fetches and merges the PR. Optionally runs install after merge.

Full test cycle

github-pr test <owner/repo> <pr-number>

Fetches, merges, installs dependencies, and runs build + tests.

Examples

Preview MS Teams PR from clawdbot

github-pr preview clawdbot/clawdbot 404

Fetch it locally

github-pr fetch clawdbot/clawdbot 404

Merge into your current branch

github-pr merge clawdbot/clawdbot 404

Or do the full test cycle

github-pr test clawdbot/clawdbot 404

Notes

  • PRs are fetched from the upstream remote by default

  • Use --remote <name> to specify a different remote

  • Merge conflicts must be resolved manually

  • The test command auto-detects package manager (npm/pnpm/yarn/bun)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-pr

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

xcode

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

jb-refine-code

No summary provided by upstream source.

Repository SourceNeeds Review