UI Craft Pro
Use this skill to make UI output look sharper and feel more deliberate.
This skill is not just for searching design references.
Its real job is:
- 1. choose a design direction that fits the product
- turn that direction into a usable design system
- implement code that actually follows that system
- review the output so the final UI still matches the intended vibe
What this skill contains
- -
data/ — local design knowledge base: styles, colors, typography, charts, landing patterns, UX guidelines, product mappings, reasoning rules - INLINECODE1 — search + design-system entry point
- INLINECODE2 — local BM25 search engine over the CSV data
- INLINECODE3 — design-system generator that combines product type, style direction, color, typography, and anti-pattern guidance
- INLINECODE4 — compact style-cloning brief generator for "X-like but mine" work
- INLINECODE5 — how to translate a chosen design system into real code
- INLINECODE6 — post-build review checklist to catch drift and weak output
- INLINECODE7 — how to correct mismatched first-pass results for product types that need calmer or more specific taste
Core rule
Do not stop at “the search result says X”.
Use the result to drive the actual implementation.
When using this skill for real UI work, the expected path is:
- - understand the product
- generate or infer the design system
- map that system into code
- check whether the final UI still matches the system
- then ship or refine
Workflow
1) Understand the product first
Before touching visuals, identify:
- - what the product is
- who it is for
- what mood it should give off
- whether the stack is fixed already
If the user already gave a strong direction, do not overcomplicate it. Use that direction and sharpen it.
2) Generate a design system early
For new pages, dashboards, flows, or landing pages, start here:
CODEBLOCK0
Examples:
CODEBLOCK1
Use the result to lock in:
- - layout pattern
- style direction
- color palette
- typography pairing
- interaction feel
- anti-patterns to avoid
3) Correct bad first-pass matches when needed
Sometimes the first generated result is technically plausible but emotionally wrong.
That is a correction problem, not a reason to abandon the workflow.
When this happens:
- 1. identify the real product archetype
- run narrower domain searches
- lock a corrected direction
- then continue into implementation
Read references/product-archetypes.md when the first result drifts toward generic app-store, generic SaaS, or any style that does not fit the product’s real emotional center.
4) Lock implementation decisions before coding
After choosing the direction, define the implementation layer clearly.
At minimum, lock:
- - color tokens
- typography roles
- spacing rhythm
- radius and shadow system
- section structure
- component treatment
- motion intensity
Read references/implementation-patterns.md when moving from design direction into real UI code.
5) Drill into a single domain only when needed
If implementation needs more detail, search one domain directly:
CODEBLOCK2
Use this when you need:
- - a stronger visual direction
- a better palette
- a better font pairing
- a better landing-page section flow
- UX correction before or after coding
- chart guidance for dashboards
6) Translate the design system into code
This is the important part.
After choosing a direction, map it into implementation decisions such as:
- - color tokens / CSS variables / Tailwind tokens
- typography roles for headings, body, labels, metadata
- spacing rhythm
- corner radius / shadow depth / border treatment
- section structure
- component behavior
- hover/focus/active states
- motion intensity
Do not code a random pretty page after generating a design system.
Code in a way that clearly reflects the chosen style.
7) Keep the implementation coherent
While coding:
- - keep one main visual language
- do not mix unrelated styles randomly
- keep type, spacing, contrast, and component treatment consistent
- preserve usability while making it look better
- avoid overdoing effects that hurt readability or feel gimmicky
8) Review the result before calling it done
Before shipping or reporting back, check:
- - does the final UI still match the chosen direction?
- does it feel generic or intentional?
- are the primary sections/components visually coherent?
- are there obvious UX or readability issues?
- did the implementation accidentally drift away from the design system?
Read references/review-checklist.md for the final pass.
If the page still feels bland, refine hierarchy and consistency before adding flair.
Default behavior when using this skill
Prefer this order internally:
- 1. understand the ask
- infer or generate direction
- correct drift if needed
- lock implementation choices
- implement the UI
- review the result
- present the result simply
Do not dump raw search results unless they are directly useful.
Use them to improve judgment and implementation.
High-value domains
- -
product → product type and expected design language - INLINECODE12 → visual direction, mood, effects, compatibility, complexity
- INLINECODE13 → palettes aligned to product type and emotional tone
- INLINECODE14 → font pairing and reading hierarchy
- INLINECODE15 → section order, CTA placement, conversion structure
- INLINECODE16 → best practices and anti-patterns
- INLINECODE17 → chart choice for dashboard/data work
- INLINECODE18 → font discovery
- INLINECODE19 → icon direction
- INLINECODE20 /
web → implementation guidance when useful - INLINECODE22 → reference systems worth studying by product context
- INLINECODE23 → "X-like but mine" style DNA
- INLINECODE24 → reusable page/app structural patterns
- INLINECODE25 → common AI-generic smells and fixes
Notes
- - This skill improves taste, structure, and consistency; it does not replace product judgment.
- For small UI tweaks, you may not need the full workflow. Use the guidance and ship.
- For bigger UI tasks, run
--design-system first so the result has a coherent visual language. - If the first result is wrong, correct it with narrower domain search instead of throwing the whole process away.
- If the user asks whether a design direction is good, answer directly.
- If the user asks to build the UI, use this skill to guide both design choices and code choices.
ult has a coherent visual language.
- - If the first result is wrong, correct it with narrower domain search instead of throwing the whole process away.
- If the user asks whether a design direction is good, answer directly.
- If the user asks to build the UI, use this skill to guide both design choices and code choices.
esult has a coherent visual language.
- - If the first result is wrong, correct it with narrower domain search instead of throwing the whole process away.
- If the user asks whether a design direction is good, answer directly.
- If the user asks to build the UI, use this skill to guide both design choices and code choices.
ult has a coherent visual language.
- - If the first result is wrong, correct it with narrower domain search instead of throwing the whole process away.
- If the user asks whether a design direction is good, answer directly.
- If the user asks to build the UI, use this skill to guide both design choices and code choices.
UI Craft Pro
使用此技能可使UI输出看起来更精致,感觉更用心。
此技能不仅用于搜索设计参考。
其真正职责是:
- 1. 选择适合产品的设计方向
- 将该方向转化为可用的设计系统
- 实现真正遵循该系统的代码
- 审查输出结果,确保最终UI仍符合预期风格
技能包含内容
- - data/ — 本地设计知识库:样式、色彩、排版、图表、落地页模式、UX指南、产品映射、推理规则
- scripts/search.py — 搜索+设计系统入口
- scripts/core.py — 基于CSV数据的本地BM25搜索引擎
- scripts/designsystem.py — 设计系统生成器,结合产品类型、风格方向、色彩、排版及反模式指导
- scripts/stylesignature.py — 紧凑型风格克隆简报生成器,用于类X但属我的工作
- references/implementation-patterns.md — 如何将选定的设计系统转化为实际代码
- references/review-checklist.md — 构建后审查清单,用于发现偏差和薄弱输出
- references/product-archetypes.md — 如何纠正首次匹配结果中产品类型需要更沉稳或更具体品味时的偏差
核心规则
不要停留在搜索结果说X。
要用结果驱动实际实现。
在将此技能用于真实UI工作时,预期路径为:
- - 理解产品
- 生成或推断设计系统
- 将系统映射到代码中
- 检查最终UI是否仍匹配系统
- 然后交付或优化
工作流程
1) 首先理解产品
在接触视觉元素之前,明确:
- - 产品是什么
- 目标用户是谁
- 应传达何种氛围
- 技术栈是否已固定
如果用户已给出明确方向,不要过度复杂化。使用该方向并加以优化。
2) 尽早生成设计系统
对于新页面、仪表盘、流程或落地页,从这里开始:
bash
python3 skills/ui-craft-pro/scripts/search.py <产品+风格关键词> --design-system -p <项目名称>
示例:
bash
python3 skills/ui-craft-pro/scripts/search.py 游戏落地页 大胆 霓虹 竞技 --design-system -p Neon Rift
python3 skills/ui-craft-pro/scripts/search.py AI仪表盘 现代 高级 深色 --design-system -p Aira Ops
python3 skills/ui-craft-pro/scripts/search.py 金融科技移动应用 简约 可信赖 --design-system -p Wallet App
使用结果锁定:
- - 布局模式
- 风格方向
- 调色板
- 排版搭配
- 交互感受
- 需避免的反模式
3) 必要时纠正不良的首次匹配结果
有时首次生成的结果技术上可行但情感上错误。
这是纠正问题,而非放弃工作流程的理由。
出现这种情况时:
- 1. 识别真实的产品原型
- 进行更窄领域的搜索
- 锁定修正后的方向
- 然后继续进入实现阶段
当首次结果偏向通用应用商店、通用SaaS或任何不适合产品情感核心的风格时,请阅读references/product-archetypes.md。
4) 编码前锁定实现决策
选择方向后,明确定义实现层。
至少锁定:
- - 色彩令牌
- 排版角色
- 间距节奏
- 圆角和阴影系统
- 区块结构
- 组件处理方式
- 动效强度
从设计方向转向实际UI代码时,请阅读references/implementation-patterns.md。
5) 仅在需要时深入单一领域
如果实现需要更多细节,直接搜索一个领域:
bash
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain style
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain color
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain typography
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain landing
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain ux
python3 skills/ui-craft-pro/scripts/search.py <查询> --domain chart
在以下情况下使用此功能:
- - 需要更强的视觉方向
- 需要更好的调色板
- 需要更好的字体搭配
- 需要更好的落地页区块流程
- 编码前后需要UX修正
- 需要仪表盘的图表指导
6) 将设计系统转化为代码
这是重要部分。
选择方向后,将其映射到实现决策中,例如:
- - 色彩令牌 / CSS变量 / Tailwind令牌
- 标题、正文、标签、元数据的排版角色
- 间距节奏
- 圆角 / 阴影深度 / 边框处理
- 区块结构
- 组件行为
- 悬停/聚焦/激活状态
- 动效强度
生成设计系统后,不要随意编码一个漂亮的页面。
要以清晰反映所选风格的方式进行编码。
7) 保持实现的一致性
编码时:
- - 保持一种主要视觉语言
- 不要随机混合不相关的风格
- 保持字体、间距、对比度和组件处理的一致性
- 在提升外观的同时保持可用性
- 避免过度使用影响可读性或显得花哨的效果
8) 在完成前审查结果
在交付或汇报前,检查:
- - 最终UI是否仍匹配所选方向?
- 感觉是通用还是有意图?
- 主要区块/组件视觉上是否一致?
- 是否存在明显的UX或可读性问题?
- 实现是否意外偏离了设计系统?
进行最终检查时阅读references/review-checklist.md。
如果页面仍感觉平淡,在添加亮点前优化层次结构和一致性。
使用此技能时的默认行为
内部优先采用此顺序:
- 1. 理解需求
- 推断或生成方向
- 必要时纠正偏差
- 锁定实现选择
- 实现UI
- 审查结果
- 简洁呈现结果
除非搜索结果直接有用,否则不要倾倒原始搜索结果。
要用它们来改进判断和实现。
高价值领域
- - product → 产品类型和预期设计语言
- style → 视觉方向、氛围、效果、兼容性、复杂度
- color → 与产品类型和情感基调一致的调色板
- typography → 字体搭配和阅读层次
- landing → 区块顺序、CTA位置、转化结构
- ux → 最佳实践和反模式
- chart → 仪表盘/数据工作的图表选择
- google-fonts → 字体发现
- icons → 图标方向
- react / web → 有用的实现指导
- design-systems → 值得按产品上下文研究的设计系统
- style-signatures → 类X但属我的风格DNA
- patterns-shells → 可复用的页面/应用结构模式
- anti-generic-ui → 常见的AI通用风格问题及修复
备注
- - 此技能提升品味、结构和一致性;不替代产品判断。
- 对于小型UI调整,可能不需要完整工作流程。使用指导并交付即可。
- 对于较大的UI任务,先运行--design-system,使结果具有一致的视觉语言。
- 如果首次结果错误,通过更窄领域的搜索进行纠正,而不是放弃整个流程。
- 如果用户询问设计方向是否良好,直接回答。
- 如果用户要求构建UI,使用此技能指导设计选择和代码选择。