/design:ui-directionfrom design
Art direction before a page is built: reads the brief, writes three direction contracts that differ in style, colour and image source, lets the person pick one, and turns the pick into a locked world (palette, type scale, shape) that frontend-ui-ux builds from. Use when a landing page, launch page, portfolio or other read-once page should look designed for its subject and not like a template: 'give it a real concept', 'art-direct this', 'make it look like an agency built it'; 컨셉부터 잡아줘, 아트 디렉션, 템플릿 같지 않게. Not for building the page (frontend-ui-ux), judging a finished page (design-critique) or checking breakage (visual-qa).
Ships in design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A page reaches a high bar when it has one subject, an image source that is not CSS, type at a scale
that takes a risk, and a concept that fits in a sentence. A house style cannot supply any of the
four. This skill decides them before any markup exists and hands frontend-ui-ux a world to build in.
It writes text and one style file. It builds no page.
graphite from
frontend-ui-ux and a mode: operate contract is at most five lines.design-lock.mjs init --from.Read the subject, not the category. List what exists in the audience's world: objects, places, materials, tools, printed matter, the light they are seen in. Ten concrete nouns at least. A direction comes from these, never from "SaaS landing page".
Name the rut. Write the page a model produces by default for this brief in one line (for example "centred headline over a soft gradient, three feature cards, logo row"). Each candidate must avoid it.
Write three contracts. Use references/direction-contract.md. The three must differ on at
least two of style, colour and imagery. Take the axis words from the vocabulary in that
file. One candidate may start from a seed in seeds/; the other two start from the nouns in step 1.
A "category standard" candidate is allowed as a fourth, labelled as such and not recommended.
Check them. node scripts/check-contract.mjs a.md b.md c.md must print complete for each and
report no pair as too similar. This checks that they are filled in, never that they are good.
Let the person choose. Show the three as one screen each: thesis, first viewport described in two lines, palette as five swatches, image source. Ask once. The person may ask for a re-roll, or mix two. When they hand the choice over, pick the candidate furthest from the rut and say which.
Build the world. Write a seed for the chosen contract (the fields in seeds/*.json: paper,
ink, two accents, fonts, display and moment size, radius, shape overrides, mode, effects, imagery)
and run:
UI_DIRECTION_ROOT="<directory containing this SKILL.md>"
node "$UI_DIRECTION_ROOT/scripts/world.mjs" build <seed.json> --out <project>/.design/world.json
node "$UI_DIRECTION_ROOT/scripts/world.mjs" check <project>/.design/world.json
build derives every colour role and moves each one until its text pairs clear 4.5 in light and
dark. check prints any pair that still misses; fix the seed, not the output.
Hand over. Keep the contract at <project>/.design/direction.md. Then frontend-ui-ux locks
the world with design-lock.mjs init --from <project>/.design/world.json --family landing --moment <kind> --moment-note "<the FIRST VIEWPORT line>" --dir <project> --scaffold and builds.
The contract's FIRST VIEWPORT, FORM and FINISH blocks are build requirements, not mood.
A world sets palette, display and moment size (past the kit's 96 px), weights, tracking, radius and
the shape block. It names fonts; a font the kit does not carry falls back to the kit's until the
project supplies the file and its licence. It declares mode, effects and imagery in its world
block. references/taste-floor.md says which effects each mode allows; none is on unless declared.
The finish layer for those effects is finish/effects.css (grain, depth, glass, pointer light) with
finish/effects.js for the pointer. Copy both beside the page, link them after ui/components.css,
and list the world's effects on the root: <html data-fx="grain depth">. Grain and the pointer light are empty
overlay elements (fx-grain, fx-light) placed inside the element that holds the image, so they
never take over a pseudo-element the page already uses. A class from the layer does nothing while
its effect is absent from that list. Then check the page against the world:
node "$UI_DIRECTION_ROOT/scripts/check-effects.mjs" <project>/.design/world.json <page.html> <page.css>
It reports an effect the page uses and the world did not declare, a declared effect the page never uses, a second pointer-lit element and a second hero canvas.
The shader effect, allowed only in experience mode, is the hero field: one
<canvas data-fx-hero="sweep"> drawn by finish/hero.js from the page's own palette tokens, with a
poster image behind it that shows when WebGL2 is missing and under reduced motion. Its contract, the
three fields, how to make the poster and how to verify frames at t = 0, 1, 3 and 6 s with a contrast
check on the worst one are in references/shader-hero.md.
Project state (direction.md, world.json, earlier picks) lives in <project>/.design/. Nothing is
written into the plugin folder.
references/imagery.md covers sources, the size an image needs
(scripts/check-imagery.mjs <image> --shown <css px>), the matte that lets the subject cross
the type, and the image plan for the sections after the first.finish/effects.css (opens in a new tab)finish/effects.js (opens in a new tab)finish/hero.js (opens in a new tab)references/direction-contract.md (opens in a new tab)references/imagery.md (opens in a new tab)references/shader-hero.md (opens in a new tab)references/taste-floor.md (opens in a new tab)scripts/check-contract.mjs (opens in a new tab)scripts/check-effects.mjs (opens in a new tab)scripts/check-imagery.mjs (opens in a new tab)scripts/world.mjs (opens in a new tab)seeds/broadsheet.json (opens in a new tab)seeds/signal.json (opens in a new tab)seeds/workbench.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub wjgoarxiv/wjgoarxiv-skills --plugin design4 skills in this plugin
/design-critiqueA blind design critic for a rendered page, cover or film still: a fresh reader with no build context looks at the screenshots beside the direction contract, returns at most five notes with evidence and a verdict (recapture, rebuild, fix, ship), and in later rounds compares the new render with the previous one without knowing which is which. Use after a page or still exists and the question is whether it is good, not whether it is broken: 'critique this design', 'is this actually good', 'why does it look generic'; 디자인 비평해줘, 왜 밋밋한지 봐줘, 미감 평가. Not for breakage at viewport sizes (visual-qa), for building (frontend-ui-ux) or for setting the direction (ui-direction)./frontend-ui-uxBuild and inspect authorized interfaces; clarify material choices and keep reviews read-only./visual-qaCheck an interface that is already built: exercise its states at several viewport sizes, capture screenshots, and report visible breakage with that evidence, or name exactly what blocked the check. Use after a page or screen exists; building or restyling it belongs to frontend-ui-ux.