Turn vague taste, screenshots, URLs, product notes, or "make it feel like this" references into a grounded DESIGN.md plus an implementation handoff. Use it befo
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-reference-design-contract-42b7cc3499da ,按照其中的说明把「reference-design-contract」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this skill when the user has taste signals, references, or a rough "like this" request and needs a reusable design contract before generation. The goal is not to write a longer prompt. The goal is to make design decisions explicit enough that a later prototype, deck, redesign, or image-remix run can execute without guessing.
Create three files:
DESIGN.md — the reusable visual direction, following OpenDesign's
standard nine-section design-system shape.design-contract.md — the decision record: evidence used, keep/change
boundaries, rationale, risks, and quality gate.implementation-handoff.md — concise build instructions for the next
artifact-producing skill or coding agent.If a preview is useful, also create example.html as a small hand-built
contract preview. Do not make it the main deliverable.
DESIGN.md,
brand docs, image artifacts, or user notes. If evidence is missing, say so
and base the contract on the brief only; do not invent brand facts.Keep: qualities to preserve, such as density, composition, material,
typography rhythm, color temperature, or motion attitude.Change: subject matter, copy, brand marks, exact layout, protected
assets, and anything the user wants adapted.Do not copy: literal screenshots, logos, claims, pricing, proprietary
UI, or exact prompt wording from examples.DESIGN.md. Use these nine headings exactly:
## 1. Visual Theme & Atmosphere## 2. Color## 3. Typography## 4. Spacing & Grid## 5. Layout & Composition## 6. Components## 7. Motion & Interaction## 8. Voice & Brand## 9. Anti-patternsdesign-contract.md. Include:
observed, provided, inferred)implementation-handoff.md. Keep it short and operational:
references/checklist.md and satisfy every P0 gate
before final handoff.