霍尔马克页面设计 是做什么的?
Makes the UIs a coding assistant generates look made, not generated: a hard floor against the defaults every model was trained into, a dealt direction so consecutive builds do not converge, one idea per screen. Above the floor the page is yours: you are a capable designer.
Powered by Together AI.
The Floor
Binds every output in every harness, none of it waivable, even when nothing else is read.
- Every colour and every font goes through a token declared at
:root(or a declared theme block). No literal colour orfont-familypast the token block. (48) - Never
transition: all. Never animatewidth,height,toporleft. (10a) - Never one italic word inside a roman heading. (38i)
overflow-x: clipon bothhtmlandbody. Neverhidden, never100vw. (34)- Image-bearing grid tracks use
minmax(0, 1fr); display heads carryoverflow-wrap: break-word; min-width: 0. (50) - Every interactive element has
:focus-visible, appearing instantly. (26a, 15) - Every animation has a
prefers-reduced-motion: reducefallback, and content is visible with scripting off. (27, 62) - Never an invented metric, testimonial, logo wall or case-study count. (46a)
- Never an eyebrow, and never a label in tracked capitals or small caps: labels, captions, table heads, tags, definition terms (
dt) and nav links are the body face (or the theme's label face), a step smaller, sentence or lower case, untracked. Do not settext-transform: uppercaseon any of them, even when the heading face is uppercase by design. (54, 67) - Never middle-dot-joined meta strings, arrows glued to link text, or decorative status dots. (63)
- Never a gradient on text (
background-clip: text) of any hue, never a purple-to-blue gradient, a card inside a card, an emoji as an icon, or a hand-drawn browser or OS window. (2a, 4, 30a, 47a) - The hero's headline, one sentence and primary action are all visible at 1280 x 800 without scrolling. (44b)
- About 80 words on any one screen; the hero's text is the headline, one sentence and its actions. (58)
- The container is capped and centred: at 1920 the gutters grow, the measure and the grids do not. (44d)
- The first non-empty line of the CSS source is the Hallmark stamp, then the critique line, then any waivers. (20) Delete any earlier comment header above the stamp; a non-Hallmark comment on line 1 fails the check.
- If Node is available, run
node <skill-dir>/scripts/sloplint.mjs <output> --renderbefore handing back. Fix everyFAIL; fix or waive everyREFLEX.
Above the Floor, a Reflex gate is a default a model falls into, waivable on the record with a real reason, and a Finish check is craft detail, answered, never blocking (references/gates.md § 1 and § 2).
During implementation and the final sweep, check lint pitfalls.
For new UI, use Hallmark for design direction. Use ui-ux-pro-max when a design-system, accessibility or stack lookup would resolve a specific question.
Flow
- Pre-flight: read the project before asking anything.
- Ask once: material, audience, use, tone.
- Shape: design the page, then name it.
- Direction: deal a theme, or design freely when asked for custom. A reference image or named design the user sends replaces the dealt theme: rebuild from that reference's palette, type and shapes, not by patching the previous build, and stamp
theme: by requestso the reference is recorded as the source. - Load the layout, imagery, craft, genre and theme files and
gates.md§ 1 to § 4. - The Picks block, once.
- Build: the hero first, then the page; stamp,
tokens.css, log. Run any scaffold or theme script from a scratch directory: scaffolds writetokens.cssandbase.cssinto the current directory, so a run inside the skill folder leaves stray files there that must be deleted. - Sweep:
sloplint --renderuntil clean, the judged gates, the finish review, the material ask. Run sloplint before handing back, not only when asked; a build that skipped it has not passed the Floor. Rerun it after every final edit, including one-line fixes; a lint run before the last edit does not cover that edit. Then preview in a real browser at 1440 and 390 px: start the preview server with the host's background-process option (Claude Coderun_in_background, Hermesterminal(background=true); a foreground&may be refused), and confirmdocument.documentElement.scrollWidthequals the viewport width at each size. Screenshot every section at both widths, not only the first screen: the sticky, scroll-driven and bento blocks break at phone width while the hero looks fine. Report which sections were checked; an unchecked section is not a passed section.
Named style requests (for example "Apple style", a product-page look): read references/apple-product-page.md and still pass the Floor. The request replaces the dealt theme, so stamp theme: by request.
Verbs, only when the user names Hallmark: redesign <target> (a full redesign keeping content and wiring) and audit <target> (a report); read references/redesign.md first. Any other change to an existing design is not a Hallmark run: do it as asked, in the project's own system.
Codex CLI and OpenCode read references/flow.md § Harnesses first; other harnesses run this file as written.
Steps
Before building, read references/build-steps.md once: Step 0 Pre-flight, 1 Ask once, 2 Shape, 3 Direction, 4 Load, 5 The Picks block, 6 Build, 7 Sweep. Do not start a page build from the Flow list alone.
Branches
references/flow.md, one section at a time: component scope, app screens, signal 8, comp before build, the harness levers, the pre-flight edge cases, fast mode (--fast, or a prompt that says quick, rough or prototype) and the edit-time hook. In an existing project, name the files you will touch first; never delete a route or a component tree without a file-level plan the user approved.