/hotseat:build-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
Drive a feature through the wiki's feature-brief FSM end-to-end — seed or select a brief, ground the plan in the real repo, write code, verify with real tests + code review, and flip FSM gates only from verified results. Stops at human sign-off gates. 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.
Drive one feature from intent to a human sign-off gate. The wiki's feature bundle is the source of truth for what document edit comes next; you supply the engineering and verification the wiki cannot — choosing what to build, grounding it in the real repo, writing code, and confirming it actually works before flipping any gate.
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 drive, or a one-line intent.
feature-brief: → drive 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 drive (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.humanGates (submitForReview, ship) and attention items are not yours to cross. Drive up to them, then stop and hand back with a summary. Never call submitForReview or ship.markStepDone only after the step's code landed; markCasePassed only when a test genuinely passed (see Implementation); checkTask only when the work is truly done. Default to not advancing when unsure.checkout, assume a base branch, or require main.docs/hotseat-wiki/**. The Markdown mirror is emitted to the main checkout automatically and reconciled at merge time. You commit code only, on the current feature branch (stage specific code paths, never git add -A).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 beginImplementation once its blocked reasons are satisfied (≥1 plan step, ≥1 data-model code block, ≥1 testing-plan case). Stop if attention surfaces an escalated question.Do the real work, verify it for real, then flip the gates the wiki trusts you to flip.
getPage the implementation-plan).Workflow({ scriptPath: "${CLAUDE_SKILL_DIR}/workflows/verification.template.js", args: { repoRoot: "<this worktree path>", steps: [<{stepId,text}>], cases: [<{caseId,text}>] } })
It runs npm run typecheck + npm run test, exercises each testing-plan case, and spot-checks each plan step as actually landed, all in parallel, returning real pass/fail (args.cases is required — same JSON-object rule as grounding). It does not touch the wiki.markStepDone only for steps the verification reported landed; markCasePassed/markCaseFailed per the real case result; checkTask for completed manual tasks (gate-tasks are computed — leave them). Fix and re-verify failures rather than flipping them green.recordCommit({ sha, message }) with the real sha./code-review high (Skill tool) on the branch diff. Apply safe fixes (or /code-review high --fix). Turn any finding needing a human decision into an askQuestion on the brief, and any concrete remediation into an addStep on the plan, then re-verify. For a deeper pass, tell the user they can run /code-review ultra themselves — it is cloud, billed, user-triggered; never auto-launch it.submitForReview, then stop: report what was built, the verification results, the review outcome, and that it is ready for the user to review and submitForReview.submitForReview and ship are human gates — never cross them. When you stop, summarize remaining work via nextActions and attention so the user knows exactly what's left.
What SKILL.md sets; muted values are Claude Code's defaults
Invoke explicitly (in a worktree on a feature branch) to build a feature tracked in the structured wiki's `feature` bundle.
Other plugins' skills for the same job
npx claudepluginhub goldenmule-media/hotseat-web --plugin hotseat2 skills in this plugin