github-pr
SolidFetch, preview, merge, and test GitHub PRs locally. Great for trying upstream PRs before they're merged.
Code & Development 3 stars
1 forks Updated yesterday Apache-2.0
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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
```bash
github-pr preview <owner/repo> <pr-number>
```
Shows PR title, author, status, files changed, CI status, and recent comments.
### Fetch PR branch locally
```bash
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
```bash
github-pr merge <owner/repo> <pr-number> [--no-install]
```
Fetches and merges the PR. Optionally runs install after merge.
### Full test cycle
```bash
github-pr test <owner/repo> <pr-number>
```
Fetches, merges, installs dependencies, and runs build + tests.
## Examples
```bash
# 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)
Details
- Author
- Silex-Research
- Repository
- Silex-Research/DontPanic
- Created
- 4 months ago
- Last Updated
- yesterday
- Language
- Python
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
review-github-pr
GitHub PR code review - fetches the diff, runs automated checks, launches 3 parallel review agents (correctness, convention compliance, efficiency) to analyze changes, validates findings against actual code, and drafts a GitHub review. Use when reviewing pull requests. Triggers on "review this PR", "review PR
31 Updated 3 days ago
tenequm Code & Development Featured
merge-pr
Merge a pull request with status checks, squash merge, and branch cleanup. Handles worktree contexts.
421 Updated today
joshukraine AI & Automation Listed
github-pr-workflow
GitHub PR lifecycle: branch, commit, open, CI, merge.
3 Updated today
Jessinra