Shape Work Before Execution
Use this skill as the public shaping entrypoint for Flywheel's compact loop:
shape -> work -> review -> optional spin -> commit
Invoke it as fw:shape using the current host's native syntax:
- Codex:
$fw:shape - Claude Code:
/fw:shape
fw:shape is the first main workflow stage. It decides which shaping mode is
needed, then runs or hands off to the smallest mode that can produce the next
useful artifact before implementation.
Every material shaping pass also runs a spec and decision quality checkpoint
before claiming Shape-Ready. When shape routes into brainstorm, the
brainstorm must grill the emerging spec automatically; the user should not need
to ask for ADR-quality or terminology-quality pressure separately. The
checkpoint is automatic rigor, not automatic ADR creation.
Shaping Modes
fw:ideatewhen the user wants a better next bet, backlog shaping, or a ranked shortlist before choosing one direction.fw:brainstormwhen one direction exists but behavior, scope, user-facing decisions, or success criteria are still unclear.fw:planwhen the intended behavior is clear enough to design execution.fw:deepenwhen a reviewed plan already exists and needs more repo research, test posture, rollout posture, or architecture detail before work starts.
Do not implement code inside fw:shape. The stage ends when it has produced or
selected the artifact that fw:work can execute from.
When closing a material shaping pass, read ../references/workflow-gates.md
and use its Shape-Ready gate plus canonical handoff card.
Routing Rules
- If the user asks what to improve, asks for next bets, or presents an open area
rather than one chosen direction, load
../ideate/SKILL.md. - If the user has one idea, request, or problem but the behavior or scope still
needs clarification, load
../brainstorm/SKILL.md. - If the user points at a requirements doc, clear feature description, bug
report, or concrete rough task and wants execution design, load
../plan/SKILL.md. When the input is an existing spec or requirements doc whose review state is unclear, the plan stage should offer source document review before drafting the implementation plan. - If the user points at an existing plan and asks to harden, deepen, strengthen,
or make it more execution-ready, load
../deepen/SKILL.md. - If the user explicitly invokes one shaping mode, honor that mode directly unless the input is clearly incompatible with that mode.
When the best mode is obvious, state the selected mode briefly and continue
with it. When two shaping modes would produce materially different artifacts,
ask one focused challenge question using the host interaction contract in
../references/host-interaction-contract.md.
Spec And Decision Checkpoint
Before closing a material shaping pass, inspect the chosen artifact and decide whether the spec, plan, context, or decision record needs more grilling before work can start.
When the selected mode is brainstorm, require the brainstorm's
spec-grilling.md checkpoint before Shape-Ready:
- project terms were checked against existing context, docs, code, and tests
- fuzzy or overloaded language was sharpened into canonical terms or explicit open questions
- concrete scenarios or edge cases tested the proposed scope boundary
- contradictions between user claims, code, docs, and prior decisions were surfaced
- context or ADR-worthy decisions were routed to
decisionor left as explicit open decisions
Use the cheap path when no record is warranted:
- state
Decision checkpoint: no durable decision record needed - give the reason in one short clause
- continue to the normal handoff
Load ../decision/SKILL.md only when shaping creates, validates, changes, or
contradicts a decision that is hard to reverse, surprising without context,
tradeoff-heavy, architecture-bearing, workflow-contract-bearing,
product-scope-bearing, or blocked by ambiguous or conflicting project
terminology.
When loading decision, pass the current spec, requirements doc, plan, or
summary plus the concrete conflict or tradeoff. Do not ask broad ADR questions
from shape itself; let decision inspect repo truth and ask one material
question at a time.
If decision creates or updates a context or decision artifact, include the
repo-relative path in the shaping handoff. If a blocking decision remains open,
do not mark the artifact ready for fw:work; route back to the relevant
shaping mode or continue the decision pass.
Output Contract
End with one of these outcomes:
- ranked shortlist from
fw:ideate, with the selected idea moving tofw:brainstorm - reviewed requirements doc or requirements plan from
fw:brainstorm, with a user choice to proceed tofw:planor run document review first - reviewed technical implementation plan from
fw:plan, with a host-question user choice that explicitly offersfw:deepen, review-finding follow-up, a pause, or confirmation to move tofw:work - strengthened reviewed plan from
fw:deepen, with a host-question user choice between another deepen pass, pausing, and confirmingfw:work
Always name the next main stage as fw:work once the shaping artifact is ready.
Do not cross from shaping into fw:work until the user confirms through the
host question tool when that tool is available, or gives an explicit same-turn
implementation instruction.
When a shaping mode produced or selected a durable artifact, close with the
canonical handoff fields from ../references/workflow-gates.md: Stage,
Artifact, Ready, Open decisions, Evidence, and Next.
Example Prompts
- "Use
fw:shapeto turn this rough feature idea into the right next artifact." - "Use
fw:shapeon this requirements doc and decide whether it needs planning or deeper requirements work." - "Use
fw:shapeto decide whether this plan is ready forfw:work."