Checkout PR
Add a remote for a given PR's head repository and checkout a local pr-xxx-work branch. Use when the user wants to work on someone else's PR locally.
Install
npx skills add hw-native-sys/simpler --skill checkout-prgit clone --depth 1 https://github.com/hw-native-sys/simpler.git /tmp/simpler
mkdir -p ~/.claude/skills
cp -r /tmp/simpler/.claude/skills/checkout-pr ~/.claude/skills/checkout-prPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Checkout PR Workflow Add a remote for a PR's head repository (if not already added) and checkout a local working branch. ## Input Accept PR number (`123`, `#123`). Required. ## Setup 1. [Setup](../../lib/github/setup.md) — authenticate and detect context (role, remotes, state) ## Step 1: Fetch PR Metadata ```bash PR_DATA=$(gh pr view $PR_NUMBER --repo "$PR_REPO_OWNER/$PR_REPO_NAME" --json \ number,title,headRefName,headRepository,headRepositoryOwner,\ baseRefName,state,maintainerCanModify,author) HEAD_BRANCH=$(echo "$PR_DATA" | jq -r '.headRefName') HEAD_REPO_OWNER=$(echo "$PR_DATA" | jq -r '.headRepositoryOwner.login') HEAD_REPO_NAME=$(echo "$PR_DATA" | jq -r '.headRepository.name') PR_AUTHOR=$(echo "$PR_DATA" | jq -r '.author.login') MAINTAINER_CAN_MODIFY=$(echo "$PR_DATA" | jq -r '.maintainerCanModify') PR_STATE=$(echo "$PR_DATA" | jq -r '.state') ``` Validate PR state: OPEN (continue), CLOSED (warn user), MERGED (exit). ## Step 2: Add Remote (if needed) If the PR head is on the canonical repo (`$HEAD_REPO_OWNER == $UPSTREAM_OWNER`), use the existing `upstream` remote. Otherwise, use the PR author's username as the remote name.
Details
- Skill name
checkout-pr- Repository
- hw-native-sys/simpler
- Path
.claude/skills/checkout-pr/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Checkout PR skill do?
Add a remote for a given PR's head repository and checkout a local pr-xxx-work branch. Use when the user wants to work on someone else's PR locally.
How do I install the Checkout PR skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add hw-native-sys/simpler --skill checkout-pr. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Checkout PR popular?
It lives in hw-native-sys/simpler, which has 49 GitHub stars and 102 forks.
Related skills
Benchmark
49hw-native-sys/simpler
Benchmark runtime performance on hardware. If the current branch has commits ahead of upstream/main or uncommitted changes, compares against the fork point (merge-base). Otherwise benchmarks current state only. Use when the user asks to benchmark, measure performance, or compare latency.
Clean Branches
49hw-native-sys/simpler
Remove stale local and remote git branches that have been merged into main. Detects regular merges and squash merges. Cleans up fork remote branches and prunes tracking refs. Use when the user asks to clean up branches, remove merged branches, or tidy up git.
Core Swimlane
49hw-native-sys/simpler
Produce a Core swimlane (the L0/intra-core AICore pipeline) for one task — a single kernel or a mix — via the dump-driven `simpler_setup.tools.core_swimlane` tool. Use when the user asks to "run/produce a core swimlane", "trace a task's intra-core pipeline", profile why one AICore task is slow inside the core(s), or needs help choosing the tool's manual flags (`--func-id`, `--restore-arg`, `--set-arg`, `--spmd-block-num`, `--case`). The tool captures real per-task args from an args dump and auto-generates the `msprof op simulator` replay — no hand-authored workspace. For a hand-authored single
Create Issue
49hw-native-sys/simpler
Create a GitHub issue following the project's issue templates. Classifies the issue type, fills required fields per template, and creates it via gh CLI. Use when the user wants to file a bug, request a feature, or create any GitHub issue.
Github
44iamclancyliang/nanobot-eino
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Dispatch
49lllyys/vreader
Parallel lane dispatch — the ONLY sanctioned multi-item fan-out (feature #130, rule 55). Use when the user asks to fix several bugs at once ('fix #a #b #c'), implement independent feature WIs in parallel, or run a dispatch batch. Orchestrates worktree-isolated implementer lanes on leased simulators, validates HANDOFFs, and runs the serial integration tail (rebase → re-test → tracker/docs → version-at-slot → PR → merge-from-worktree → tag). A single item degrades to the inline /fix-issue or /feature-workflow flow.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.