Agent skill · software engineering · sundial-org
github-pr
Fetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged.
Why this skill is useful
Adds executable scripts for fetching, merging, and testing GitHub PRs locally, which are not standard commands in general Git usage.
What it needs
Requires gh, git installed locally. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
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 Shows PR title, author, status, files changed, CI status, and recent comments. Fetch PR branch locally Fetches the PR head into a local branch (default: pr/<number>). Merge PR into current branch Fetches and merges the PR. Optionally runs install after merge. Full test cycle Fetches, merges, installs dependencies, and runs build + tests. Examples 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)
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/github-pr