Design Phase Redesign Grill Log
Design Phase Redesign Grill Log
Context
- Source: user direction, 2026-10-16. The current
design-phase"is weird and not really working". Noted to-do: "enhance design phase with proper skills/flows. shadcn design skill to create good design system at first". - Input: two
$brainstormrounds (R1 and R2) answered inline by the user. - Target: the shared skill source
wearedevpunks/skillsskills/phases/design-phase, vendored toapps/cli/skills/phases/design-phase. - Authoring method:
write-graph-based-skills(Convert mode) for structure andwriting-for-agentsfor gate text. Both run after grill closure. - Upstream snapshots inspected:
emilkowalski/skills@2d228630ba14,Leonxlnx/taste-skill@f624f37a8c65,shadcn-ui/uiskills/shadcn(main, 2026-10-16).
Current-State Findings
Facts, not decisions:
design-phase/phases/prototype.mddelegates to$prototypewithout selecting a branch.prototype/SKILL.mdLOGIC branch produces "a single shareable HTML file".$prototyperules 6-7 retain work on aprototype/<slug>branch out of main. The router goes prototype → approval with no iteration edge.- After approval, the route is backlog → delivery-handoff →
$delivery-phase. No edge returns later visual changes to a variant round. - Claude has no image-generation tool. HI ships no image tool runtime (
apps/cli/src/data/tool-runtimes/holds onlytypegraph-mcp). The gate falls back to$prototype, so image work silently disappears. - shadcn
design-system.mdrequires a DESIGN.md as input and never writes one. Its Step 1 scaffolds a new app. design-taste-frontenddeclares "Not for dashboards or app screens."redesign-existing-projectsandgpt-tasteexist underapps/cli/skills/agnostic/frontend/but are absent fromapps/cli/src/data/catalog/skills.ts.animate-expois already in theexpopack (apps/cli/src/data/catalog/packs.ts), pinned atemilkowalski/skills@e879241fab3c.- Taste
output-skillisfull-output-enforcement: it bans truncation and placeholder code. It does not check copy. - Emil skills
break-ui,mobile-native, and the current upstreamanimate/animate-expostart with an "Initial Response" greeting that waits for a user question. - The
frontendpack is asurfacepack. It installs whennextjsorreactis detected (apps/cli/src/registry/shape.ts:surfaceApplies). Expo apps depend onreact.
Branch: Variant Placement And Loop
Q1
Prerequisites:
- none
Evidence anchor:
skills/phases/design-phase/phases/prototype.md;skills/agnostic/research/prototype/SKILL.mdrules 6-7;skills/agnostic/research/prototype/UI.mdsub-shape A; upstreamemilkowalski/skills/skills/prototypeHard Rule 1.
Question: Where do design variants live?
Accepted answer:
- Variants live in the real app, on the real route, on the working branch, behind a dev-only
?variant=switch. - No standalone HTML prototypes.
- No
prototype/<slug>branch. - No isolated
/prototypes/<slug>route.
Q2
Prerequisites:
- Q1
Question: Which skill is the variant engine?
Accepted answer:
- Emil's
prototypeskill, vendored and adapted so variants stay on the real route (Q1). - Keep its verdict vocabulary:
riff,keep, pluscombineandreject. - design-phase stops calling Matt's
$prototype. Matt'sprototypeandprototype-phasestay unchanged for Finder.
Q3
Prerequisites:
- Q2
Question: How many variants per round?
Accepted answer:
- Default 3. Cap 5 (Emil's cap; not contested).
- Each variant is responsive: it is checked at mobile and desktop widths (follows Q14 and Q19).
Q4
Prerequisites:
- Q1, Q2
Question: How does iteration work, and where do later visual edits enter?
Accepted answer:
variant-round → quality-gate → verdictis an explicit graph loop.riffandcombinereturn tovariant-round.- The round counter and the motion-plan ledger live in the durable handoff, so cold resume continues the same loop.
- A later visual change re-enters at
composewhen the layout changes, otherwise atvariant-round. It never continues outside the design flow.
Q5
Prerequisites:
- Q4
Question:
Does the separate approval gate stay?
Accepted answer:
- No. A
keepverdict is the approval.promotewrites the approved artifact contract. - Axiom kept from the current skill: approval is never inferred from artifact existence.
Branch: UI Code Ownership
Q6
Prerequisites:
- Q1
Evidence anchor:
skills/phases/design-phase/phases/delivery-handoff.md;skills/phases/delivery-phase;skills/agnostic/planning/implement-spec.
Question: Who owns production UI code, and what does delivery do with it?
Accepted answer:
- design-phase writes and commits the UI/UX code.
- delivery-phase does not reimplement UI/UX. It picks up the committed code and adds logic, data, and the rest of the requirement.
- delivery-phase changes design-owned UI files only to fix a defect, and it records each such change.
- Authorization: the user explicitly directed this phase-boundary change on 2026-10-16.
Code consequence:
- delivery-phase and implement-spec gain a rule that design-owned UI files are accepted input. Their contract tests move with the rule.
Q7
Prerequisites:
- Q5, Q6, Q21
Question:
What does promote do?
Accepted answer:
- Run full break-ui on the kept variant.
- Rewrite the kept variant in place as production code on the real route.
- Remove the
?variant=switch. - Keep the worst-case fixtures and their toggle dev-only, as the regression test.
- Commit the result and write the approved artifact contract.
Branch: Brand And Design System
Q8
Prerequisites:
- none
Question: When does the brand gate run, and what does it produce?
Accepted answer:
- The brand gate is the first design step. It runs
brandkitthrough Codex image generation (Q13) and produces brand boards. - It always runs unless fresh brand artifacts already exist.
- Human checkpoint: the user accepts the boards.
Q9
Prerequisites:
- Q8
Question: Who writes DESIGN.md?
Accepted answer:
- design-phase owns a DESIGN.md template in Google Stitch DESIGN.md format.
- The template is filled from the accepted brand boards and intake evidence.
- Do not vendor taste-skill
stitch-design-taste.
Q10
Prerequisites:
- Q9
Evidence anchor:
- upstream
shadcn-ui/ui/skills/shadcn/SKILL.md"Design Systems from DESIGN.md";design-system.mdSteps 1-7.
Observed constraint:
- shadcn Step 1
init --templatecreates a new app. Steps 3-7 work in any project withcomponents.json.
Question: How is shadcn used?
Accepted answer:
- shadcn is the component base. Web UI is built mostly from shadcn components.
- The
design-systemgate maps DESIGN.md to the theme through shadcndesign-system.mdSteps 3-7 inside the existing app: tokens to CSS variables, radius, shadows, fonts, type utilities,cvavariants, design-system page, browser verification. - When the app has no
components.json, the gate runsshadcn initin the existing app. It never uses the--templatenew-app path.
Q11
Prerequisites:
- Q10
Question: What does the design-system gate produce for Expo?
Accepted answer:
- Expo projects get a NativeWind/theme config instead of a shadcn theme.
- The Expo component base (for example
react-native-reusablesorexpo-ui) is parked. User: "not an issue right now".
Q12
Prerequisites:
- Q10
Question: Does the design-system gate stop for the user?
Accepted answer:
- No. The gate validates in the browser and shows the result without a stop.
Branch: Image Generation
Q13
Prerequisites:
- none
Evidence anchor:
- T3
orchestrator_capabilitieslists providercodexwithcanRunCrossProviderChildTask: true.
Question: How does design-phase generate images?
Accepted answer:
- Through Codex. The gate holds explicit calling guidance, in order:
- The agent is Codex: use its own image tool.
- Inside T3:
delegate_taskto thecodexprovider. - Otherwise:
codex execwhen installed. - Else: block and state why.
- No silent fallback.
Unproved runtime behavior:
- Codex child image-tool availability is user-asserted, not verified in this grill.
Q14
Prerequisites:
- Q10, Q13
Question: How are composition images produced?
Accepted answer:
- For each scope unit, use both
imagegen-frontend-webandimagegen-frontend-mobileby default, unless the user specifies one surface. - Image briefs include DESIGN.md, the shadcn-primitive directive (Q15), and the copy lens (Q22).
- Human checkpoint: the user accepts the compositions.
Q15
Prerequisites:
- Q14
Question: Where does the shadcn-primitive directive live?
Accepted answer:
- In a design-phase reference that
composeappends to every image brief. - The vendored imagegen skills stay close to upstream.
Branch: Motion
Q16
Prerequisites:
- Q14
Question:
When does find-animation-opportunities run, and what does it persist?
Accepted answer:
- Right after the accepted compositions, as the
motion-plangate. - It writes a durable per-proposal MOTION-PLAN ledger with entry states
proposed → accepted → built → verified. variant-roundbuilds accepted entries withanimate(web) oranimate-expo(Expo).quality-gatechecks conformance.
Branch: Variant-Round Skill Activation
Q17
Prerequisites:
- Q2
Question:
When is design-taste-frontend active?
Accepted answer:
- Always, for every surface, including app screens, despite its "Not for dashboards or app screens" scope line.
Q18
Prerequisites:
- Q2
Question:
When is redesign-existing-projects active?
Accepted answer:
- Only when the user clearly intends to improve or work on existing UI.
Q19
Prerequisites:
- Q2
Question: Which mobile skill is mandatory?
Accepted answer:
- Emil's
mobile-nativeis mandatory for mobile-responsive web. - Remove HI's
improve-mobile-frontend.
Q20
Prerequisites:
- Q2
Question:
Which other skills does variant-round compose?
Accepted answer:
- shadcn components,
design-taste-frontend,image-to-code,emil-design-eng,animateoranimate-expo,mobile-native(web), andredesign-existing-projectswhen Q18 applies.
Branch: Quality Gate
Q21
Prerequisites:
- Q4
Question: When does break-ui run, and what is a pass?
Accepted answer:
- A light break-ui check on every variant in every round. A full run before promote.
- Pass: zero open "What broke" items, every "Decision for you" closed by the user, fixture and toggle dev-only. (Conservative default from R1; not contested.)
- Every UI/UX element must pass break-ui before promote.
Q22
Prerequisites:
- none
Question: What is the copy lens?
Accepted answer:
- Taste v2
references/copy.mdplus the imagegen "Copy AI tells" list. - Keep
full-output-enforcementas a separate guard against truncated code.
Q23
Prerequisites:
- Q16, Q19, Q21, Q22
Question:
What does quality-gate check before the user sees variants?
Accepted answer:
- Light break-ui, the
mobile-nativechecklist,review-animations, the copy lens, and MOTION-PLAN conformance. It records pass/fail per variant. - Only variants that pass reach the verdict.
Branch: Vendoring And Packs
Q24
Prerequisites:
- Q2, Q19, Q21
Question: Which upstream skills are vendored, and how?
Accepted answer:
- From Emil, at one shared pin:
prototype(adapted per Q1),break-ui(withCATALOG.md),mobile-native,emil-design-eng,find-animation-opportunities. Refreshanimateandanimate-expoto the same pin. - Remove the "Initial Response" greeting from every vendored Emil skill. Inside design-phase they run without waiting.
- From taste-skill:
brandkit; refreshredesign-existing-projectsand add it toskills.ts. - From shadcn:
shadcnwith itsrules/,design-system.md,design-system-page.md, andscripts/. - Each edited copy records its edits in
UPSTREAM.md.emil-kowalski-animation-provenance.contract.test.mjschecks the stated diff instead of byte identity.
Q25
Prerequisites:
- Q19
Question: What is removed?
Accepted answer:
gpt-tasteandimprove-mobile-frontend, with their tests and references.
Q26
Prerequisites:
- Q24
Evidence anchor:
apps/cli/src/data/catalog/packs.tspacksplanning,frontend,expo;apps/cli/src/registry/shape.ts:surfaceApplies.
Question: Which packs hold design-phase and its skills?
Accepted answer:
- Move
design-phaseout ofplanningintofrontend. frontendholds every design skill above, includingshadcn.animate-expostays inexpo(already present; satisfies the original "include in expo pack" request) and moves to the shared pin.
Code consequence:
- design-phase installs only where
nextjsorreactis detected. Expo apps qualify throughreact.
Branch: Durable Artifacts And Checkpoints
Q27
Prerequisites:
- Q4, Q16
Question: Where do the design handoff and artifacts live?
Accepted answer:
- Beside
SPEC.md. Images become durable throughrepo-asset-management. - Illustrative: exact folder and filenames are confirmed during
write-graph-based-skills.
Q28
Prerequisites:
- Q8, Q12, Q14, Q4
Question: Where does design-phase stop for the user?
Accepted answer:
- Brand (accept boards), compose (accept compositions), verdict (riff, combine, keep, reject).
- design-system does not stop (Q12).
Accepted Target Graph
router
├─ intake surface (web | expo), existing-UI intent, routes, components.json,
│ DESIGN.md, theme, brand artifacts, screenshots → confidence
├─ grill lean scope units + constraints (requirements-grill)
├─ brand brandkit via Codex → boards [HUMAN accept] skip if fresh
├─ design-system DESIGN.md (Stitch template) → shadcn theme + cva variants + DS page
│ | Expo: NativeWind theme → browser check
├─ compose web + mobile screens via Codex + shadcn-primitive directive
│ + DESIGN.md + copy lens [HUMAN accept]
├─ motion-plan find-animation-opportunities → MOTION-PLAN ledger
├─ variant-round ◄──────────────────────────────────────────┐
│ 3 variants on the real route (?variant=), shadcn components,
│ design-taste-frontend, image-to-code, emil-design-eng,
│ animate | animate-expo, mobile-native, redesign-existing-projects (if intent)
├─ quality-gate light break-ui, mobile-native, review-animations,
│ copy lens, motion-plan conformance
├─ verdict HUMAN: riff | combine | keep | reject ──────┘
├─ promote full break-ui → rewrite in place → remove switch → commit + contract
├─ backlog link commit + artifacts, or return to requirements-phase
└─ delivery-handoff UI is committed; delivery adds logic onlyGlossary Decisions
Glossary Q29
Question: Which terms are canonical for the redesigned design-phase?
Accepted answer:
- Canonical term: Variant Round — one pass that builds the round's variants on the real route and runs the quality gate.
- Avoid: prototype, prototype round
- Canonical term: Variant — one divergent design direction for a scope unit, rendered in the real app behind
?variant=. - Canonical term: Verdict — the user's decision on a variant round: riff, combine, keep, or reject.
- Canonical term: Promote — rewriting the kept variant in place as committed production UI code.
- Canonical term: Design-Owned UI Code — UI code that design-phase committed through promote.
- Canonical term: Brand Kit — the accepted brandkit boards that define brand identity.
- Canonical term: Composition — an accepted generated image of a screen or UX piece.
- Canonical term: Motion Plan — the durable ledger of animation opportunities per composition, with entry state.
- Canonical term: Quality Gate — the checks every variant passes before the verdict.
- Canonical term: shadcn-Primitive Directive — the design-phase reference appended to every image brief.
- Relationship: a Variant Round contains 3 to 5 Variants.
- Relationship: Promote follows exactly one
keepVerdict and produces Design-Owned UI Code. - Axiom: every variant lives in the real app on the real route; never standalone HTML, a prototype branch, or an isolated prototype route.
- Axiom: delivery-phase never reimplements Design-Owned UI Code.
- Axiom: no variant reaches the verdict without passing the quality gate; no variant is promoted without a full break-ui pass.
- Axiom: image generation never silently falls back.
- Axiom: approval is never inferred from artifact existence.
Supersession — 2026-10-22
The entries above stay unchanged as history. The baseline-video-retro-plan-move grill adopted Taste 2.1 and supersedes these decisions.
Q17 superseded
Superseded by: Q2.
Current answer:
design-taste-frontendis active always, for every surface. Taste 2.1 covers landing pages and app screens (references/app-screens.md), so Q17 needs no exception to its scope line.
Q18 superseded
Current answer:
redesign-existing-projectsis removed. Taste 2.1 retired it.- For existing-UI intent
improve-existing, variant-round passes the intent todesign-taste-frontend, which runs its route "Redesign, restyle or review of an existing page or app screen".
Q22 and Q24 partly superseded
Superseded by: Q3.
Current answer:
- The copy lens of Q22 stays.
full-output-enforcementis removed, so the Q22 line that keeps it is superseded. - The Q24 line that refreshes
redesign-existing-projectsand adds it toskills.tsis superseded. The other Q24 lines stay. - The Accepted Target Graph line
redesign-existing-projects (if intent)now reads as the Taste redesign route.