
为 Claude Code、Cursor 和 Codex 提供防AI低质量设计的CSS技能
近期AI生成代码质量问题受到关注,该项目提供解决方案,获得大量关注
为国内开发者提供提升AI生成代码质量的实用工具
适用于需要提升AI生成代码质量的设计和开发场景
A design skill for Claude Code, Codex, Cursor and OpenCode that refuses to look AI-generated.
usehallmark.com · fifty themes · custom on request · redesign and audit by name
Made by Together AI.
Hallmark holds a hard floor and then gets out of the way. It deals three themes from a catalog of fifty materials, builds the page around what the visitor came to do, and lints the result in a real browser against the tells that read as machine-made: the eyebrow above every heading, tracked-capital labels, one coloured word in a headline, a page of empty frames or nothing but photographs, a hero that misses its screen, an email sign-up at the end of every page, a form that says thanks without sending anything. A fresh-context reviewer gets the last word.
The gates come in tiers. The Floor never ships (contrast, focus, reduced motion, invented facts, a broken phone layout). Reflex gates are the defaults a model falls into; a build with a reason may overrule one on the record. Finish checks are craft detail that never blocks a ship.
/hallmark redesign <path> rebuilds a page and keeps its content and wiring; /hallmark audit <path> only reports.Ten of the fifty. A theme is a material, not a plan: it never says what a page contains or in what order, so two prompts in one theme make two different pages. Each is one file of at most 8 KB in references/themes/ with a picture beside it; a build reads exactly one. See them all at usehallmark.com.
Say custom and Hallmark drops the themes: no plan, no components, no palette recipe, only the floor, the gates and a short direction in direction.md to find one idea that only this client has and let it run the page.
design.md) and asks once for the material: photos, screenshots, real numbers. Nothing is invented.scripts/theme.mjs deal offers three themes that fit the prompt and clear the log; draw deals the page's anatomy from its job.scripts/sloplint.mjs --render checks the page at eight widths, then a subagent reviews it with fresh eyes.Each page is self-contained HTML and CSS, stamped in its first CSS comment with the decisions it took.
Hallmark never starts on a design that already exists unless you name it:
/hallmark redesign ./src/app
/hallmark audit ./index.html
A full redesign keeps the content and the wiring and changes the system and the layout; say keep the layout for a restyle or polish for only the tells. sloplint --before records every link, field, handler and heading first, sloplint --kept fails the redesign if one went missing, and the handoff is a side-by-side before and after.
npx skills add nutlope/hallmark -g
-g installs for every project; leave it off to install into the current one. Needs Node 18 or later. The browser checks (sloplint --render, screenshots) also need npm i -g puppeteer-core and Chrome; without them the static checks still run.
| Harness | Lands in | Invoke |
|---|---|---|
| Claude Code | ~/.claude/skills/hallmark |
/hallmark <prompt> or describe a new build |
| Codex CLI | ~/.agents/skills/hallmark |
$hallmark <prompt> or describe a new build |
| Cursor | finds the copies above | /hallmark <prompt> or describe a new build |
| OpenCode | finds the copies above | /hallmark <prompt> or describe a new build |
npx skills add nutlope/hallmark -g --agent claude-code (or codex, opencode, cursor, github-copilot)./plugin marketplace add nutlope/hallmark, then /plugin install hallmark@hallmark (invoked as /hallmark:hallmark).node skills/hallmark/scripts/install.mjs validates every theme and reference before it copies; install-hook.mjs adds an edit-time Floor check to Claude Code.node skills/hallmark/scripts/sloplint.mjs <file-or-dir> --render.Impeccable · frontend-design · Open Design · Kami · taste-skill · huashu-design · UI UX Pro Max · Emil Kowalski's skills · Web Interface Guidelines
MIT. Use it, fork it, ship it.
The photo library (skills/hallmark/scripts/photos.json) lists photographs hosted on Wikimedia Commons and holds no image files. Each keeps its own licence (CC0, public domain, CC BY or CC BY-SA), and Hallmark credits every one it uses on the page. It does not use stock sites (Unsplash, Pexels, Pixabay), whose terms bar AI tools from picking their images.
同属 开发工具 类型 · 适合同类用户的其他选择