Make Pr make-pr

Create Remix GitHub pull requests with clear, reviewer-friendly descriptions.

Use it when asked to open or prepare a PR, especially when it 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.

Works in Claude, ChatGPT, Codex and more
Our test
—
not tested yet
GitHub stars
34k
remix-run/remix
Added by
0
members
Updated
Dec 6
commit 5651744
Content
2 files
no scripts · 5 KB
License
MIT
free to use

What our test found

Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.

View on GitHub ↗
name: make-pr
description: Create Remix GitHub pull requests with clear, reviewer-friendly descriptions. Use when asked to open or prepare a PR, especially when it 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.

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

  1. Check the fast-path blockers first.
  • Check git status --short --branch and git branch --show-current before doing deeper prep.
  • If the repo is in a detached HEAD or worktree state and the user wants a PR opened, create a branch early.
  1. 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 git diff --stat plus the relevant diff over broad repo archaeology when the change is small.
  • If the user supplies a report, issue, or related PR, treat that as the primary context source.
  1. 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.
  1. 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 make-changes skill instead of re-deriving that workflow here.
  1. 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.
  1. 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.
  1. Exclude redundant sections.
  • Do not include Validation, Testing, or other process sections that are already implicit in PR workflow.
  • Do not add boilerplate sections that do not help review.
  1. 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 gh pr create fails, leave the branch pushed when possible and give the user a ready-to-open compare URL plus the prepared title/body details.
  1. Add Remix developer PRs to the roadmap.
  • Only run this step when PR creation succeeded and git remote get-url origin points to github.com/remix-run/remix (SSH or HTTPS) and the created PR is in remix-run/remix. Skip it silently for forks or when the origin cannot be verified.
  • Read the GitHub author with gh pr view <pr-url> --json author --jq '.author.login'.
  • Get the current members of the remix-run/remix-developers team with gh api orgs/remix-run/teams/remix-developers/members --paginate --jq '.[].login'
  • If the team lookup fails or the PR author is not in the list, skip the rest of this step and do not assign an author or project.
  • Assign the remix-developers team member author with gh pr edit <pr-url> --add-assignee <author-login>. Report failures.
  • Before using gh project, check for the write-capable project scope with gh auth status -h github.com --json hosts --jq '[.hosts["github.com"][] | select(.active and .state == "success") | .scopes | split(", ") | index("project") != null] | any'. If it is missing, skip the project commands and report that gh auth refresh -h github.com -s project is needed.
  • Find the project titled exactly Remix Roadmap in gh project list --owner remix-run, then add the PR with gh project item-add <project-number> --owner remix-run --url <pr-url>. Do not guess the project number. Report failures.
  • Set its Status to In Progress with gh project item-edit <project-number> --owner remix-run --url <pr-url> --field "Status" --value "In Progress". Report failures.

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.>

// New feature usage example

// Before

// After