Logo Design References

Design References

Tổ chức
MadAppGang
design-references

Predefined design system references for UI reviews. Includes Material Design 3, Apple Human Interface Guidelines, Tailwind UI, Ant Design, and Shadcn/ui. Use when conducting design reviews against established design systems.

Tổng quan

Nhà phát hànhMadAppGang
Kho mãclaude-code
Tên kỹ năngdesign-references
Sao
281
Bản fork
26
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MadAppGang công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Design References trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/design/design-references
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MadAppGang/claude-code.git /tmp/claude-code
mkdir -p .claude/skills
cp -r /tmp/claude-code/plugins/dev/skills/design/design-references .claude/skills/design-references
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Design References trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Design References ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Design References với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Design References Skill

Overview

This skill provides predefined design system references that the ui agent can use when reviewing designs. Each reference includes design principles, color guidelines, typography rules, spacing patterns, and component patterns.

Available Design Systems

Material Design 3 (Google)

Reference ID: material-3 Official URL: https://m3.material.io/

Design Principles
  1. Adaptive & Accessible - Responsive across devices, accessible to all
  2. Personal & Customizable - Dynamic color, personalization
  3. Expressive - Motion, shape, and color express brand
Color System
  • Dynamic Color - Colors derived from user wallpaper or brand
  • Tonal Palettes - 13 tones per color (0-100)
  • Color Roles:
    • Primary: Main brand color
    • Secondary: Accent elements
    • Tertiary: Contrast and balance
    • Error: Destructive actions
    • Surface: Backgrounds and containers
    • On-*: Text/icon colors on surfaces

Key Metrics:

  • Text contrast: 4.5:1 minimum (WCAG AA)
  • Large text contrast: 3:1 minimum
  • Non-text contrast: 3:1 minimum
Typography

Type Scale (Default):

RoleSizeWeightLine Height
Display Large57sp40064sp
Display Medium45sp40052sp
Display Small36sp40044sp
Headline Large32sp40040sp
Headline Medium28sp40036sp
Headline Small24sp40032sp
Title Large22sp40028sp
Title Medium16sp50024sp
Title Small14sp50020sp
Body Large16sp40024sp
Body Medium14sp40020sp
Body Small12sp40016sp
Label Large14sp50020sp
Label Medium12sp50016sp
Label Small11sp50016sp

Font: Roboto (sans-serif)

Spacing

Baseline Grid: 4dp Common Values: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128

Component Patterns
  • Buttons: Filled, Outlined, Text, Elevated, Tonal
  • Cards: Elevated, Filled, Outlined
  • Navigation: Rail, Bar, Drawer
  • Inputs: Filled, Outlined
  • Dialogs: Basic, Full-screen, Date picker
Review Checklist
  • Dynamic color theming applied correctly
  • Type scale follows M3 specs
  • 4dp baseline grid followed
  • Touch targets minimum 48dp
  • Elevation levels correct (0-5)
  • Shape scale appropriate (Extra small to Extra large)

Apple Human Interface Guidelines (iOS/macOS)

Reference ID: apple-hig Official URL: https://developer.apple.com/design/human-interface-guidelines/

Design Principles
  1. Clarity - Text readable, icons precise, ornaments subtle
  2. Deference - Content over chrome, minimal UI
  3. Depth - Visual layers, motion conveys hierarchy
Color System

System Colors:

ColorLight ModeDark ModeUsage
Blue#007AFF#0A84FFLinks, interactive elements
Green#34C759#30D158Success, positive actions
Indigo#5856D6#5E5CE6Accent
Orange#FF9500#FF9F0AWarnings, attention
Pink#FF2D55#FF375FAccent
Purple#AF52DE#BF5AF2Accent
Red#FF3B30#FF453ADestructive, errors
Teal#5AC8FA#64D2FFAccent
Yellow#FFCC00#FFD60AWarnings

Semantic Colors:

  • Label (Primary, Secondary, Tertiary, Quaternary)
  • Fill (Primary through Quaternary)
  • Background (Primary, Secondary, Tertiary)
  • Separator
Typography

SF Pro (San Francisco):

StyleSizeWeightLeading
Large Title34ptBold41pt
Title 128ptRegular34pt
Title 222ptRegular28pt
Title 320ptRegular25pt
Headline17ptSemi-Bold22pt
Body17ptRegular22pt
Callout16ptRegular21pt
Subheadline15ptRegular20pt
Footnote13ptRegular18pt
Caption 112ptRegular16pt
Caption 211ptRegular13pt
Spacing

iOS Standard Margins: 16pt (compact), 20pt (regular) macOS Standard Margins: 20pt

Component Patterns
  • Navigation: Tab Bar, Sidebar, Navigation Bar
  • Buttons: System, Custom, Icon-only
  • Lists: Plain, Grouped, Inset Grouped
  • Forms: Grouped sections with headers
Review Checklist
  • SF Pro or SF Mono fonts used
  • System colors or semantically appropriate custom colors
  • Touch targets minimum 44pt x 44pt
  • Standard margins respected
  • Navigation patterns match platform conventions
  • Dark mode support with proper semantic colors

Tailwind UI

Reference ID: tailwind-ui Official URL: https://tailwindui.com/

Design Principles
  1. Utility-First - Compose styles from atomic classes
  2. Responsive - Mobile-first, breakpoint prefixes
  3. Consistent - Design tokens as class names
Color System

Tailwind Colors (50-950 shades):

  • Slate, Gray, Zinc, Neutral, Stone (Grays)
  • Red, Orange, Amber, Yellow (Warm)
  • Lime, Green, Emerald, Teal (Cool greens)
  • Cyan, Sky, Blue, Indigo, Violet, Purple, Fuchsia, Pink, Rose

Usage Patterns:

  • Primary: blue-600 (buttons, links)
  • Secondary: gray-600 (secondary text)
  • Success: green-600
  • Warning: amber-600
  • Error: red-600
  • Background: white / gray-50
  • Surface: gray-100 / gray-800
Typography

Font Scale:

ClassSizeLine Height
text-xs12px16px
text-sm14px20px
text-base16px24px
text-lg18px28px
text-xl20px28px
text-2xl24px32px
text-3xl30px36px
text-4xl36px40px
text-5xl48px48px
text-6xl60px60px
text-7xl72px72px
text-8xl96px96px
text-9xl128px128px

Font Weights: thin(100) to black(900)

Spacing Scale
ClassValue
00px
px1px
0.52px
14px
28px
312px
416px
520px
624px
832px
1040px
1248px
1664px
2080px
2496px
Component Patterns
  • Buttons: Primary, Secondary, Soft, Outline
  • Forms: Stacked, Inline, with validation states
  • Cards: Simple, with header, with footer
  • Navigation: Navbar, Sidebar, Tabs
Review Checklist
  • Spacing uses Tailwind scale (4px base)
  • Typography uses Tailwind type scale
  • Colors from Tailwind palette
  • Consistent hover/focus states
  • Responsive breakpoints (sm, md, lg, xl, 2xl)
  • Dark mode with dark: variants

Ant Design

Reference ID: ant-design Official URL: https://ant.design/

Design Principles
  1. Natural - Align with user mental models
  2. Certain - Predictable, consistent behavior
  3. Meaningful - Purpose-driven design
  4. Growing - Support user skill progression
Color System

Functional Colors:

RoleHexUsage
Primary#1677ffBrand, primary actions
Success#52c41aPositive feedback
Warning#faad14Warnings, attention
Error#ff4d4fErrors, destructive
Info#1677ffInformational

Neutral Colors: 13 shades of gray (#fff to #000)

Typography

Font Family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue

RoleSizeWeight
h138px600
h230px600
h324px600
h420px600
h516px600
Base14px400
Small12px400
Spacing

Base Unit: 4px Scale: 4, 8, 12, 16, 20, 24, 32, 40, 48

Component Patterns
  • Forms: Horizontal, Vertical, Inline layouts
  • Tables: Sortable, Filterable, Paginated
  • Modals: Confirm, Info, with footer
  • Data Entry: Extensive input types
Review Checklist
  • 14px base font size
  • 4px spacing base unit
  • Functional colors for feedback
  • Form layouts consistent
  • Table patterns for data display
  • Enterprise-grade density (compact option)

Shadcn/ui

Reference ID: shadcn-ui Official URL: https://ui.shadcn.com/

Design Principles
  1. Copy-Paste - Components you own, not import
  2. Accessible - Built on Radix UI primitives
  3. Customizable - CSS variables for theming
  4. Composable - Small, focused components
Color System

CSS Variables Based:

css
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;
--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 240 10% 3.9%;
--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;
--secondary: 240 4.8% 95.9%;
--secondary-foreground: 240 5.9% 10%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
--accent: 240 4.8% 95.9%;
--accent-foreground: 240 5.9% 10%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 240 5.9% 90%;
--input: 240 5.9% 90%;
--ring: 240 5.9% 10%;
--radius: 0.5rem;
Typography

Inter (default) or system font stack

VariantSizeWeightLeading
h136px80040px
h230px60036px
h324px60032px
h420px60028px
p16px40028px
lead20px40028px
large18px60028px
small14px50020px
muted14px40020px
Spacing

Tailwind-based: 4px base (matches Tailwind scale)

Component Patterns
  • Buttons: Default, Secondary, Destructive, Outline, Ghost, Link
  • Forms: Built on Radix primitives
  • Dialogs: AlertDialog, Dialog, Sheet
  • Data Display: Table, DataTable, Cards
Review Checklist
  • CSS variables for theming
  • Radix UI primitives for accessibility
  • Border radius using --radius variable
  • Focus rings using --ring variable
  • Consistent variant naming
  • Dark mode via class strategy

Usage in Reviews

Selecting a Design Reference

The ui agent will check for style in this order:

  1. Project Style (.claude/design-style.md) - Highest priority
  2. Predefined Reference (via Design Reference: directive or user selection)
  3. Auto-detect (if recognizable patterns found)
  4. Generic Best Practices (fallback)

Review with Specific Reference

Task: ui

Review this dashboard screenshot against Material Design 3 guidelines.

Design Reference: material-3

Image: screenshots/dashboard.png

Write review to: ${SESSION_PATH}/reviews/design-review/gemini.md

Combining Project Style + Reference

Task: ui

Review using:
- Project Style: .claude/design-style.md (brand colors, custom tokens)
- Base Reference: shadcn-ui (component patterns, accessibility)

Image: screenshots/form.png

Câu hỏi thường gặp

Kỹ năng AI Design References làm được gì?

Predefined design system references for UI reviews. Includes Material Design 3, Apple Human Interface Guidelines, Tailwind UI, Ant Design, and Shadcn/ui. Use when conducting design reviews against established design systems.

Vì sao nên dùng Design References trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Design References là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Design References trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MadAppGang/claude-code/tree/main/plugins/dev/skills/design/design-references. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Design References?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Design References với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Design References với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Design References có miễn phí không?

Có. Kỹ năng này được MadAppGang phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇