| 从头设计或为 Ardot 项目应用视觉主题时使用此技能。 涵盖 `search_style_guide` → `build_style_guide` 工作流程,用于发现和应用完整的设计系统(颜色、排版、间距、布局模式)。 触发条件:"设计落地页"、"创建仪表板"、"应用深色主题"、 "设置设计系统"、"选择调色板"、"为应用选择字体"、 "样式指南"、"视觉风格"、"外观和感觉"。
npx skills add https://github.com/balabalabalading/huuuuuuho-skills --skill ardot-style-guide
通过 search_style_guide → build_style_guide 工具链发现和应用完整的设计系统。Ardot 独有的能力,Figma 没有等效功能。
batch_edit 之前使用此技能build_style_guide 的输出是权威性的 — 所有下游工具必须严格遵循其值fetch_editor_state(includeSchema: true)fetch_guidelines(topic)提供特定关键词以定位用户意图。
search_style_guide({
"topic": "landing-page", // 或 web-app、mobile-app、slides、table
"designKeywords": "SaaS dashboard modern clean professional",
"colorKeywords": "dark mode cool blue professional",
"typographyKeywords": "modern sans-serif clean readable",
"layoutKeywords": "dashboard analytics cards grid"
})
收到结果后,逐一审查每个领域:
get_available_fonts 检查)?如果某个领域的所有候选都合适 → 继续到 build_style_guide。
对于第一轮没有合适匹配的领域,再次调用 search_style_guide,对该领域的关键词使用 true 以获取完整目录:
search_style_guide({
"topic": "landing-page",
"designKeywords": "SaaS dashboard",
"colorKeywords": true, // 颜色的完整目录
"typographyKeywords": true // 排版的完整目录
})
仅对第二轮后仍无合适匹配的领域,你可以使用自己的设计知识。这应该很少见。
一旦你在所有领域做出选择,调用 build_style_guide:
build_style_guide({
"selections": {
"style": 2, // 搜索结果中的索引或名称
"color": 1,
"typography": 3,
"layout": 0
}
})
build_style_guide 响应提供必须使用的精确值:
#HEX 或 {r, g, b} 值 — 不要调整> 硬性关卡:如果设计系统说背景是 #FAF5FF,使用 #FAF5FF
> (转换为 0–1 范围用于 batch_edit)。如果你意识到它与用户意图冲突
> (例如,用户想要深色但得到浅色),返回 search_style_guide 使用更正后的关键词
> — 不要静默覆盖值。
样式指南十六进制颜色 → batch_edit {r, g, b} 0–1 格式:
#FAF5FF → {r: 0.98, g: 0.96, b: 1.0}
#1A1A2E → {r: 0.10, g: 0.10, b: 0.18}
#E8714A → {r: 0.91, g: 0.44, b: 0.29}
将样式类别名称与用户描述匹配。信任内容而非搜索分数 — 匹配意图的低分候选比不相关的高分候选更好。
具体检查背景(主表面颜色)、卡片(次表面)和前景(文本/图标)值。这三个值告诉你调色板是浅色还是深色。
在选择之前使用 get_available_fonts 验证字体可用性。如果两种字体都不可用,字体配对就没有用。检查标题和正文字体。
将模式名称与功能意图匹配。例如,"pricing" → 寻找比较/表格布局;"dashboard" → 寻找卡片网格布局。
| topic | 用途 | 典型 designKeywords |
|-------|------|---------------------|
| landing-page | 营销页面、主页、促销网站 | "hero section"、"CTA"、"features" |
| web-app | SaaS 仪表板、管理面板、内部工具 | "dashboard"、"data table"、"sidebar" |
| mobile-app | iOS/Android 应用屏幕 | "bottom nav"、"cards"、"list" |
| slides | 演示文稿 | "title slide"、"content"、"chart" |
| table | 数据表和仪表板 | "data grid"、"filters"、"pagination" |
1. fetch_editor_state(includeSchema: true)
2. fetch_guidelines(topic) → 页面类型的设计规则
3. get_available_fonts → 检查字体可用性
4. search_style_guide (第一轮) → 关键词搜索
5. [如需要] search_style_guide (第二轮) → 完整目录回退
6. build_style_guide(selections) → 获取权威设计令牌
7. apply_variables → 创建与令牌匹配的变量
8. batch_edit → 使用精确的令牌值构建 UI
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Take balabalabalading/ardot-style-guide from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.