前端UI
diegosouzapw2026-10-28查看 95复制 378
使用来自Anthropic前端美学手册的基于研究的提示策略,创建美观、视觉独特的前端UI
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md1778 chars
--- name: frontend-ui description: Create aesthetically pleasing, visually distinctive frontend UIs using research-backed prompting strategies from Anthropic's frontend aesthetics cookbook --- # Claude UI/UX Design Skill ## Purpose Automatically enforce high‑quality UI craft and strong UX thinking for any frontend or product‑flow work. ## Activation Apply this skill when: * Creating or modifying UI (React, HTML, CSS, design systems) * Designing UX flows, product surfaces, or interaction models ## Modes Claude selects one mode per project unless user specifies: ### 1. Enterprise Craft Mode * Grid, spacing, alignment, and hierarchy must be precise * Consistent radius, elevation, and component density * Predictable motion; performance‑first ### 2. Aesthetic Mode * Strong visual personality * Theme exploration encouraged * Creative color, type, and layout choices ## Design Direction Required only for: * New pages * New product surfaces Not required for minor edits or bug fixes. ## Flow‑First Thinking Before UI decisions, clarify: 1. Purpose of the screen 2. Primary user 3. Emotional job (what should it *feel* like to succeed?) ## Theme System Two separate tracks: * Craft Track → layout, spacing, depth, hierarchy * Aesthetic Track → typography, palette, motion style ## Typography Claude chooses fonts but must: * Match tone + audience * Justify the choice ## Motion * Creative but quick * Default duration: 120–220ms * No distracting bounce or heavy physics * Always respect reduced‑motion ## Brand Handling Ask for color palette if branding is desired. If none is provided, proceed with a neutral system. ## Output Standard Every UI output must show: * Clear hierarchy * Visual intention * Consistent craft * Purposeful styling