skills$openclaw/github-pr
dbhurley7.6k

by dbhurley

github-pr – OpenClaw Skill

github-pr is an OpenClaw Skills integration for data analytics workflows. Fetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged.

7.6k stars3.7k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namegithub-pr
descriptionFetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged. OpenClaw Skills integration.
ownerdbhurley
repositorydbhurley/github-pr
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @dbhurley/github-pr
last updatedFeb 7, 2026

Maintainer

dbhurley

dbhurley

Maintains github-pr in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
github-pr.py
7.9 KB
_meta.json
277 B
SKILL.md
1.7 KB
SKILL.md

name: github-pr description: Fetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged. homepage: https://cli.github.com metadata: clawdhub: emoji: "🔀" requires: bins: ["gh", "git"]

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)
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- `gh` CLI authenticated (`gh auth login`) - Git repository with remotes configured

FAQ

How do I install github-pr?

Run openclaw add @dbhurley/github-pr in your terminal. This installs github-pr into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/dbhurley/github-pr. Review commits and README documentation before installing.