/jstack:modernizefrom jstack
Evaluates and updates stale PRs by rebasing, resolving conflicts, and assessing whether the PR's intent still aligns with the current codebase. Use when asked to rebase or modernize a PR.
Ships in jstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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-pr-comments skill for every comment posted on the user's behalf.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 main, rather than assuming the local branch is current. Record the
merge base so the original PR and subsequent 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:
Do not describe a PR as current merely because Git reports no conflicts.
Use one of these recommendations:
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. Confirm that 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 rather than overwriting new work.Do not merge the PR.
Lead with MODERNIZE, REWORK, or CLOSE and the reason. Then summarize:
Separate observed facts from judgment. Say what could not be verified instead of manufacturing confidence.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
4 plugins ship this exact skill · first indexed Nov 10, 2026
20 skills in this plugin
/babysit-prMonitor a pull request through review and CI. Use when the user asks to monitor, watch, or babysit a PR./bugTake an upstream bug, in a tool we use but do not own such as T3 Code, from first error to merged fix. Use when an error comes from upstream code, or when asked to check for an upstream issue, file one, or propose its fix./ci-retroMake a repository's CI faster from its own run history, then keep it fast. Use when CI is slow, queued, flaky or cold-cached, when auditing CI performance, or after a session that spent its time waiting on or retrying CI.npx claudepluginhub justcarlson/jstack --plugin jstack