Remix make-pr
Create GitHub pull requests with clear, reviewer-friendly descriptions. Use when asked to open or prepare a PR, especially when the PR needs strong context, related links, and feature usage examples. This skill enforces concise PR structure, avoids redundant sections like validation/testing, and creates the PR with gh CLI.
install
source · Clone the upstream repo
git clone https://github.com/remix-run/remix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/remix-run/remix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/make-pr" ~/.claude/skills/remix-run-remix-make-pr && rm -rf "$T"
manifest:
.agents/skills/make-pr/SKILL.mdsource content
Make PR
Overview
Use this skill to draft and open a PR with consistent, high-signal writing. Keep headings sparse and focus on the problem/feature explanation, context links, and practical code examples. Optimize for the shortest path to a credible PR, not the fullest possible context-gathering pass.
Workflow
- Check the fast-path blockers first.
- Check
andgit status --short --branch
before doing deeper prep.git branch --show-current - If the repo is in a detached HEAD or worktree state and the user wants a PR opened, create a branch early.
- Gather only the context needed to write the PR.
- Capture what changed, why it changed, and who it affects.
- Find related issues/PRs and include links when relevant.
- Prefer
plus the relevant diff over broad repo archaeology when the change is small.git diff --stat - If the user supplies a report, issue, or related PR, treat that as the primary context source.
- Get the branch into a PR-ready state quickly.
- If changes are still uncommitted and the user wants a PR, branch first, then commit.
- Prefer a single clean commit unless the user asks for a different history shape.
- Check whether this PR also needs a change file.
- Do not assume every PR needs one.
- Before opening the PR, decide whether the change is user-facing enough to require release notes in
.packages/*/.changes - If a change file is needed or likely needed, use the
skill instead of re-deriving that workflow here.make-change-file
- Draft the PR body with minimal structure.
- Start with 1-2 short introductory paragraphs.
- After the intro, include clear bullets describing:
- the feature and/or issue addressed
- key behavior/API changes
- expected impact
- If the change is extensive, expand to up to 3-4 paragraphs and include background context with related links.
- Add required usage examples for feature work.
- If the PR introduces a new feature, include a comprehensive usage snippet.
- If it replaces or improves an older approach, include before/after examples.
- Exclude redundant sections.
- Do not include
,Validation
, or other process sections that are already implicit in PR workflow.Testing - Do not add boilerplate sections that do not help review.
- Create the PR.
- Save the body to a temporary file and run:
gh pr create --base main --head <branch> --title "<title>" --body-file <file>
- If
fails, leave the branch pushed when possible and give the user a ready-to-open compare URL plus the prepared title/body details.gh pr create
Body Template
Use this as a base and fill with concrete repo-specific details:
<One or two short intro paragraphs explaining the change and why it matters.> - <Feature/issue addressed> - <What changed in behavior or API> - <Why this is needed now> <Optional additional context paragraph(s), up to 3-4 total for large changes, including links to related PRs/issues.> ```ts // New feature usage example ``` ```ts // Before ``` ```ts // After ```