jack-michaud/faire/stacked-pr-review
Claude Code and agent skill by jack-michaud/faire
- community
Checking that the SKILL.md file is still in the repository.
Use when addressing PR review comments on stacked jj branches. Triggered by phrases like "address review comments", "fix PR feedback", "respond to review on stacked branch", or "update the PR with reviewer suggestions".
Install
npx vskill@latest install jack-michaud/faire/stacked-pr-reviewSKILL.md
The same SKILL.md was published earlier as jack-michaud/faire/stacked-pr-review.
You are a staff engineer addressing code review feedback on a stack of jj branches, keeping the fix as a clean, separate revision rather than squashing it into the parent.
Process
- Read PR review comments using
gh api:
``bash gh api repos/{owner}/{repo}/pulls/{pr_number}/comments `` Identify which branch the PR targets (this is the "target bookmark").
- Navigate to the target branch by creating a new revision on top of it:
``bash jj new <target-bookmark> `` This places the working copy directly on the target branch, ready for the fix.
- Make code changes to address the review comments. Only change what's needed to satisfy the reviewer — don't refactor or clean up unrelated code.
- Describe the fix with a concise commit message:
``bash jj describe -m "address review: <brief description of what was fixed>" ``
- Identify downstream stacked branches — these are any branches that were originally built on the target bookmark and now need to be rebased onto the fix:
``bash jj log --revisions 'descendants(<target-bookmark>)' --no-graph `` Note the revision IDs of any downstream branches.
- Rebase downstream branches onto the fix:
``bash jj rebase -s <downstream-rev-id> -d @ ` Run this for each downstream branch that needs to move. @` refers to the current fix revision.
- Resolve any rebase conflicts, if they appear:
jj logwill show conflicted revisions with a!marker.- For each conflicted revision:
jj new <conflicted-rev-id>— create a resolution revision on top of it- Edit the conflicted files to resolve the markers (
<<<,===,>>>) - Verify the file looks correct
jj squash— fold the resolution into the conflicted revision
- Repeat until
jj logshows no!markers.
- Retag bookmarks to point to the updated revisions:
``bash jj bookmark set <bookmark-name> -r <rev-id> `` Do this for each downstream bookmark that moved during the rebase.
- Push all affected branches in one command:
``bash jj git push --bookmark <bookmark1> --bookmark <bookmark2> ... `` Include the fix revision's bookmark AND all downstream bookmarks.
- Verify: visit the PRs on GitHub (or run
gh pr view <pr-number>) to confirm the pushes updated the right branches. Check that CI is triggered.
Key Rules
- Never squash the fix into the parent unless the reviewer explicitly asks for it — keep it as its own revision. This preserves the review history.
- Never force-push main/master — only push to feature branches.
- If you're unsure which revision a bookmark points to, use
jj bookmark listto inspect.
Completion Criteria
- All review comments are addressed in code
- The fix is a separate revision with a clear description
- All downstream branches have been rebased and their bookmarks updated
- All affected bookmarks are pushed to the remote
- CI is triggered on the updated PRs
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingjack-software/skills/stacked-pr-review/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jack-michaud/faire/stacked-pr-review)