/builder-os:bos-shape
- Dispatches
- ux-architectspec-writer
Arguments
- [--design-only]
- Steps 4 and 5, stop before the stack.
- [--stack-only]
- Step 6 against an existing
SPEC.md→ Design. - [--spec-only]
- Step 7 against an existing
SPEC.md→ Design and decided stack.
What it does
Resources: The installation root is the parent of this loaded commands/ directory (or the hook’s installation-root line). Resolve skills/, references/ and scripts/ there; project artifacts belong in the working project.
Dispatch: On Claude Code use the namespaced profiles below, foreground (run_in_background: false), and await completion before the next dispatch or gate. On any other host resolve subagent.dispatch: pass the skill and context to an available generic agent, or run inline. Qualify skill names with builder-os: on Claude.
Dispatch builder-os:ux-architect, run the rules, the look and the stack with the user here, then dispatch builder-os:spec-writer, for BuilderOS phase 4.
Steps
- Check pipeline state. Read the active initiative's
state.json(per the schema, Active Initiative). Phase 3 must have passed, been overridden, or becoveredby the change track's mandate check (then the input isCHANGE.md→ Request). - Read
BRIEF.md→ Bet and Definition: the primary action, the kill criteria, the success metric. On a change,CHANGE.md→ Request andDOMAIN.md. - Resolve capabilities per
references/capability-map.md, includingui.render, and derive the operating mode. - Dispatch
builder-os:ux-architectwith mode, capabilities, pipeline state (initiative, phase 4, cycle, mode),PRODUCT.md,BRIEF.md→ Bet and the user's request. It writes the flows intoSPEC.md→ Design and ends with## DESIGN COMPLETE. - Run
domain-model, thenagent-designwhen a model acts, then the look (ux-architecture, direction), in this conversation: entities, transitions, business rules and autonomy per action as round questions, a logic prototype for non-trivial rules; then reference screens and versions as files underdesign/, shown throughui.renderwhere it resolved, chosen in rounds. The user's answers cannot be collected inside a dispatch. - Run the stack (
system-design) in this conversation: inherited layers from the repository, a decision card per open layer, rounds, ADRs,TECH.md→ Stack. Then the kit and tokens, then the architecture (system-design), trade-offs as rounds. - Dispatch
builder-os:spec-writerwith mode, capabilities, pipeline state,PRODUCT.md,BRIEF.md→ Definition and Bet,SPEC.md→ Design, the stack decisions with who made them, the agent behavior and the architecture trade-offs the user decided, and the user's request. Ask it to writeSPEC.mdand run gate 4. - Verify completion:
## SPEC COMPLETEwith a gate 4 verdict. The marker is the agent's claim: re-read the artifact and run gate 4 yourself pergate-checks. Report a missing artifact or failed condition, whatever the marker says. - Present
## What we chosefirst, then scope, conflicts, criteria and how the tracking plan computes the phase 2 metric. Ask the person to accept; phase 4 records only with--accepted-by "who"from their answer.
Notes
Without delegation, run the skills inline in the same order. Gates 4.8 to 4.10, 4.16, 4.18 and 4.19 refuse a stack, a look, rules, an agent's autonomy or a backend nobody decided; no argument bypasses them.
commands/bos-shape.mdView on GitHub