Skip to content
Skills Library
Programming · Planning

parallel-slices

/parallel-slices

Coordinate 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.

Licence
MIT
Last repository change
13.10.2026

Assessment and security

96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content31 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Coordinate 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.

Original author description

Coordinate 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.

How it works

SKILL.md has no level-two headings · 42 lines, 280 words

SKILL.md preview
---
name: parallel-slices
description: "Coordinate 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."
---

# parallel-slices

You orchestrate; workers own their workspaces. Read
[conventions](references/conventions.md). Use [git-fallback](references/git-fallback.md)
if `jj root` fails, or if required work/tests need git submodules. A jj repo
with irrelevant submodules may continue, but the workspaces cannot materialise
them. Stop if neither jj nor git applies.

1. Split work into independently testable, reviewable slices. Record name,
   base, owned files, and done criteria; show the table before creating
   anything. Independent slices base on `trunk()`; dependent slices base on the
   parent's bookmark. Avoid overlapping files.
2. Before creating a workspace, ask the user to grant edit permission for
   `${HOME}/.jj-workspaces` and wait for that permission. Request the shared
   root, not each slice directory, so workers are not prompted repeatedly.
   Then create each workspace outside checkouts, always at
   `${HOME}/.jj-workspaces/<repo>/<slice>`:

   ```sh
   jj git fetch
   repo=$(basename "$(jj root)")
   workspace_root="${HOME}/.jj-workspaces/${repo}"
   mkdir -p "$workspace_root"
   jj workspace add --name <slice> -r 'trunk()' --sparse-patterns full "$workspace_root/<slice>"
   ```

   For a dependent slice, use `-r <parent-slice>` only after that bookmark
   exists. Do not create a bookmark on its initial empty `@`.
3. Give each worker its workspace path, slice/bookmark and base, purpose,
   owned files, hand-off criteria, and `work-in-slice`. They must not touch
   other slices. If a child starts before hand-off, its parent may add at the
   tip but must not rewrite ancestors.
4. Monitor from the default workspace with revsets, not commands in worker
   directories. A plain `jj -R <workspace>` snapshots that worker's edits; if
   `-R` is unavoidable, add `--ignore-working-copy`.
5. After hand-off, use `finish-slices`. Rebase a child onto a grown parent only
   from the default workspace; its now-stale handed-off workspace is harmless.

All workspaces share revisions and bookmarks immediately. One owner per change,
bookmark, and workspace prevents concurrent rewrites from making workers stale.
Files in this package (3)
  • SKILL.md 2 KB
  • references/conventions.md 5 KB
  • references/git-fallback.md 2 KB

Versions

The database has no other skills named parallel-slices.

Database snapshot: 13.11.2026 · package version 4d9f72ab2dca (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100jj-workspaces
    Manages ephemeral JJ workspaces for isolated streams of work. Use when the user asks to start, resume, inspect, clean up, or prune a separate workspace, parallel work stream, or isolated experiment in a Jujutsu repository.
  • 100orchestrating-parallel-research
    Use when running many independent tasks in parallel across isolated agent workspaces — fanning out research experiments (remote GPU, ablations, innovation points) or feature work — and you act as the coordinator deciding how to split, isolate, dispatch, and report.
  • 100jujutsu
    Guide to Jujutsu (jj) version control system. Use when working with commits, branches, pull requests, PRs, version control, rebasing, pushing, or when the user mentions jj, git, or version control operations.
  • 100parallel-worktrees
    Run multiple AI coding agent sessions in parallel using git worktrees — each agent isolated in its own worktree, working on a separate branch. Use this skill whenever the user wants to: run two or more AI agents simultaneously on different features or bugs, set up isolated agent…
  • 86parallel-sessions
    Split a job into tasks and run one agent per task in its own git worktree, then merge them one at a time. Use when the user wants several agents working in parallel on one repository.
  • 100worktree
    Git worktree lifecycle management. Use when team needs parallel isolated workspaces for multi-stream development, or when an experiment must not touch the main working tree. Creates isolated workspaces, manages branches, handles cleanup. Called by team and cook.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.