/ship:start [feature description]from ship
Starts a new feature brainstorming session by asking questions to capture requirements, scope, and acceptance criteria before planning. Useful when beginning feature work or fixing bugs.
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.
Read when SKILL.md points to them.
Start a new feature brainstorming session.
Ensure .planning/features/ directory exists. Create it if not.
First-run detection: If .planning/features/ was just created or is empty (no existing feature directories), this is the user's first feature. Show a brief welcome:
Welcome to Ship! This is your first feature. Here's how Ship works:
- Brainstorm — I'll ask questions until the problem, scope, and acceptance criteria are nailed down
- Plan — I'll explore your codebase and design a step-by-step plan
- Build — I'll implement the plan with atomic git commits
- Verify — I'll check that all acceptance criteria are met
Let's start by understanding what you want to build.
Derive a feature name (kebab-case slug) from the user's input:
$ARGUMENTS → convert to a short kebab-case slug (e.g., "user authentication" → user-auth, "fix login bug" → fix-login-bug)Check if .planning/features/{name}/CONTEXT.md already exists:
done, tell the user this feature is complete. Ask if they want to start a new related feature.done, tell the user this feature already exists and suggest /ship:resume instead./ship:resume cannot see it, so treat the slug as fresh and carry on.Do not create the feature directory yet. Writing CONTEXT.md creates it, so a brainstorm abandoned before confirmation leaves nothing behind.
IMPORTANT: Do NOT launch a subagent for brainstorming. The brainstorming process requires interactive user input via AskUserQuestion, which only works correctly in the main conversation — not inside a subagent.
Read ${CLAUDE_PLUGIN_ROOT}/skills/start/references/brainstorm.md and follow its instructions directly in this conversation with:
{name}$ARGUMENTSExplore the codebase, then probe with AskUserQuestion until the problem, scope boundary, and 3+ testable acceptance criteria can be stated without guessing and the user has confirmed the summary, then write .planning/features/{name}/CONTEXT.md — confirmation comes first, the file second.
Once CONTEXT.md is written, put the feature at the top of the ledger — it is what you are working on now, by definition.
Read ${CLAUDE_PLUGIN_ROOT}/skills/ledger/SKILL.md for the format. The ledger indexes the project, not the branch, and lives at the main worktree root — resolve it first:
MAIN_ROOT=$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")
If git fails (not a repository), MAIN_ROOT is the cwd and the row goes to the relative .planning/LEDGER.md — today's behavior. Then, in $MAIN_ROOT/.planning/LEDGER.md (create it there with the four empty headings if absent), never in a linked worktree's copy:
{name} already exists in any of ## Now / ## Next / ## Someday, move it to the top of ## Now and leave its one-liner alone — the user wrote it, and brainstorming does not license rewriting it.- [ ] **{name}** — {one-line summary from CONTEXT.md} at the top of ## Now.{name} is already under ## Shipped, do not touch that row. Say so, and add the new row to ## Now only if the user confirms this is genuinely new work rather than a resumed slug.This is the only file outside the feature directory that /ship:start writes.
Brainstorming happens in the main checkout; the build happens in a worktree. Now is the handoff point — CONTEXT.md exists, nothing is committed yet, and no code has been touched.
Confirm this is the main checkout:
MAIN_ROOT=$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")
CWD_ROOT=$(git rev-parse --show-toplevel)
If MAIN_ROOT != CWD_ROOT, you are already in a worktree — skip this whole section and go straight to the report.
If git is unavailable or this is not a repository, skip it too, and say the worktree step was skipped for that reason.
Ask once with AskUserQuestion: spin up the worktree now, or stay here?
On yes:
git worktree add -b feature/{name} "$MAIN_ROOT/.claude/worktrees/{name}" main
mkdir -p "$MAIN_ROOT/.claude/worktrees/{name}/.planning/features/{name}"
cp -R "$CWD_ROOT/.planning/features/{name}/." "$MAIN_ROOT/.claude/worktrees/{name}/.planning/features/{name}/"
rm -rf "$CWD_ROOT/.planning/features/{name}"
The rm -rf is safe only because the directory was just created and is entirely untracked — verify that with git status --porcelain -- ".planning/features/{name}" and confirm every line begins ?? before running it. If any line does not, copy without removing and say the main checkout still holds a copy. Leaving the sole copy in the worktree is the point: two divergent CONTEXT.md files is the failure this avoids.
.planning/LEDGER.md stays in the main checkout and is not carried across. The ledger is the project's index, not the feature's; it belongs where you brainstorm.
Then call EnterWorktree with path: "$MAIN_ROOT/.claude/worktrees/{name}". The session is now in the worktree, and /ship:go runs there.
If git worktree add fails (the branch or path already exists), stop, report it, and leave the feature directory where it is — a half-made worktree is worse than none.
On no: say nothing more about it. /ship:plan and /ship:go work fine in the main checkout, and the user can make the worktree later.
## FEATURE STARTED
Feature: {name}
Context: .planning/features/{name}/CONTEXT.md
Ledger: top of ## Now
Worktree: {branch + path, or "not created — building in the main checkout"}
Next: /ship:go {name}
$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
high16 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 conventionsnpx claudepluginhub dilhanz/ship --plugin shipOther plugins' skills for the same job