Command Palette

Search for a command to run...

Назад к скиллам
скилл № 49638

narraitor-parallel-lane-orchestration

Run a batch of Narraitor issues as parallel worktree lanes, with a Fable orchestrator picking the batch and delegating each issue to a subagent whose model…

БесплатноБез исполняемых скриптов
jerseycheeseот jerseycheese★ 32 звезды на GitHub

Установить narraitor-parallel-lane-orchestration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Parallel lane orchestration (Fable orchestrator, tiered lane agents)

1. What this is

One Fable-model session acts as orchestrator. It picks N issues off the backlog, pre-builds a git worktree per issue, and spawns one Agent-tool subagent per lane — each lane's model chosen from that issue's model-power:* label, so cheap work runs cheap. The orchestrator never implements; it selects, partitions, dispatches, unblocks, and reports.

The mechanism that works here is the in-harness Agent tool, not claude -p children (host-held OAuth 401s) and not a paste-block of terminal commands.

2. When to use

For a whole milestone (intake, shaping, batches of issues per PR, Codex or Gemini lanes, cloud vs local, the release), use narraitor-backlog-routing instead. It builds on this skill, and §6 below stays the canonical trap list for both.

  • "Work the next N most important issues in parallel."
  • A backlog push where serial execution would waste hours of wall clock.
  • Any time a batch is big enough that batch selection is itself a real decision.

Do not use for a single issue (ship-issue / tdd-implement are cheaper), or when the batch would all touch the same file (see collision rules — that batch is serial by nature).

3. Model tiering

model-power:* is the delegation axis (complexity:* is time/scope, not reasoning difficulty). Definitions live in .github/labels.md.

Label Lane model
model-power:light haiku
model-power:standard sonnet
model-power:advanced opus
model-power:frontier keep out of the batch, or run it in the orchestrator session

An unlabeled issue is not automatically standard — read the body and assign a tier, saying so. The labels were applied in a single retroactive pass, so treat a tier that fights the body as wrong and score the body.

4. Batch selection

Run the prioritize-issues skill for the ranking, then subtract everything that cannot safely run right now. That skill is user-level, not committed here — where it isn't available (a fresh clone, a cloud session), the repo ships .claude/agents/issue-prioritizer.md, which does the same ranking job:

  • Already in motion. Any issue with an open PR, or an existing worktree/branch matching its number. A pre-existing worktree is not proof of abandonment — ask before touching it.
  • Explicitly held. A draft PR on a HOLD, an issue whose body says it lands with or after another PR, an issue waiting on a spending or design decision.
  • Collision. Predict each candidate's file set. Intersect the sets pairwise. Overlapping candidates either get one named sole owner for the shared file (the other is told in writing not to touch it) or one of them drops out of the batch. Shared prompt templates (sceneTemplate.ts and friends) and shared CSS are the repeat offenders.

All-lanes-mergeable proves nothing about collisions: three lanes once trial-merged clean against develop and the conflict only appeared after the first merge landed.

5. Lane setup the orchestrator owns

Lanes start faster and cleaner when the orchestrator does this work up front rather than making each lane do it:

REPO=$(git rev-parse --show-toplevel)   # never hardcode a home path; this file is public
git worktree add -b claude/issue-<n> \
  "$REPO/.claude/worktrees/issue-<n>" origin/develop
git -C <worktree> branch --unset-upstream    # else a bare git push targets develop
( cd <worktree> && npm ci )                  # node_modules is per-worktree

Do not run install-worktree-port.sh — it modifies tracked files (scripts/dev.sh, scripts/kill-port.sh) and drops an untracked scripts/worktree-port.cjs, so every lane starts dirty and a lane reaching for git add -A sweeps them into its PR.

Hand each lane its absolute worktree path.

6. The traps that have actually cost time here

  • Lanes stall on Monitor. A subagent that uses Monitor to watch CI ends its turn waiting for a notification that wakes only the orchestrator. Every lane prompt must carry the blocking poll snippet and the explicit "do not use Monitor" clause, from the first prompt — a corrective message later works but costs a stall-detect round trip per lane, and lanes relapse.
  • gh pr checks shows only the newest run per name. no checks reported means pending, not failing. Never gh pr edit a PR body while CI is in flight — it fires a second run whose skipped jobs own the display.
  • Squash merges break ancestry. Verify a merge by content (git show origin/develop:<file> | grep <symbol>), not git merge-base --is-ancestor.
  • A lane can die after pushing but before reporting. Check the worktree's git log and the PR head against the remote before concluding a dead lane left work undone.
  • Dead lanes resume. SendMessage to the agent id picks up the existing transcript. Restart only if the transcript is gone.
  • **API Error: 529 kills a lane at l
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл narraitor-parallel-lane-orchestration?

Run a batch of Narraitor issues as parallel worktree lanes, with a Fable orchestrator picking the batch and delegating each issue to a subagent whose model matches the issue's model-power label. Use when asked to "work the top N issues in parallel", "fan out the backlog", "kick off a parallel batch", "orchestrate lanes", or when planning a multi-issue push that should run concurrently rather than serially. Covers batch selection, collision avoidance against work already in motion, model tiering, and the lane failure modes that have actually bitten this repo.

Как установить скилл narraitor-parallel-lane-orchestration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл narraitor-parallel-lane-orchestration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить narraitor-parallel-lane-orchestration с