Fronted Design
Designfronted-designFronted Design 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.
当需要设计或实现高质量前端页面/组件(Web UI、美化、落地页、控制台)时使用。
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/.cursor/skills/fronted-design/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fronted-design, 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/fronted-design/SKILL.md- 可配合:
.cursor/skills/visual-design-foundations/SKILL.md - 可配合:
.cursor/skills/interaction-design/SKILL.md
适用场景
- 从需求到页面落地的 UI 实现任务。
- 需要提升现有界面的视觉层级与一致性。
- 需要在不改业务逻辑前提下优化体验。
非适用场景
- 不用于替代业务接口设计或数据库建模。
- 不用于无依据的大改风格(需与品牌/产品目标一致)。
执行步骤
- 明确页面目标、核心用户任务与成功标准。
- 设计结构层级:布局、信息密度、主要操作路径。
- 定义视觉规则:颜色、字体、间距、状态反馈。
- 补全交互细节:hover/focus/loading/empty/error。
- 交付前检查响应式、可访问性与性能边界。
常见陷阱
- 只改样式不改信息层级,导致可用性仍差。
- 动效过多影响主任务与页面性能。
- 忽略空态与错误态,导致体验断层。