/hotseat:plan-feature [feature-brief:id | "one-line intent"] (workspace and optional root page auto-resolved from hotseat.config.json; prefix a ws: token to override)from Hotseat Wiki
Plan a feature in the wiki's feature-brief FSM — seed or select a brief, ground the plan in the real repo, author it (steps, data-models, test cases), review the plan for grounding/gaps/feasibility, then STOP. Writes no code; crosses no gate past beginPlanning, leaving a build-ready brief. Branch/worktree-agnostic; safe to run in parallel worktrees.
Ships in Hotseat Wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce one grounded, reviewed, build-ready feature plan — then stop. The wiki's feature
bundle is the source of truth for what document edit comes next; you supply what it cannot —
choosing what to plan, grounding it in the real repo, authoring the plan, and reviewing it for
soundness before handing it off. This skill is the front half of /build-feature: it writes
no code, runs no tests, and crosses no FSM gate past beginPlanning. When the plan is
authored and reviewed it stops, leaving the brief build-ready for /build-feature feature-brief:<id>.
Workspace — a repo maps to a wiki workspace, and optionally to one page inside it when several repos share a workspace, so you do not pass the id. Resolve both once at the start: $WS (the workspace) and $ROOT (the repo's root page, or unset). Resolution precedence:
$target begins with a ws: token → that token is $WS (an explicit override) and $ROOT is unset; the remainder is the real target.Read hotseat.config.json at the worktree root: its workspaceId is $WS and its optional rootPageId is $ROOT.workspaceId) → call listWorkspaces and confirm $WS with the user. If that workspace is shared by several repos (one top-level page per project), ask which page this repo owns (tree($WS)) and use it as $ROOT. Then offer to write hotseat.config.json ({ "workspaceId": "ws:...", "rootPageId": "toc:..." }, rootPageId only when set) so future runs need no lookup.Use $WS wherever a workspace id is needed for the rest of the run. Never silently guess a workspace.
Root page — when $ROOT is set, this repo owns only that page's subtree:
$ROOT once with tree($WS): it must exist and not be archived. If it is missing, archived, or a read returns PAGE_MOVED, stop and ask the user to fix hotseat.config.json. Never fall back to the workspace root.<workspace name> › <$ROOT title> ($ROOT).$ROOT or one of its descendants (parentId), never at the workspace root or under another project's page.nextActions($WS, $ROOT) instead of nextActions($WS); from tree($WS) and attention($WS), consider only pages inside $ROOT's subtree.Target = $target (with any leading ws: override token stripped per above) — either an existing feature-brief:<id> to plan, or a one-line intent.
feature-brief: → plan that brief.createPage a new feature-brief (title from the intent) under the "Feature Specs" TOC (Planning step 1) — never at the workspace root, and inside $ROOT when it is set. That auto-materializes its pinned children: implementation-plan, implementation-checklist, testing-plan, feature-spec — never create the children by hand.nextActions($WS, $ROOT) (or nextActions($WS) when $ROOT is unset) to list in-progress feature work and confirm which brief to plan (or ask for an intent).next; call nextActions($WS, <briefId>) for do / blocked / humanGates / attention. Drive do edges; for each blocked edge author exactly the content its reason names, then re-check. Never hardcode a command sequence — if a reason changes, follow the new one.beginPlanning and satisfy beginImplementation's blockers, but never call beginImplementation (or anything past it). Crossing into building is /build-feature's job. Likewise never call submitForReview or ship, and stop at any attention item.askQuestion/escalateQuestion anything that genuinely needs a human decision rather than inventing an answer. Default to not advancing when unsure.checkout, assume a base branch, or require main.Workflow call, load its schema with ToolSearch("select:Workflow") (fold it into the ToolSearch you make for the wiki tools) — without the schema in your prompt, object parameters are emitted as JSON-encoded strings and the script receives garbage. Pass args as a real JSON object, never a stringified one. Both templates fail fast with a named error if args doesn't arrive intact; on that error, re-run with the template body inlined via the script parameter and the values baked in. Don't poll a running workflow (no Monitor) — completion notifies you.Ground the plan in the real repo first — the wiki's preconditions read only sibling pages, never the codebase, so an ungrounded plan invents plausible-but-wrong steps.
toc page titled "Feature Specs" whose parent is $ROOT (a top-level page when $ROOT is unset) in tree($WS); if it doesn't exist, createPage({ type: "toc", title: "Feature Specs", parentId: $ROOT }) (parentId: null when $ROOT is unset) to make it. Then createPage the feature-brief with parentId set to that TOC's id. The TOC's contents are derived from its live children — no TOC edit is needed.tree($WS, <briefId>).Workflow({ scriptPath: "${CLAUDE_SKILL_DIR}/workflows/grounding.template.js", args: { repoRoot: "<this worktree path>", intent: "<intent or current brief summary>", areas: [<optional repo areas to focus>] } })
args must be a real JSON object (see the standing rule) — the template throws rather than running against placeholders if intent doesn't arrive. Adapt the script inline only if this feature needs a different fan-out. It returns a structured proposal (summary, components, constraints, plan steps, data-model snippets, test cases, open questions, conflicts) and does not touch the wiki.mutatePageBatch (atomic, ordered, ≤50 ops/page): setSummary/addComponent/addConstraint on the brief; addStep/addDataModel on the implementation-plan; addCase on the testing-plan. Anything that genuinely needs a human decision → askQuestion on the brief (escalateQuestion if it must block).nextActions to drive beginPlanning. Then satisfy beginImplementation's blocked reasons (≥1 plan step, ≥1 data-model code block, ≥1 testing-plan case) so the brief is build-ready — but do not cross that edge. Stop if attention surfaces an escalated question.There is no code yet, so this reviews the authored plan for soundness — the analogue of /build-feature's pre-sign-off code review.
getPage the implementation-plan and testing-plan) so you review what actually landed.Workflow({ scriptPath: "${CLAUDE_SKILL_DIR}/workflows/plan-review.template.js", args: { repoRoot: "<this worktree path>", summary: "<brief summary>", steps: [<{stepId,text}>], dataModels: [<{language,source}>], cases: [<{caseId,text}>] } })
It fans out read-only agents over the real repo across review lenses (grounding/repo-faithfulness, completeness/gaps, feasibility/sequencing, test coverage) and returns structured findings, each tagged with a suggested action. It does not touch the wiki.addStep / addCase / addComponent / addConstraint; a decision a human must make → askQuestion on the brief (escalateQuestion if it must block); a wording/scope fix → edit the relevant section. Re-check nextActions so beginImplementation's blockers stay satisfied after edits./build-feature feature-brief:<id>. Stop early if attention surfaces an escalation.plan-feature never crosses beginImplementation, submitForReview, or ship. When you stop, summarize the plan and any remaining open questions via nextActions and attention so the user knows it is ready to build (or what a human must decide first).
What SKILL.md sets; muted values are Claude Code's defaults
Invoke explicitly to plan (not build) a feature tracked in the structured wiki's `feature` bundle — produce a grounded, reviewed, build-ready brief and stop. Hand the brief to `/build-feature` to implement it.
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub goldenmule-media/hotseat-web --plugin hotseat