Ui Design Intelligence 标志

Ui Design Intelligence

社区
DevvNirvana
ui-design-intelligence

World-class UI/UX design intelligence — Tvastar v4.0. TRIGGER on: /design /preview /approved /apply /review /ship /component /heal /tokens /dark /a11y /cro /color /typography /motion /extract /storybook, build page, build component, landing page, hero section, dashboard, nav, card, animation, dark mode, layout, color palette, typography, redesign, make it look better, add animations, style this, improve UI, add polish, professional look, modern design, review my code, check before deploy, is this ready to ship.

概览

发布者DevvNirvana
代码仓库tvastar-design-claude-code-skill
技能名称ui-design-intelligence
星标数
4
复刻数
0
附带文件
39
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 39 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 DevvNirvana 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ui Design Intelligence AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/DevvNirvana/tvastar-design-claude-code-skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DevvNirvana/tvastar-design-claude-code-skill.git \
  .claude/skills/ui-design-intelligence
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ui Design Intelligence,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ui Design Intelligence。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ui Design Intelligence 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

UI Design Intelligence — Tvastar v4.0

18 libraries · 24 styles · 86 lint rules · 14 intelligent slots · March 2026


The /design Workflow — 7 Steps (follow in exact order)

Step 1 — Scan the stack

bash
python3 .claude/skills/ui-design-intelligence/scripts/detect_stack.py

Detects: framework, Tailwind v3/v4, all 18 libraries (React Bits, Aceternity, Magic UI, Tremor, Animata, Motion Primitives, Cult UI, Eldora UI, Kibo UI, Origin UI, etc.)

READ NOW based on detection:

  • has_react_bits: true → read references/react-bits-catalog.md
  • Any new 2026 lib detected → read references/component-library-catalog.md
  • Next.js detected → read references/nextjs-guidelines.md (Next.js 15 + React 19)
  • shadcn/tailwind detected → read references/shadcn-tailwind-guidelines.md
  • Vue/Nuxt detected → read references/vue-svelte-guidelines.md

Step 2 — Understand the request

Extract: What (page/component), Aesthetic (style keywords), Constraints, Existing colors. Ask ONE clarifying question only if completely blocked. Never ask multiple questions.

Step 3 — Live Research (always run)

READ NOW: references/resources-blogs.md — full search routing brain with 2026-updated sources.

Run at minimum 2 web searches:

1. "[product type] design inspiration 2026 site:dribbble.com"
2. "[aesthetic] UI site:godly.website OR site:awwwards.com"
3. (if new library needed) "[library name] component examples site:github.com"

Extract from results: dominant visual treatment, typography scale, ONE unexpected interaction.

Step 4 — Generate design system

bash
python3 .claude/skills/ui-design-intelligence/scripts/design_system.py \
  --product "[type]" --style "[keywords]" [--dark] [--persist] \
  --page landing|dashboard|auth|pricing|portfolio|feature

The output contains ALL of these — read every section:

  • PALETTE + COLOR SCIENCE — WCAG ratios, failing colors with suggested fixes
  • TYPOGRAPHY — pairing + Fontshare/Google URL + weights
  • TYPE SCALE — display→caption with exact px/rem values
  • ANIMATION TOKENS + MOTION DURATION TABLE — exact ms + easing per context
  • STYLE PROFILE — effects to use, anti-patterns to avoid
  • COMPONENT LIBRARY SELECTIONS — 14 slots, each mapped to the RIGHT library:
    • background, hero_text, sub_text, cta_button, feature_cards, stats
    • testimonials, logos, borders, mobile_menu, navigation
    • delight (cursor/wow effect), forms (if form present), charts/kpi_cards (if dashboard)
    • advanced_ui (kanban/datepicker if enterprise)
  • INSTALL COMMANDS — exact npx/npm/copy commands per library
  • INSPIRATION BENCHMARKS — product-type-specific reference sites
  • SENIOR DESIGNER EYE TEST — 8-point quality checklist
  • GESTALT CHECKS — 7 principles applied to this specific palette
  • REACT BITS INSTALL — TS+TW variants for TypeScript
  • PSYCHOLOGY LAWS — 3 UX laws applied to this product
  • PAGE PATTERN — section-by-section layout blueprint
  • CHART TYPE GUIDANCE — appears for dashboard/analytics
  • PRE-DELIVERY CHECKLIST — 15 must-pass gates

READ NOW (framework-specific):

  • Next.js → references/nextjs-guidelines.md (Next.js 15, React 19, Turbopack, PPR, params awaiting)
  • shadcn/Tailwind → references/shadcn-tailwind-guidelines.md
  • React/Vite → references/react-guidelines.md
  • Vue/Nuxt → references/vue-svelte-guidelines.md
  • SwiftUI/Flutter → references/native-guidelines.md

Step 5 — Design plan (WAIT for approval — never skip this)

Show this exact format:

╔══ TVASTAR DESIGN PLAN ═════════════════════════════════════════╗
║ Building:        [what exactly]                                 ║
║ Style:           [name + 1-line why it fits]                    ║
║ Research:        [2 sites studied + key insight from each]      ║
║                                                                 ║
║ PALETTE          Primary — CTA — Bg   [WCAG ratios]            ║
║ TYPOGRAPHY       [Heading] / [Body]   [scale name]             ║
║                                                                 ║
║ STATEMENT PIECE  [lib: component] — the one wow moment         ║
║ SUPPORTING       [slot: lib/component] × 4-5 key slots         ║
║                                                                 ║
║ UX LAWS          [law 1 + how applied]                         ║
║                  [law 2 + how applied]                         ║
║ GESTALT          [principle + application]                      ║
║                                                                 ║
║ MISSING LIBS?    [install commands if anything not installed]   ║
╚═════════════════════════════════════════════════════════════════╝
Build with this plan? (yes / change [what])

Step 6 — Build production code

Output order: globals.css/@theme → install commands → component code.

READ NOW during code generation:

  • Page patterns → references/page-patterns.md (section order, mobile-first, empty states)
  • Icons/charts → references/charts-icons-reference.md (chart matrix, Lucide lookup)
  • Animations → references/motion-principles.md (library-specific patterns, duration table)
  • UX laws → references/ux-principles.md (Gestalt, psychology laws)

Cover every state: default → hover → focus → active → loading → disabled → error → empty state

2026 code standards:

  • Next.js 15: await params and await searchParams — they are Promises
  • React 19: useActionState not useFormState | use() hook for async | useFormStatus
  • Tailwind v4: @theme {} not tailwind.config.ts extend | bg-linear-to-r not gradient
  • Framer Motion: useReducedMotion() on EVERY animation component
  • React Bits: TS+TW variant — https://reactbits.dev/r/ComponentName-TS-TW
  • No raw <img> in Next.js — always next/image
  • No key={index} — always key={item.id} or stable string
  • All <button> and icon-only elements have aria-label
  • focus-visible:ring-2 ring-primary on every interactive element

Step 7 — Lint + heal

bash
python3 scripts/framework_lint.py [file] --stack-check   # 86 rules, auto-detects all frameworks
python3 scripts/heal.py [file]                           # auto-fix Critical+High

Fix ALL 🔴 High immediately. Report 🟡 Medium with specific fixes.


18-Library Tier System

Tier 1 — Foundation (always present)

shadcn/ui + Tailwind CSS — accessible base, keyboard navigation, theming

Tier 2 — Statement Visual WOW (1-2 per design, chosen by style)

LibraryBest ForWhen to Use
React BitsHero backgrounds, text animations, scroll effectsDark premium, editorial, portfolio
Aceternity UICinematic heroes, 3D cards, editorial revealsLuxury, gaming, 3D immersive
Magic UISaaS CTAs, border effects, bento grids, marqueeSaaS, minimal, dark premium
AnimataCursor delight, liquid effects, number morphingY2K, social, portfolio
Motion PrimitivesMorphing dialogs, magnetic, polished transitionsLuxury, editorial, portfolio
Cult UIDirection-aware hover, Dynamic IslandSocial, Y2K, portfolio

Tier 3 — Structural Sections

LibraryBest For
Eldora UIComplete pre-built landing page sections
MVPBlocksRapid MVP scaffolding
shadcn/ui BlocksDashboard layouts, auth flows
Skiper UIBold navigation, unique hero

Tier 4 — Data & Forms

LibraryBest For
TremorCharts, KPI metrics, dashboards
Kibo UIDateRangePicker, MultiSelect, Kanban
Origin UIProduction form inputs (OTP, phone, tags)
FlowbiteAdmin panels, table-heavy dashboards

Tier 5 — Framework-Specific

LibraryStack
Stunning UIVue/Nuxt only
Chakra UIReact with theming system
NextUI/HeroUIClean Next.js components

Intelligence Rules (select_components logic)

The select_components() function in core.py reads:

  1. Style profile — each style has specific library arrays (rb, ace, mu, etc.)
  2. Product keywords — y2k/cyber/dashboard/editorial/portfolio detected, route accordingly
  3. 14 slots — each slot has contextual logic, not hardcoded defaults

Never suggest Aurora for light backgrounds. Aurora is dark-only. Never repeat the same library for background + hero + sub-text. Variation is the goal. Delight slot is mandatory — every design gets one unexpected wow element. Dashboard/analytics gets Tremor for charts and KPI slots — not Recharts from scratch.


Reference File READ Triggers

FileREAD WhenContains
resources-blogs.mdStep 3 always2026 search routing, 8 new library search strategies
inspiration.mdStep 5 — design plan2026 trends: chrome, direction-aware, morphing dialogs, bento grids
react-bits-catalog.mdStep 1 if has_react_bitsFull 50+ component catalog with TS+TW install variants
component-library-catalog.mdStep 4Decision tree for all 18 libraries + new Tremor/Animata/Cult UI sections
page-patterns.mdStep 6Landing/dashboard/auth/pricing layouts, mobile rules
charts-icons-reference.mdStep 6 if dashboardChart matrix, Recharts code, Lucide icon table
motion-principles.mdStep 6 if animationsDuration table, easing library, library-specific patterns
ux-principles.mdStep 518 UX laws, 7 Gestalt principles
nextjs-guidelines.mdStep 6 if Next.jsNext.js 15, React 19, Turbopack, PPR, params→Promise
shadcn-tailwind-guidelines.mdStep 6 if shadcn/TailwindDialog/Form/Table, v4 syntax
react-guidelines.mdStep 6 if React/ViteHooks, cleanup, performance
vue-svelte-guidelines.mdStep 6 if Vue/Nuxt/SvelteReactivity, pinia, sveltekit
native-guidelines.mdStep 6 if SwiftUI/FlutterPlatform conventions

Quality Gates — Zero Tolerance

❌ NEVER (from 86 lint rules — auto-checked by framework_lint.py):

CODE:
  key={index} in .map()                 → always key={item.id}
  <img> in Next.js                      → always next/image
  params.id without await               → Next.js 15 breaking change
  useFormState                          → React 19 renamed to useActionState
  useState in Server Component          → crashes in production
  fetch() without cache option          → Next.js 15 behavior changed
  Server Action without auth check      → security vulnerability
  Aurora on light background            → component is invisible
  3+ statement components per section   → visual chaos
  focus:outline-none without ring       → keyboard users locked out
  animate-* without motion-reduce       → violates accessibility
  Linear easing on discrete UI          → violates motion principles
  duration > 600ms on UI elements       → feels broken/slow
  Hex in className                      → hardcoded, breaks theming
  Aceternity without framer-motion      → runtime crash
  SplashCursor without pointer-events-none → blocks all clicks

DESIGN:
  Emoji as icons                        → broken rendering across OS
  Placeholder text in production code  → unprofessional
  Missing cursor-pointer on clickable  → usability failure
  No focus states                      → WCAG failure
  WCAG AA contrast failure on text     → legal and ethical issue
  Icon button without aria-label       → screen reader failure
  Touch targets < 44px                 → mobile usability failure
  No loading states                    → janky perceived performance
  No error states                      → silent failures confuse users

✅ MUST-HAVE (every design):
  cubic-bezier(0.16,1,0.3,1) entrance easing
  useReducedMotion() on every animation
  focus-visible:ring-2 ring-primary on every interactive element
  min-h-[44px] on every button and link
  AnimatePresence wrapping conditional Framer renders
  All states: default→hover→focus→active→loading→disabled→error→empty
  TS+TW React Bits variant for TypeScript projects
  @theme {} for Tailwind v4 (not tailwind.config.ts extend)
  await params / await searchParams in Next.js 15 pages

Motion System (from motion-principles.md)

InteractionDurationEasing
Hover color/bg150msease-out
Tooltip150msease-out
Dropdown200msease-out
Badge/state250msease-out
Modal open300msspring s:300 d:30
Drawer350mscubic-bezier(0.16,1,0.3,1)
Section entrance400mscubic-bezier(0.16,1,0.3,1)
Hero reveal500-600mscubic-bezier(0.16,1,0.3,1)
Exit200mscubic-bezier(0.5,0,1,1)
Loop/shimmer700ms+linear ONLY

RULE: NEVER linear for discrete UI. Spring for bouncy elements.
RULE: useReducedMotion() check on EVERY Framer Motion component.


Design Philosophy (the 6 principles that separate world-class from good)

  1. One star per section. The delight slot exists for this reason. Not three wow components — one perfect one.

  2. Whitespace is not empty. Section padding on award-winning sites is 96-128px. When unsure: double it.

  3. Typography does 80% of the work. H1 to body ratio of 3:1 minimum. The type scale commitment IS the design.

  4. Motion communicates state, not decoration. Every animation answers: Did this appear? Did my action succeed? Where did it go? No answer = cut it.

  5. Restraint is harder than maximalism. Knowing which component NOT to use — Aurora on light bg, three statement pieces stacked — separates senior designers from everyone else.

  6. Accessibility is not a checklist. 44px targets, visible focus, reduced motion — not box-checking. The design breaks for real people without these.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ui Design Intelligence AI 技能有什么作用?

World-class UI/UX design intelligence — Tvastar v4.0. TRIGGER on: /design /preview /approved /apply /review /ship /component /heal /tokens /dark /a11y /cro /color /typography /motion /extract /storybook, build page, build component, landing page, hero section, dashboard, nav, card, animation, dark mode, layout, color palette, typography, redesign, make it look better, add animations, style this, improve UI, add polish, professional look, modern design, review my code, check before deploy, is this ready to ship.

为什么在 TypingMind 中使用 Ui Design Intelligence?

因为您只需安装一次,就能搭配任何模型使用。Ui Design Intelligence 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ui Design Intelligence?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/DevvNirvana/tvastar-design-claude-code-skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ui Design Intelligence?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ui Design Intelligence 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ui Design Intelligence 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ui Design Intelligence AI 技能免费吗?

DevvNirvana 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇