Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)280k · #166

design-system

Skill này làm gì

Công cụ này giúp tạo hoặc kiểm tra design system cho website hoặc ứng dụng. Nó trích xuất các quy tắc hình ảnh (màu sắc, phông chữ, khoảng cách) từ code và sắp xếp lại, hoặc đánh giá sự nhất quán về hình ảnh của những gì đã có.

Khi nào nên dùng

  • ✓Khi bắt đầu dự án mới và cần định nghĩa các quy tắc hình ảnh.
  • ✓Khi muốn kiểm tra xem website hoặc ứng dụng có nhất quán về mặt hình ảnh không.
  • ✓Trước khi thiết kế lại, để hiểu những gì đã được làm.

Liên kết skill

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/design-system/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/affaan-m/ECC/blob/main/pi/core/skills/design-system/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một design system cho website của tôi, dùng màu sắc tự nhiên và phong cách đơn giản.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích code để tìm màu sắc, phông chữ và khoảng cách. Nó sắp xếp thông tin này thành một bộ quy tắc (design token) và tạo một ví dụ trực quan để bạn xem.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Design System — Generate & Audit Visual Systems

When to Use

  • Starting a new project that needs a design system
  • Auditing an existing codebase for visual consistency
  • Before a redesign — understand what you have
  • When the UI looks "off" but you can't pinpoint why
  • Reviewing PRs that touch styling

How It Works

Mode 1: Generate Design System

Analyzes your codebase and generates a cohesive design system:

1. Scan CSS/Tailwind/styled-components for existing patterns
2. Extract: colors, typography, spacing, border-radius, shadows, breakpoints
3. Research 3 competitor sites for inspiration (via browser MCP)
4. Propose a design token set (JSON + CSS custom properties)
5. Generate DESIGN.md with rationale for each decision
6. Create an interactive HTML preview page (self-contained, no deps)

Output: DESIGN.md + design-tokens.json + design-preview.html

Mode 2: Visual Audit

Scores your UI across 10 dimensions (0-10 each):

1. Color consistency — are you using your palette or random hex values?
2. Typography hierarchy — clear h1 > h2 > h3 > body > caption?
3. Spacing rhythm — consistent scale (4px/8px/16px) or arbitrary?
4. Component consistency — do similar elements look similar?
5. Responsive behavior — fluid or broken at breakpoints?
6. Dark mode — complete or half-done?
7. Animation — purposeful or gratuitous?
8. Accessibility — contrast ratios, focus states, touch targets
9. Information density — cluttered or clean?
10. Polish — hover states, transitions, loading states, empty states

Each dimension gets a score, specific examples, and a fix with exact file:line.

Mode 3: AI Slop Detection

Identifies generic AI-generated design patterns:

- Gratuitous gradients on everything
- Purple-to-blue defaults
- "Glass morphism" cards with no purpose
- Rounded corners on things that shouldn't be rounded
- Excessive animations on scroll
- Generic hero with centered text over stock gradient
- Sans-serif font stack with no personality

Examples

Generate for a SaaS app:

/design-system generate --style minimal --palette earth-tones

Audit existing UI:

/design-system audit --url http://localhost:3000 --pages / /pricing /docs

Check for AI slop:

/design-system slop-check
Câu hỏi thường gặp

'Design token' là gì?

Đây là những khối xây dựng cơ bản của thiết kế, như màu sắc chính xác, cỡ chữ và khoảng cách được dùng trong dự án.

'Kiểm tra tính nhất quán hình ảnh' nghĩa là gì?

Nghĩa là kiểm tra xem mọi thành phần hình ảnh của website hoặc ứng dụng có tuân theo cùng một quy tắc hay không, để mọi thứ trông hài hòa và chuyên nghiệp.

'AI slop' là gì?

Đây là các mẫu thiết kế chung chung, thiếu mục đích, đôi khi xuất hiện khi dùng AI để tạo giao diện, ví dụ như chuyển màu gradient quá đà hoặc góc bo tròn quá mức.

Chi tiết

Mô tả gốc của tác giả

Generate a design system from an existing codebase or audit one for visual consistency: extract tokens (colors, typography, spacing, shadows) into design-tokens.json and CSS custom properties with DESIGN.md rationale and an interactive HTML preview, score the UI across 10 dimensions, and flag AI-slop patterns. Use when starting a design system, auditing visual consistency before a redesign, or rev

repo: affaan-m/ECC

Độ phổ biến

Sao GitHub
280k
Vị trí xếp hạng
#166
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự