Visual Design Foundations
Designvisual-design-foundationsVisual Design Foundations is an Agent Skill for design published in the sunflowermm/XRK-AGT repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
当需要优化视觉基础(字体、色彩、间距、图标与层级)并提升一致性时使用。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sunflowermm/XRK-AGT/blob/HEAD/.claude/skills/visual-design-foundations/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/visual-design-foundations, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
权威入口
.cursor/skills/visual-design-foundations/references/typography-systems.md.cursor/skills/visual-design-foundations/references/color-systems.md.cursor/skills/visual-design-foundations/references/spacing-iconography.md
适用场景
- 需要统一视觉语言并建立可复用规范。
- 需要修复页面层级混乱、对比不足、节奏失衡。
- 需要沉淀基础视觉 token 与组件视觉规则。
非适用场景
- 不用于替代交互流程与业务逻辑设计。
- 不用于单次临时页面的随意风格调整。
执行步骤
- 先定义字体层级与字重使用边界。
- 约定主辅色、语义色和中性色梯度。
- 统一间距尺度与组件内外边距节奏。
- 规范图标风格、尺寸与对齐策略。
- 形成可复用的设计检查清单。
常见陷阱
- 字体和颜色缺少语义命名,难以维护。
- 同一页面混用多套间距节奏。
- 图标视觉重量不一致,导致界面噪声高。