/ship:ledger [add <idea> | <slug> now|next|someday|top | drop <slug> | (empty to show)]from ship
Reads and edits .planning/LEDGER.md — the ordered index of planned features. Use to ask what to work on next, add/reorder/drop features, or view the plan.
Ships in ship. 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.
Read and edit .planning/LEDGER.md — the project's ordered index of planned features.
The ledger holds ordering and one-liners, nothing else. Everything else about a feature lives in .planning/features/{slug}/. Never duplicate a feature's status, criteria, plan, or findings here.
.planning/LEDGER.md, four fixed sections, in this order:
# Ledger
## Now
- [ ] **worktree-flow** — brainstorm in main, build in worktrees
## Next
- [ ] **plan-cache** — reuse exploration across replans
- [ ] **verify-speed** — make the anti-pattern scan opt-in
## Someday
- [ ] **multi-repo** — features spanning two repos
## Shipped
- [x] pm-evidence-layer → .planning/archive/pm-evidence-layer/
Rules that make the file worth having:
## Now is the next thing to do. There is no priority column, no size, no dates, no dependency graph — reordering is moving a line, which the user can do in any editor without telling anyone.- [ ] **{slug}** — {one-liner}. The slug is bold and kebab-case; it is the .planning/features/{slug}/ directory name when a folder exists, and the name that folder will get when one doesn't.## Next for months with nothing but its line. /ship:start {slug} is what gives it a folder._(empty)_ on its own line.## Shipped is append-at-top history. - [x] {slug} → .planning/archive/{slug}/, newest first. It is written by /ship:finish, and is the only section where order means recency rather than priority..planning/features/{slug}/CONTEXT.md frontmatter every time the ledger is displayed — wherever that folder lives, since /ship:start moves it into the feature's worktree. A cell would drift; a lookup cannot.A missing .planning/LEDGER.md is not an error — it means nothing has been planned yet. Create it with the four empty headings the first time something needs a row.
There is exactly one ledger, and it lives at the main worktree root. Resolve it before any read or edit:
MAIN_ROOT=$(dirname "$(git rev-parse --path-format=absolute --git-common-dir 2>/dev/null)" 2>/dev/null) || MAIN_ROOT=$(pwd)
[ -n "$MAIN_ROOT" ] && [ "$MAIN_ROOT" != "." ] || MAIN_ROOT=$(pwd)
LEDGER="$MAIN_ROOT/.planning/LEDGER.md"
Every read and every edit in this skill targets $LEDGER. In the main checkout it is the local .planning/LEDGER.md; from a linked worktree it is the main checkout's file, which is why the ledger does not look empty after /ship:go has moved the session into a worktree. From a linked worktree the skill must never create .planning/LEDGER.md in the worktree — a second copy is a second ordering, and the user owns exactly one. Not a git repo → MAIN_ROOT is the cwd, today's behavior.
Read $LEDGER. If it is absent, say the ledger is empty and offer /ship:ledger add "{idea}".
Resolve every feature's status with the shared helper rather than a bare Glob .planning/features/*/CONTEXT.md of the current checkout, which cannot see a feature whose directory /ship:start moved into a worktree:
node "${CLAUDE_PLUGIN_ROOT}/ship/find-features.cjs"
It prints one line of JSON. features is a map keyed by slug; each entry carries status (the frontmatter value, unfiltered — done included), location (main | worktree | archive), branch, here (true when the copy sits in the current checkout), owner (sole | branch | cwd | ambiguous), copies, and alsoArchived. It derives every location from git worktree list --porcelain on this call — nothing is stored. If warning is non-null, surface it verbatim before the listing. Match entries by slug against the row slugs.
Render each section in file order, annotating rows that have an entry:
## Now
1. worktree-flow — brainstorm in main, build in worktrees [building · feature/worktree-flow]
2. kill-pm — rip the PM layer out [planned]
## Next
3. plan-cache — reuse exploration across replans
4. verify-speed — make the anti-pattern scan opt-in
## Someday
5. multi-repo — features spanning two repos
Markers, from the entry:
location: archive → no marker, in any section. Checked first: an archived entry's here and branch describe the archive copy at the main root, not live work, so the rules below must never see it. A ## Shipped row already carries → .planning/archive/{slug}/; an archived slug still sitting under ## Now/## Next/## Someday is the orphan reported by step 4, not something to mark inline.here true → [{status}], exactly as before.here false and owner is not ambiguous → [{status} · {branch}] — the branch, not the path, because a path wraps the row. Use detached when branch is null.owner: ambiguous → [{status} · {copies} copies], with status unknown in place of a null status. Several checkouts hold the folder and no branch or cwd rule picks one; say so rather than guess.status: unknown (a folder whose frontmatter status: is missing) → [status unknown], never guessed.Report, in at most three lines: what is in flight (entries at a non-terminal status), the top of ## Now, and any orphan — a live entry (location main or worktree) with no ledger row, or a row in ## Now/## Next/## Someday whose entry has location: archive or alsoArchived: true, meaning the slug is already in .planning/archive/. Both come from the same helper call; there is no separate archive lookup. Offer to fix each orphan; never fix one silently.
End with the Ship command for the top of ## Now: /ship:start "{slug}" when it has no entry, /ship:go {slug} or /ship:resume when it does.
Parse $ARGUMENTS. Every edit is a line move or a line rewrite in one file — read $LEDGER, do it with Edit, write $LEDGER back, preserve every other line byte-for-byte, and report the one-line result.
add {text} — append - [ ] **{slug}** — {one-liner} to the bottom of ## Next. Derive the kebab-case slug from the text the way /ship:start does. New work is never assumed urgent: the user promotes it if it is. Refuse a slug that already has a row and say where that row sits.{slug} now / next / someday — move the row to the bottom of that section.{slug} top — move the row to the top of ## Now. This is the "do this next" gesture.drop {slug} — delete the row. If the helper resolves {slug} to a live entry, say where it lives and ask first; dropping the row does not delete the folder, and the folder without a row is an orphan.Never reorder rows the user did not name. The ordering is theirs.
.planning/LEDGER.md. — at the main root, $LEDGER, never a copy in a linked worktree. Never a feature's CONTEXT.md, never source, never git. /ship:finish writes the ## Shipped row; this skill writes the other three sections./ship:start. A feature directory found without a row is reported as an orphan and offered, not added.$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
lowThree short reads, in order
npx claudepluginhub dilhanz/ship --plugin ship16 skills in this plugin
/autoUse when you want to take an idea, a ledger row or an in-flight feature all the way to a pull request with no prompts after the brainstorm/buildUse when a feature plan has been verified and is ready for implementation — executes tasks with atomic commits/designUse when a brainstormed feature needs architectural decisions — presents 2-3 approaches for user to choose before planning/deviation-rulesUse when plan diverges from reality during build execution — provides 3 escalation levels for handling failures/finishUse when a feature has been verified and needs to be completed — creates PR, merges locally, or keeps branch/git-commitsUse when making git commits during Ship feature builds — provides atomic commit format and conventionsOther plugins' skills for the same job