⌘ K
… 读取采集状态 同步中...
雷
原文
AI For Developers· AI For Developers·· 2026-07-26AI 评分58

在 Claude Code 中用 DESIGN.md 约束 UI 生成

DESIGN.md for Design in Claude Code

AI 导读

文章介绍用项目根目录下的 DESIGN.md 描述设计系统,让 Claude Code 等编码智能体在生成 UI 时保持视觉一致。作者建议在 CLAUDE.md 中用 @ 前缀引用该文件,并强调只列颜色和字号不够,还需写明颜色用途、组件状态和明确的禁止项。

本文当前提供导读和图片预览,完整图文请查看原文。

来源:AI For Developers · aifordevelopers.substack.com