/jj-workflow:finish-slicesfrom jj-workflow
Verifies and publishes Jujutsu slices, then cleans up workspaces, directories, and bookmarks after PR merges.
Ships in jj-workflow. 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.
None: SKILL.md is the whole skill.
Run from the default workspace. For every slice, verify its revisions are described, conflict-free, and all reachable from its bookmark:
jj log -r '<base>..<slice>' --no-graph --reversed -T 'change_id.short() ++ " " ++ description.first_line() ++ "\n"'
jj log -r '(<base>..<slice>) & (conflicts() | description(exact:""))'
jj log -r '(<slice>:: ~ <slice>) ~ working_copies() ~ ::(bookmarks() ~ <slice>)'
If needed, fetch and rebase the slice onto trunk() (or its child onto its
parent), then verify again. Fix an unadvanced bookmark only when its worker has
finished and the repair is mechanical.
Show the per-slice revision lists and parent-first push order; wait for explicit
approval before jj git push --bookmark <slice>. Stack child PRs on their
parent. When a parent merges, rebase and push its child, then retarget it to
main.
Keep a workspace while its PR may need changes. Once that PR merges:
jj git fetch
jj bookmark delete <slice> # or `jj bookmark forget` if the forge removed it
jj workspace forget <slice>
rm -rf "${HOME}/.jj-workspaces/<repo>/<slice>"
jj workspace list
Forget by name from the default workspace, never from the workspace being
forgotten. jj forget removes only jj's record; always remove the directory.
An empty @ is abandoned automatically; reconcile or abandon a non-empty
anonymous head before cleanup.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub paulinevos/claude-stuff --plugin jj-workflow4 skills in this plugin
/parallel-slicesCoordinate parallel work in Jujutsu workspaces: choose jj or a git-worktree fallback, split reviewable slices, create and dispatch isolated workspaces, monitor safely, and integrate. Use when planning or orchestrating multi-agent work in a jj repository./sync-workspaceRecover a stale, divergent, or conflicted Jujutsu workspace, or rebase a slice onto a moved base or parent. Use for stale-working-copy errors, divergent change IDs, or conflicted bookmarks./work-in-sliceDo one owned slice in a Jujutsu workspace: make granular described revisions, keep its bookmark at the tip, fold fixes into their revision, rebase safely, navigate workspaces with jj-navi when it is installed, and hand off without publishing.Other plugins' skills for the same job