Logo Design System Research

Design System Research

Cộng đồng
nnikochann
design-system-research

Chỉ dùng để khám phá, kiểm tra, trích xuất, chuẩn hóa hoặc ghi lại hệ thống thiết kế dựa trên bằng chứng từ sản phẩm hiện có khi hệ thống đó còn thiếu, chưa hoàn chỉnh, lỗi thời hoặc chưa được ghi tài liệu. Kích hoạt khi có yêu cầu tạo/cập nhật tài liệu hệ thống thiết kế từ giao diện hiện có, thư viện thành phần, tệp kiểu dáng, Figma, trang web, ảnh chụp màn hình, tài liệu thương hiệu hoặc kiểm tra token/thành phần. Không dùng kỹ năng này chỉ để thiết kế hoặc triển khai giao diện theo một hệ thống thiết kế đã có; trong trường hợp đó, hãy đọc trực tiếp tài liệu/tệp hệ thống thiết kế hiện có và làm theo.

Add to TypingMind

Tổng quan

Nhà phát hànhnnikochann
Kho mãdesign-system-skills
Tên kỹ năngdesign-system-research
Sao
3
Bản fork
0
Tệp đi kèm
2
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ộ.

  • 2 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 nnikochann 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 System Research 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/nnikochann/design-system-skills/tree/main/skills/design-system-research
  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/nnikochann/design-system-skills.git /tmp/design-system-skills
mkdir -p .claude/skills
cp -r /tmp/design-system-skills/skills/design-system-research .claude/skills/design-system-research
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 System Research 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 System Research 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 System Research 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 System Research

Purpose

Build or repair compact, reusable design-system documentation from existing product evidence. A design system is the product contract between design intent and code: tokens, components, layout rules, interaction states, accessibility policy, content patterns, and governance. It is not just a palette or component library.

Use this skill when a product already has code, screens, Figma files, brand material, a public website, or prior UI decisions, but the design-system contract itself is absent, weak, outdated, or needs an audit. The job is to discover the system that exists and make it explicit.

This is not a UI-generation skill. If docs/design-system/manifest.json, docs/design-system/design-system.md, and docs/design-system/component-map.md already exist and the user asks to design a page, build a screen, update CSS, or implement a component, read those artifacts directly and proceed without invoking this skill unless the user asks to audit or revise the system itself.

Core Rule

Do not use this skill as a general preflight for every UI task. Use it only when design-system discovery or documentation is part of the work.

When this skill is active, do not start visual implementation until the current design system has been inspected and documented. If the user asks for implementation in the same run, complete the research artifacts first, then continue using them as constraints.

If there is no existing product, no existing UI, and the user wants a new visual system from references or a product idea, use $design-system-from-scratch instead.

If the design system already exists and the task is to create a screen from it, this skill is not applicable.

Workflow

  1. Inventory sources.

    • Inspect repo structure, frontend framework, routes/pages, component directories, style files, assets, and package dependencies.
    • Search for Tailwind config, theme files, CSS variables, CSS modules, global styles, design-token files, shadcn/Radix/MUI/Chakra usage, icons, fonts, and animation libraries.
    • If a Figma link is present and Figma MCP is available, pull design context, screenshot/context images, components, styles, and variable definitions. If the tool is unavailable, record that as a limitation instead of guessing.
    • If a website URL is present, capture key pages with browser or Playwright, then save screenshots under docs/design-system/screenshots/.
    • If screenshots, PPTX, PDFs, brand books, or moodboards are provided, treat them as design evidence and cite them in the manifest sources.
  2. Extract tokens.

    • Capture colors, typography, spacing, radius, shadows/elevation, breakpoints, grid, z-index/layers, motion timings/easing, and imagery rules.
    • Prefer semantic roles over raw values: surface, surface-muted, text-primary, accent, border-subtle, danger, focus-ring.
    • When a token is missing but repeatedly needed, propose it in manifest.json with a note. Do not silently hardcode new raw values.
  3. Map components.

    • Identify buttons, links, inputs, selects, checkboxes/toggles, cards, navigation, tabs, tables, dialogs, toasts, empty states, page shells, data visualizations, and marketing sections.
    • Record component paths, variants, supported states, composition rules, accessibility obligations, and local anti-patterns.
    • Reuse existing components before creating new ones. If an existing component is insufficient, explain the extension needed.
  4. Derive layout and visual language.

    • Document grid, page width, section rhythm, density, hierarchy, information architecture, responsive behavior, interaction patterns, motion style, icon style, illustration/photo rules, and content tone.
    • Name anti-patterns clearly: arbitrary gradients, nested decorative cards, floating glass panels, pill overload, fake dashboard widgets, unowned accent colors, inconsistent type scale, and layout drift.
  5. Write artifacts.

    • Read references/manifest-schema.md before writing manifest.json.
    • Create or update:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/component-map.md
    • Optional when useful:
      • docs/design-system/tokens.css
      • docs/design-system/visual-principles.md
      • docs/design-system/screenshots/
  6. Protect the project instructions.

    • After the design-system artifacts are written, search the repository root for an existing agent instruction file in this order: AGENTS.md, agents.md, AGENT.md, agent.md.
    • If one exists, update it. If none exists, create AGENTS.md at the repository root.
    • Add a short "Design System Guard" section explaining that the project's visual layer is protected by the design system: the design system is the source of truth for visual decisions, and UI work must follow it before introducing new styles, tokens, or components.
    • List the design-system files that own the contract. Include required files and any optional files that were actually created, for example:
      • docs/design-system/manifest.json
      • docs/design-system/design-system.md
      • docs/design-system/component-map.md
      • docs/design-system/tokens.css
      • docs/design-system/visual-principles.md
      • docs/design-system/screenshots/
    • Keep this instruction block concise. Do not duplicate the full design-system documentation inside the agent instruction file.
    • Use this shape, adapted to the project's language and actual file list:
      md
      ## Design System Guard
      
      The visual layer of this project is protected by the design system. The design system is the source of truth for UI decisions: colors, typography, spacing, components, layout, motion, and visual QA. Before changing UI, read and follow these files:
      
      - `docs/design-system/manifest.json`
      - `docs/design-system/design-system.md`
      - `docs/design-system/component-map.md`
      
      Do not introduce new visual tokens, component variants, or layout patterns unless they are added to the design-system contract first.
  7. Continue or stop.

    • If the user asked only for research, stop after the artifacts and summarize findings, open questions, and next recommended implementation step.
    • If the user asked for UI implementation too, proceed only after the artifacts exist. Treat the manifest as the source of truth.

Artifact Guidance

manifest.json is the machine-readable contract. Keep it compact, structured, and specific enough that another Codex run can implement from it.

design-system.md is the human-readable explanation. Explain what the system is, how to apply it, and where the strongest design decisions come from.

component-map.md is the engineering handoff. Link component names to file paths, variants, usage rules, states, and gaps.

The project agent instruction file (AGENTS.md, agents.md, AGENT.md, or agent.md) is the persistent guardrail. It should point future agents back to the design-system files and state that the design system is authoritative for visual work.

Verification

Before finishing a UI task that used this skill:

  • Run relevant lint, typecheck, tests, and build commands when available.
  • Render affected screens in browser or Playwright across mobile, tablet, and desktop when possible.
  • Check token usage, typography hierarchy, spacing rhythm, overflow, responsive states, focus states, contrast, and visual drift from manifest.json.
  • Confirm the project agent instruction file exists and references the design-system source-of-truth files.
  • Report verification commands, screenshots or capture paths, deviations, and remaining risks.

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 System Research làm được gì?

Chỉ dùng để khám phá, kiểm tra, trích xuất, chuẩn hóa hoặc ghi lại hệ thống thiết kế dựa trên bằng chứng từ sản phẩm hiện có khi hệ thống đó còn thiếu, chưa hoàn chỉnh, lỗi thời hoặc chưa được ghi tài liệu. Kích hoạt khi có yêu cầu tạo/cập nhật tài liệu hệ thống thiết kế từ giao diện hiện có, thư viện thành phần, tệp kiểu dáng, Figma, trang web, ảnh chụp màn hình, tài liệu thương hiệu hoặc kiểm tra token/thành phần. Không dùng kỹ năng này chỉ để thiết kế hoặc triển khai giao diện theo một hệ thống thiết kế đã có; trong trường hợp đó, hãy đọc trực tiếp tài liệu/tệp hệ thống thiết kế hiện có...

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nnikochann/design-system-skills/tree/main/skills/design-system-research. 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 System Research?

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

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