Bring a stale pull request up to date and decide whether it should still exist. Use for /modernize.
Ships in lrstanley. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Modernize the idea, not just the branch. A clean rebase does not prove that the PR still belongs in the product.
--force-with-lease against the head SHA
observed before the rebase.leaving-gh-comments skill.Resolve the PR and record its URL, state, base, head repository and branch, current head SHA, author, checks, and review state. Read the title, body, linked issues, commits, review threads, and complete diff. State the smallest coherent goal the PR was trying to accomplish before judging its implementation.
Fetch the latest remote base and PR head. Use the PR's actual base branch,
usually master or main, rather than trusting the local copy. Record the
merge base so the original PR and later base-branch changes can be compared
separately.
Inspect commits and diffs added to the base branch since the PR diverged. Search merged and open PRs when titles, code paths, or behavior suggest a replacement or competing implementation.
Look beyond overlapping lines:
A PR is current only when these questions come back clean. Git reporting no conflicts answers none of them.
Pick one:
Be willing to recommend CLOSE. Age alone is not evidence, and sunk effort is
not a reason to keep a PR alive.
For a MODERNIZE disposition:
git range-diff
and inspect the final diff. Done when no intentional behavior disappeared
and no already-landed behavior was reintroduced.--force-with-lease tied to the previously observed remote head.
If the lease fails, fetch and reassess.Lead with MODERNIZE, REWORK, or CLOSE and the reason. Then summarize:
Separate observed facts from judgment, and say what could not be verified.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/lrstanley:modernizefrom lrstanley
npx claudepluginhub lrstanley/skills --plugin lrstanley25 skills in this plugin
/apply-worktreeLand the current git worktree's commits onto the main worktree's default branch, verify, and clean up. Use for /apply-worktree./babysit-prWatch a pull request through CI and review bots, fix real findings, and keep it rebased until it is ready. Use for /babysit-pr./documentation-writerCreates high-quality technical documentation using the Diataxis framework. Use when writing tutorials, how-to guides, reference material, or explanations for software projects./file-prFile a concise pull request that leads with the problem, not an inventory of changes. Use for /file-pr./frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./golangExpert Go developer. Use when building Go applications, designing interfaces, writing tests, profiling, working with goroutines, HTTP servers/clients, error handling, tracing, CLI tools, generics, caching, writing Go documentation, structured logging, and more.