sundial-org/awesome-openclaw-skills

github-pr

Fetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged.

First seen Mar 4, 2026

Installation

$ npx skills add sundial-org/awesome-openclaw-skills --skill github-pr

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from sundial-org/awesome-openclaw-skills · top by installs.

npx skills add sundial-org/awesome-openclaw-skills

Browse all from sundial-org/awesome-openclaw-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 660
License LICENSE
Default branch main
Open issues 12
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
clawdhub
{"emoji":"🔀","requires":{"bins":["gh","git"]}}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,751 B
  • docs SUMMARY.md 121 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

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)