Studio Code: pick the look first and save it as DESIGN.md, then pick the layout in that look - #4833
Merged
Merged
Conversation
Collaborator
📊 Performance Test ResultsComparing 053855d vs trunk app-size
site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
…the layout in that look Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
youknowriad
force-pushed
the
claude/design-md-overview-a192a2
branch
from
September 13, 2026 10:57
1165984 to
1c1711b
Compare
…ns two per row with a viewer to flip and choose Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…e way without repeats Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
How AI was used in this PR
Designed and built with Claude Code (Opus 5) in a working session with me: design discussion, implementation, a simplification pass, and verification. I reviewed the changes and the live runs.
Verified with lint, typecheck, and unit tests; the single-page build eval (passes, including a new check that
DESIGN.mdis written with its design tokens); a livestudio uirun through both picks; and rendered sample boards. The last live app run happened before the final simplification pass, which is covered by unit tests, sample renders, and the eval.Worth a close look: the board renderer (
renderDesignBoard), thepick_designcontract change, and the skill wording.Proposed Changes
DESIGN.mdat the site root, in the open DESIGN.md format (design tokens in YAML front matter, then sections covering colors, typography, components, imagery, motion, and voice). Later Studio Code sessions on that site are told the file exists and follow it for design and content work; other coding agents find it through the site'sAGENTS.md.DESIGN.mddraft — palette swatches, type, buttons on the palette, the site name, and the option's image — so the user picks exactly what gets saved.DESIGN.md(the active-site line already says whether one exists) or lists plugins and themes before the design is settled;DESIGN.mddescribes no page structure until the layout is picked;theme.jsonreusesDESIGN.md's color names.avoidoption ofpick_designis gone.yamlbecomes a direct CLI dependency (it was already in the tree).Testing Instructions
npm run cli:build:ui && node apps/cli/dist/cli/main.mjs ui --no-openand open http://localhost:8081.DESIGN.mdappears at the site root; four layout sneak peeks appear in that look; pick one; the Layout section ofDESIGN.mdrecords it; the build follows.DESIGN.mdfirst and writes in its voice.npm run eval -- --filter-pattern "single-page site build keeps".Pre-merge Checklist
🤖 Generated with Claude Code