release-react-router
FreeNo executable scriptsNot checkedPerform React Router releases through the generated release PR, from readiness review through merge and verification of npm versions, dist-tags, git tags, and…
by remix-run★ 56,659 GitHub starsAbout this skill
Release React Router
Use the existing release automation. Read DEVELOPMENT.md, .github/workflows/release.yml, and scripts/changes/{pr,publish}.ts for the current process and tag rules. This skill covers generated release PRs; experimental releases use a separate workflow.
A request to perform a release authorizes merging the verified PR and following publication. A readiness-only request stops with the review. Creating or editing this skill does not authorize a live release.
Review the release PR
- Find the generated release PR in
remix-run/react-router, targetingmainby default or the requestedv7/existinghotfixbranch. Confirm its source repository and generated branch matchscripts/changes/pr.ts. Attach the PR to the chat when the app provides that tool. - Record the exact head SHA and current base tip. Require the candidate to contain that tip; otherwise wait for automatic PR regeneration and review the updated head. Use GitHub APIs or fetched Git objects to inspect files without changing the user's checkout.
- Review the diff for the expected package version bumps, root/package changelogs, deleted pending change files, and consumption of
scripts/changes/whats-changed.mdwhen present. Confirm the notes represent the pending changes and preserve any manual narrative. Under the current generator, package manifests change only their version; investigate extra paths or fields. - Capture the expected package/version pairs and their npm/git tags from the candidate and current publish script. Discover the package set and versions each run. For non-main releases, record GitHub's current latest release ID before merging so it can be checked afterward.
- Use PR CI for build, test, typecheck, lint, and integration validation. Check all required and applicable jobs on the reviewed head/test merge, accounting for current workflow path filters and intentional matrix skips. Pending, failed, canceled, missing, or stale checks hold the release. No local dependency install, build, packing, consumer smoke, or regeneration is part of the normal release review.
Report ready/hold with any blockers, the reviewed SHA, and CI evidence. For an authorized release, continue directly when ready. Fix source notes on the base through the normal process if authorized; let automation regenerate the release PR instead of editing its branch.
Merge and follow the workflow
Refresh the PR, base tip, reviews, mergeability, and checks immediately before merging. If the reviewed head or base changed, review the updated candidate first. Honor branch protection and blocking reviews.
Briefly state the version, PR, and verified SHA, then merge with a supported strategy and a head guard. For example, when squash merge is enabled:
gh pr merge <number> --repo remix-run/react-router --squash --match-head-commit <reviewed-head-sha>Do not use
--adminor enable unattended auto-merge while readiness is incomplete. If queued, follow the queue until the PR is actually merged. Capture the resulting merge SHA; check that its tree contains the reviewed release changes against the reviewed base, since the head guard does not freeze the base.Follow the
release.ymlpush run on the intended branch at that merge SHA. Use waits of at most 60 seconds and report meaningful progress. Confirm readiness selected publication, then follow Publish and the applicable release-comment job. A skipped Publish job or PR-regeneration path needs investigation.
The merge triggers stable publication. Keep publishing in the workflow; do not run local publish commands or dispatch the experimental job for this release.
Verify publication
After Publish completes, verify the external artifacts with read-only npm, git, and gh commands:
- For every expected package, query the exact version and its dist-tag against
https://registry.npmjs.org. For example,npm view '<package>@<version>' version --json --registry=https://registry.npmjs.organdnpm view '<package>' dist-tags --json --registry=https://registry.npmjs.org. Require the version to exist and the intended tag to point to it. Registry/network errors are inconclusive, not evidence of a missing or successfully published version. - Verify every remote
<package-name>@<version>git tag resolves to the merge SHA, peeling annotated tags when needed. Check the remote, not cached local tags. - Verify the
react-router@<version>GitHub release exists, is published rather than draft/prerelease, is namedv<version>, and links to this version's changelog. Formain, confirm it is GitHub's latest release; for other branches, confirm the previously recorded latest release was not displaced.
Current rules: main and hotfix use npm latest; v7 uses version-7 except react-router-dom, which uses latest. All published packages get git tags, including scoped packages. O
Install release-react-router in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the release-react-router skill do?
Perform React Router releases through the generated release PR, from readiness review through merge and verification of npm versions, dist-tags, git tags, and the GitHub release. Also use for release-readiness reviews or following an already merged release through publication.
How do I install the release-react-router skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the release-react-router skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic