hallmark README

项目的 README,来自 github.com/Nutlope/hallmark。合并为一个 markdown 文件:README.md。

Hallmark

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, the design skill that ends AI slop

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.

New in v2

Themes

Dusk theme: Closewise, bank reconciliation Cobalt theme: Relay, a webhook API Studio theme: Field Office, an identity studio Atelier theme: Maison Orla, a fragrance atelier Ribbon theme: Lull, a sleep sounds app
Dusk
Closewise, bank reconciliation
Cobalt
Relay, a webhook API
Studio
Field Office, an identity studio
Atelier
Maison Orla, a fragrance atelier
Ribbon
Lull, a sleep sounds app
Furrow theme: Fieldbook, farm records Dose theme: Tandem, a family medication app Refract theme: Bellwater Lido, an outdoor pool Vantage theme: Swath, construction site scans Hedgerow theme: Five Mile Gin, a distillery
Furrow
Fieldbook, farm records
Dose
Tandem, a family medication app
Refract
Bellwater Lido, an outdoor pool
Vantage
Swath, construction site scans
Hedgerow
Five Mile Gin, a distillery

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.

Custom

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.

How a build runs

  1. Pre-flight reads the project (fonts, palette, framework, a locked design.md) and asks once for the material: photos, screenshots, real numbers. Nothing is invented.
  2. scripts/theme.mjs deal offers three themes that fit the prompt and clear the log; draw deals the page's anatomy from its job.
  3. The hero is built alone, rendered and reviewed cold before the rest of the page exists.
  4. 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.

Redesign

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.

Install

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

Inspired by

Impeccable · frontend-design · Open Design · Kami · taste-skill · huashu-design · UI UX Pro Max · Emil Kowalski's skills · Web Interface Guidelines

Licence

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.

hallmark (Nutlope/hallmark)

正在搜索数据库…

这是什么?Hallmark 是一个面向 AI 编程工具——Claude Code、Cursor 和 Codex——的设计技能,用来生成看不出是 AI 做的网页界面。它由 Together AI 出品。
所以它不是一个能直接运行的应用——它怎么接入我的编程工具?它以技能的形式提供:一份 SKILL.md 规则集,加上一个存放设计规则的 references/ 文件夹。你把它们复制到编程工具的配置目录里,之后工具每次生成界面时都会遵循这些规则。
怎么在 Claude Code、Cursor 或 Codex 上安装它?把 SKILL.md 和 references/ 复制到对应工具的目录:Claude Code 是 ~/.claude/skills/hallmark/,Cursor 是 .cursor/rules/hallmark.mdc,Codex 是 ~/.codex/skills/hallmark/。想更新就重新执行一次安装。
如果我对现有的页面运行检查,它会改动我的代码吗?不会——'hallmark audit' 只会给代码打分并返回一份待办清单,绝不会动手改代码。想真正修改,需要用默认的构建命令或 'hallmark redesign'。
如果目录里的 21 个主题都不符合我的需求,会怎样?Hallmark 会切换到 Custom 模式,从零开始设计页面——自己配色、选字体、定布局——同时照样跑完全部 57 项 AI 味检测关卡。它会保持为一个安静的分支,普通需求永远不会碰到它。
如果我让 hallmark study 分析一个我很喜欢的设计,它会照抄吗?不会——它提取的是设计基因(整体结构、字体搭配、色彩基调),并且拒绝像素级复刻和付费模板。它还能输出一份可移植的 design.md,方便你交给其他 AI 工具使用。
安装之前,在哪里能看到 Hallmark 生成过的真实页面?可以浏览 usehallmark.com 上的在线演示,或者看仓库里的 site/tests/ 文件夹,里面收录了各种不同需求生成的示例页面;更完整的实例在 docs/recipes.md 和 docs/study-examples.md 里。
作者
Nutlope
大小
228 MB
星标
65.2K
更新
提交Nov 11
时长
7个月
提交 · 90 天