fleet
Run a batch of tickets through parallel worktrees, wave by wave. Two subcommands: `/fleet dispatch <label>` fans /implement out across the ready tickets carrying that feature label, one subagent per ticket, all in parallel off the feature branch; `/fleet land <label>` prepares the wave's PRs (drafts included) so the user can merge them in order without conflicts, fixing red CI and conflicts with one subagent per PR, and never merges; `/fleet reconcile <label>` runs after a wave has merged, closes the done tickets, promotes the newly unblocked ones from backlog to ready, writes the handoff for the next dispatch, and opens the feature's PR into main once no tickets are left. A /sweep's `sweep-YYYY-MM-DD` label works as a feature label. Use for "fan out these tickets", "implement these issues in parallel", "for each ready ticket create a worktree and delegate to a subagent", "reconcile the wave", "reconcile the feature", "what's unblocked now", "close out the merged tickets", "set up the next wave". For a single ticket, use /implement directly.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- fleet
- description
- Run a batch of tickets through parallel worktrees, wave by wave. Two subcommands: `/fleet dispatch <label>` fans /implement out across the ready tickets carrying that feature label, one subagent per ticket, all in parallel off the feature branch; `/fleet land <label>` prepares the wave's PRs (drafts included) so the user can merge them in order without conflicts, fixing red CI and conflicts with one subagent per PR, and never merges; `/fleet reconcile <label>` runs after a wave has merged, closes the done tickets, promotes the newly unblocked ones from backlog to ready, writes the handoff for the next dispatch, and opens the feature's PR into main once no tickets are left. A /sweep's `sweep-YYYY-MM-DD` label works as a feature label. Use for "fan out these tickets", "implement these issues in parallel", "for each ready ticket create a worktree and delegate to a subagent", "reconcile the wave", "reconcile the feature", "what's unblocked now", "close out the merged tickets", "set up the next wave". For a single ticket, use /implement directly.
02 资源文件 5
- 参考文档agents/openai.yaml174 B
- 参考文档dispatch.md9.4 KB
- 参考文档evals/evals.json5.7 KB
- 参考文档land.md4.2 KB
- 参考文档reconcile.md5.7 KB
03 SKILL.md 正文
Orchestration layer above /implement, split by when it runs:
dispatch <label>: start of a wave. Read dispatch.md.land <label>: optional, when dispatch's--checkrecommends it, before the user merges. Read land.md.reconcile <label> [--no-journeys]: after the wave's PRs have merged. Read reconcile.md.
All subcommands require a feature label as the argument after the subcommand (for example
/fleet dispatch cv-tailoring). If it is missing, ask for it; never run across all issues.
Read the file for the subcommand in the first argument. With no subcommand, use reconcile if
the user says the wave has merged, otherwise dispatch. If it is still unclear, ask.
Shared conventions
An issue whose changes are all under skills/ is still dispatched through /implement, which hands it to skill-updater.
Both halves rely on these, so they are defined once here.
- Scratchpad.
<scratchpad>/fleet/holdsbrief.md, one<N>.mdreport per ticket, andstate.md. It is scratch, not truth: the board and PR state on GitHub win over it. - Status labels. ticket-tracker's
status:backlog → ready → in-progress → in-review → done. Move a ticket withgh issue edit <N> --remove-label "status:<from>" --add-label "status:<to>". Moving todonealso needsgh issue close <N>. A ticket with nostatus:*label is backlog. - Blockers. A ticket's
## Blocked bysection lists- Blocked by #<N>lines, or "None". This is the only record of dependencies; both subcommands read it. - Feature label. The label
to-plancreates andto-ticketsapplies to every ticket of a feature,project:<slug>. It scopes everygh issue listin both subcommands with--label "<label>". The argument may be<slug>orproject:<slug>: if it matches an existing label exactly (gh label list), use it as is, sosweep-YYYY-MM-DDand older bare labels keep working; otherwise strip any leadingproject:and the label isproject:<slug>. - Feature branch.
feat/<slug>, where<slug>is the label without itsproject:prefix (a label with no prefix, likesweep-YYYY-MM-DD, is its own slug), since git forbids:in ref names. Every ticket PR targets it, nevermain, so several features can run in parallel without touching each other. When the feature's tickets are all done, reconcile opens one PR mergingfeat/<slug>intomain. - Fleet section. A repo's CLAUDE.md may carry a
Fleetsection listing its generated, committed paths (minified CSS, goldens) and the command that rebuilds them. Those files conflict by construction, so fleet regenerates them mechanically instead of resolving them. - Ticket branch.
issue-<N>/<short-title>:<N>is the issue number,<short-title>a kebab-case slug of the issue title, a few words (issue-142/stuck-scrape-run). Dispatch creates it, /implement works on it, reconcile removes it. - Bundle branch.
issue-<N>/tiny-bundle,<N>the lowest issue number in the bundle. One PR whose body has aCloses #<N>line per bundled ticket, which is how reconcile matches it to each of them. state.md.fleet reconcilewrites it, dispatch reads it. It opens with the feature label, then has one section per unblocked ticket with its number, base branch, and the merged PR to use as the worked example.
04 同仓库更多 Skills
obsidian-develop
Build, prototype, extend, debug and review Obsidian community plugins against a live vault: inspect the running app's UI, DOM, console and plugin state, prototype in the runtime, then verify each change with a build, reload and check loop. Use whenever the user is working on an Obsidian plugin, even when they just say "add a command", "make a sidebar view", "my settings tab is blank", "why isn't my view updating" or "get this ready for the community directory"; when they ask about the plugin API (obsidian.d.ts, Workspace, leaves, Vault, MetadataCache, FileManager, views, modals, settings tabs, CodeMirror 6 editor extensions, markdown post-processors, events); or when they want a running Obsidian instance's DOM, CSS, console or plugins inspected. Not for general note-taking, Obsidian Markdown syntax, themes without a plugin, or managing vault content (use ingest, to-vault or vault-recall for those).
vault-recall
Answer the user's conceptual or technical question using their Obsidian vault as well as general knowledge. Use when the user asks a question (not a task) whose topic appears in the vault MOC digest from session start. Not for task instructions, not mid-task, and not for writing to the vault (that is to-vault).
ingest
Ingest one external source (an article, course lesson, doc, PDF or URL) into the user's Obsidian vault: save the original to raw/, then build wiki/ pages per the vault's § Ingest. Use when the user types /ingest, or says "ingest this", "add this source to my wiki", "put this article/lesson in the vault as a wiki page". Works from any repo. Routing rule: someone else's words go to wiki/ (this skill); the user's own learnings and decisions go to notes/ (/to-vault).
to-tickets
Breaks a source into independently-grabbable GitHub tickets. For a code feature the source is the plan (`docs/plans/<feature>.md`, from /to-plan) and every new or changed symbol lands in exactly one ticket, its signatures copied into the ticket body; a non-code feature is cut from the PRD's slices. Cuts tickets for one feature per run. If a code feature has no approved plan, offers /to-plan instead of cutting from prose. In a repo that runs command-centre, also emits `[[task]]` blocks into its config; in a plain treepad repo, emits a Batch Manifest instead so the tickets materialise as stacked worktrees.
to-seams
Records an agreed-but-unlanded cross-repo interface as a seam: the file a consumer's agent gets pasted into its prompt as ground truth, plus the `[[seam]]` block command-centre reads for the retirement pointer. Use when two repos need to build against an interface neither has landed yet — "record a seam for X", "we agreed on this schema, seam it", "add a seam so Y can build against Z's new field". Halts for approval before writing either file.
to-roadmap
Prioritises settled features into a Now / Next / Later kanban board, rendered as a self-contained ./ideas/roadmap.html. Each card is a feature, not a ticket — one card later becomes several tickets via /to-prd -> /to-plan -> /to-tickets. Boards the features in ./docs/approach.md, or the "## Accepted ideas" in ./ideas/CONTEXT.md when there is no approach doc. The approach doc is settled truth: this assigns tiers and reasons about ordering, it never re-litigates what was decided.