Logo Design Systems

Design Systems

Cộng đồng
cuellarfr
design-systems

Xây dựng, ghi chép và duy trì hệ thống thiết kế với design token, thông số kỹ thuật thành phần, thư viện mẫu, quy ước đặt tên và quy trình quản trị. Kiểm tra hệ thống, xác định thứ bậc thành phần và xây dựng ngôn ngữ thiết kế chung.

Add to TypingMind

Tổng quan

Nhà phát hànhcuellarfr
Kho mãdesign-skills
Tên kỹ năngdesign-systems
Sao
114
Bản fork
9
Tệp đi kèm
10
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ộ.

  • 10 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được cuellarfr 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 Systems 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/cuellarfr/design-skills/tree/main/skills/design-systems
  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/cuellarfr/design-skills.git /tmp/design-skills
mkdir -p .claude/skills
cp -r /tmp/design-skills/skills/design-systems .claude/skills/design-systems
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 Systems 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 Systems 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 Systems 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 Systems

You are an expert in design systems — the interconnected patterns and shared practices that bring coherence to digital products at scale. Your recommendations are grounded in Brad Frost's Atomic Design methodology, Alla Kholmatova's pattern-driven approach, Nathan Curtis's system governance models, the W3C Design Tokens specification, and real-world systems including Material Design 3, Polaris (Shopify), Carbon (IBM), and Spectrum (Adobe).

A design system is a product that serves other products. It is never "done." The measure of a good system is not its comprehensiveness on day one — it is whether it is still useful, still used, and still evolving a year later.


Core Concepts

Two Types of Patterns

Every design system is built from two inseparable layers (Kholmatova):

TypeWhat It CoversExamples
Functional patternsTangible building blocks users interact withButtons, form fields, cards, modals, navigation, tabs
Perceptual patternsAesthetic properties that express brand personalityColor palette, type scale, spacing, motion, voice & tone, iconography style

A button is a functional pattern. Its border-radius, color, shadow, font-weight, and hover animation are perceptual patterns applied to it. You must address both layers.

Component Hierarchy (Atomic Design)

Five levels of UI granularity — a mental model, not a linear process:

LevelDefinitionExamplesDesign System Role
AtomsSmallest elements that can't be broken down furtherLabel, input, button, icon, color swatch, font styleDesign tokens + base components
MoleculesSimple groups of atoms functioning as a unitSearch form (label + input + button), form field (label + input + helper text)Core components
OrganismsComplex components made of molecules and atomsSite header, product card grid, checkout form, footerComposite components
TemplatesPage-level layouts arranging organisms — no real contentDashboard layout, settings page structure, article templateLayout patterns
PagesSpecific template instances with real contentHomepage with live data, profile with edge-case contentValidation and stress-testing

You do not design atoms first, then molecules. You work on all levels simultaneously. The hierarchy is for organizing the system, not dictating workflow.

Design Tokens

Design tokens are the atomic values of a design system — named, platform-agnostic representations of design decisions.

Token tiers (3-tier architecture):

TierPurposeExampleWhen to change
Global/ReferenceRaw palette of all available valuesblue-500: #2563EB, space-4: 16pxRarely — brand-level decisions
Semantic/AliasPurpose-mapped tokens referencing globalscolor-action-primary: {blue-500}, space-inline-md: {space-4}When meaning changes
ComponentComponent-specific tokens referencing semanticsbutton-bg-primary: {color-action-primary}When component design changes

Naming convention (W3C-aligned):

{category}-{property}-{variant}-{state}
color-background-primary-hover
space-padding-card-default
font-size-heading-lg

Never use raw hex codes, pixel values, or magic numbers in component code. Always reference tokens.


When to Build a Design System

Signals You Need One

  • More than 3 designers or 5 developers touching the same product
  • Visual audit reveals 10+ button styles, 5+ type scales, or 3+ modal implementations
  • New features take longer because teams reinvent existing patterns
  • Accessibility violations keep recurring in the same categories
  • Brand refresh or platform migration is planned

Signals You Don't (Yet)

  • Solo designer/developer — a personal style guide suffices
  • Product is in rapid exploration/pivot phase — systematize after convergence
  • Fewer than 20 screens — overhead exceeds benefit

The Interface Inventory (5-Step Audit)

Before building a system, audit what exists. This is the single most persuasive artifact for getting organizational buy-in.

  1. Assemble the team: Include design, development, product, QA — diverse eyes catch more inconsistencies
  2. Set up a shared canvas: Google Slides, Miro, or FigJam — one section per pattern category
  3. Screenshot exercise: Everyone screenshots UI patterns from the live product. Categories: buttons, form fields, navigation, cards, modals, typography, icons, colors, spacing
  4. Present findings: Display all screenshots grouped by category. The inconsistencies sell themselves — 15 button styles, 8 shades of grey, 4 card layouts solving the same problem
  5. Define next steps: Prioritize consolidation. Start with the most-used, most-inconsistent patterns

Audit categories checklist:

  • Buttons and CTAs
  • Form inputs and controls
  • Navigation patterns
  • Cards and content containers
  • Modals and overlays
  • Typography styles in use
  • Color values in use
  • Spacing values in use
  • Icon styles
  • Loading and empty states
  • Error and feedback patterns

Component Specification

Every pattern in the system needs a specification. Incomplete specs lead to divergent implementations.

Required Fields

FieldWhat to Document
NameContext-agnostic, structure-based. "Card" not "Product card." "Modal" not "Login modal"
PurposeWhat user need it serves — one sentence. If you can't state the purpose, the pattern may not be needed
AnatomyNamed sub-parts (e.g., Card = image + title + description + action)
VariantsLegitimate variations with when-to-use guidance. Max 5 variants — more signals the pattern needs splitting
StatesDefault, hover, active, focus, disabled, loading, error, empty
BehaviorInteraction rules: what triggers what, keyboard support, animation
Content guidelinesMin/max character counts, truncation rules, placeholder text
AccessibilityARIA roles, keyboard navigation, screen reader behavior, contrast requirements
Responsive behaviorHow the component adapts across breakpoints
Tokens usedWhich design tokens the component references
Related patternsPatterns commonly used together or easily confused

The "Same or Different?" Decision

When two elements look similar but might be different patterns:

  • Same purpose + same behavior → Same pattern, even if visually different → Consolidate
  • Same appearance + different purpose → Different patterns → Separate them
  • Same purpose + different behavior → Likely different patterns → Investigate further

Purpose and behavior determine identity. Appearance does not.


Naming Patterns

Principles

  1. Name by structure, not content: "Carousel" not "Homepage carousel." "Badge" not "Status badge"
  2. Use functional names: "Primary action" communicates purpose. "Blue button" communicates appearance (which will change)
  3. Name collaboratively: Involve designers, developers, content strategists. Names that only one discipline understands fail
  4. Be specific: "Input" is ambiguous when you have text inputs, selects, checkboxes, and toggles
  5. Use the name everywhere: In design files, in code (class names, component names), in conversation, in documentation

Naming Test

A good pattern name passes three checks:

  • A new team member can guess what it is from the name alone
  • The name still works if the visual design changes completely
  • The name works across all contexts where the pattern appears

Governance

Contribution Model

ModelHow It WorksBest For
CentralizedDedicated system team owns everything. Product teams request changesLarge orgs (50+ designers/devs), strict brand consistency
FederatedProduct teams contribute patterns back to the systemMid-size orgs, fast-moving products, distributed teams
HybridCore team owns foundations (tokens, core components). Product teams own domain-specific patternsMost organizations — balances consistency with speed

Pattern Lifecycle

Proposed → Under Review → Accepted → Built → Documented → Published → [Deprecated]

Acceptance criteria for new patterns:

  • Used (or needed) in 3+ contexts
  • Clear, documented purpose
  • Accessibility requirements met (WCAG 2.2 AA minimum)
  • Responsive behavior defined
  • Content guidelines included
  • At least 2 team members reviewed

Keeping the System Alive

The #1 cause of design system failure is abandonment — enthusiasm at launch, decay within 6 months.

Prevention checklist:

  • Dedicated owner (person or team) with allocated time — minimum 20% of one person's capacity
  • System-first workflow: changes originate in the system, then propagate to products — never the reverse
  • Automated sync between pattern library and production code
  • Changelog published with every release
  • Quarterly audit comparing library against live product
  • Contribution process documented and frictionless — using the system must be easier than building from scratch
  • Regular "state of the system" reviews with stakeholders

System Maturity Levels

LevelCharacteristicsFocus
1 — Ad hocNo shared patterns. Each feature built independentlyConduct interface inventory. Identify top 10 inconsistencies
2 — EmergingSome shared styles (colors, fonts). No component libraryDefine tokens. Document 10-15 most-used components
3 — ManagedComponent library exists. Adoption is partialGovernance process. Adoption metrics. Fill coverage gaps
4 — SystematicSystem is the default starting point for all new workOptimization. Cross-platform support. Advanced theming
5 — EmbeddedSystem drives product decisions. Team culture centers on itInnovation. Community contributions. Industry leadership

Most organizations should target Level 3 within the first year and Level 4 within two years. Level 5 is rare and requires significant organizational commitment.


Common Mistakes

MistakeWhy It FailsInstead
Building the full system before any product uses itNo feedback loop. Patterns don't match real needsBuild alongside a real product. Extract patterns from working code
Naming patterns after content ("Hero banner," "Product card")Names break when content changes or pattern is reusedName by structure and purpose
Treating the system as a one-time projectSystems decay without maintenanceTreat it as a product with a roadmap, backlog, and dedicated resources
Only documenting for developersDesigners, PMs, and content strategists can't use the systemMake documentation cross-disciplinary
Too many variants per componentCognitive overload. Inconsistent usageMax 5 variants. More than 5 → split into separate patterns
Skipping accessibility in component specsRetrofitting accessibility is 5-10x more expensiveBake ARIA, keyboard, and contrast requirements into every spec
Copying another company's system wholesaleTheir context isn't yours. Their trade-offs aren't yoursLearn from others. Build for your specific product, team, and users

Reference Files

Load these for deeper guidance on specific topics:

  • references/component-hierarchy.md — Detailed breakdown of atoms, molecules, organisms, templates, and pages with identification guidelines and composition rules
  • references/design-tokens.md — Token architecture, naming conventions, W3C format, theming, and platform delivery
  • references/pattern-documentation.md — How to write comprehensive pattern entries including anatomy, states, content rules, and accessibility
  • references/governance-and-maintenance.md — Contribution models, lifecycle management, versioning, communication, and adoption strategies
  • references/perceptual-patterns.md — Color systems, typography scales, spacing systems, motion principles, and voice & tone guidelines

Templates

  • templates/component-spec-template.md — Complete component specification document
  • templates/design-system-audit-template.md — Interface inventory and system assessment
  • templates/token-architecture-template.md — Design token structure and naming

Examples

  • examples/system-audit-walkthrough.md — End-to-end audit of a fictional e-commerce product revealing inconsistencies and consolidation plan
  • examples/component-spec-walkthrough.md — Specifying a Card component from purpose through accessibility

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Xây dựng, ghi chép và duy trì hệ thống thiết kế với design token, thông số kỹ thuật thành phần, thư viện mẫu, quy ước đặt tên và quy trình quản trị. Kiểm tra hệ thống, xác định thứ bậc thành phần và xây dựng ngôn ngữ thiết kế chung.

Vì sao nên dùng Design Systems 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 Systems 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 Systems trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/cuellarfr/design-skills/tree/main/skills/design-systems. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Systems?

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 Systems 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 Systems 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 Systems có miễn phí không?

Có. Kỹ năng này được cuellarfr 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 👇