Logo Design System From Scratch

Design System From Scratch

Cộng đồng
nnikochann
design-system-from-scratch

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

Tổng quan

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

  • 3 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 From Scratch 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-from-scratch
  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-from-scratch .claude/skills/design-system-from-scratch
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 From Scratch 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 From Scratch 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 From Scratch 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 From Scratch

Purpose

Create a design system when there is no reliable existing UI to extract from. The process starts with product intent and references, not implementation. The output is a usable system: tokens, component foundations, layout rules, accessibility rules, visual principles, and a manifest that future UI work can follow.

This pipeline differs from $design-system-research: do not pretend to extract a mature system from an empty repo. First build design direction from brief and references, then author the system deliberately.

Core Rule

Do not generate polished UI immediately. First clarify the product, gather or request references, synthesize visual direction, define tokens/components, and write docs/design-system/manifest.json.

If the repo already has a real product UI, component library, or design tokens that should constrain the work, use $design-system-research first.

Workflow

  1. Intake the product.

    • Capture product name, category, audience, primary workflows, business goal, platform targets, technical stack, brand constraints, accessibility expectations, and required deliverables.
    • Ask for references only when missing information would materially change the design direction. Prefer 3-7 strong references over a large unfocused dump.
    • When the user provides sparse input, proceed with stated assumptions and record open questions.
  2. Build a reference board.

    • Read references/reference-intake.md for reference categories and evaluation prompts.
    • Use provided Figma links, screenshots, public sites, brand books, product docs, competitor URLs, and moodboard images.
    • Separate references by role: aspirational mood, direct competitor, layout, typography, color/material, interaction/motion, imagery, and anti-reference.
    • Save the source list and observations in docs/design-system/reference-board.md.
  3. Synthesize direction.

    • Define 1-3 design territories when the brief is exploratory. Each territory should include mood, typography direction, color/material approach, layout density, motion attitude, and risks.
    • If the user has already chosen a direction, skip territories and document the chosen direction.
    • Avoid generic style words unless they are converted into concrete rules. "Premium" is not a rule; "low-chroma surfaces, restrained accent color, dense editorial type scale, no glass cards" is a rule.
  4. Author tokens.

    • Create semantic colors, typography roles, spacing scale, radius scale, elevation/shadow policy, breakpoints, grid rules, and motion tokens.
    • Define why each major token exists and where it should be used.
    • Keep values implementation-ready for the project's stack when known: CSS variables, Tailwind theme, design tokens JSON, or component props.
  5. Define component foundations.

    • Start with primitives: Button, Link, Input, Select, Checkbox, Toggle, Tabs, Tooltip, Modal/Dialog, Toast, Card/Panel, Table/List, Nav, Badge, Avatar, Empty State, Loading, Error.
    • For each component, define variants, states, anatomy, spacing, typography, accessibility, and usage limits.
    • Design for reuse before adding expressive one-off sections.
  6. Define layout and visual principles.

    • Specify page shells, grid, max widths, responsive behavior, section rhythm, density, hierarchy, content rules, iconography, imagery, data visualization, and motion.
    • Include anti-patterns so future UI work has guardrails.
  7. 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/reference-board.md
      • docs/design-system/component-map.md
    • Optional when useful:
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
  8. 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/reference-board.md
      • docs/design-system/component-map.md
      • docs/design-system/tokens.css
      • docs/design-system/tailwind.tokens.js
      • docs/design-system/visual-principles.md
    • 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/reference-board.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.
  9. Prototype only after the system exists.

    • If the user requested screens in the same run, implement a small representative slice first: one page shell plus core components and states.
    • Run visual QA across mobile, tablet, and desktop.
    • Summarize design-system deviations and whether they should become new rules or be removed.

Reference Expectations

Good reference input includes:

  • 2-3 products the user wants to feel adjacent to.
  • 1-2 anti-references showing what to avoid.
  • Audience and product category.
  • Desired brand traits with concrete examples.
  • Screens or flows the system must support first.

Do not copy references literally. Extract principles: hierarchy, density, rhythm, material, interaction, contrast, and tone.

Output Standard

The design system is ready when another Codex run can build UI from the artifacts without re-asking basic visual questions. The final response should include created files, the updated or created project agent instruction file, chosen direction, open questions, verification performed, and the recommended next UI slice.

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

Use when Codex needs to create a new design system before a product has stable UI, components, or tokens. Trigger for greenfield products, new brands, app/site concepts, startup MVPs, reference-driven visual direction, moodboards, screenshots, competitor sites, Figma references, brand exploration, or requests to define colors, typography, components, layout, and visual rules from scratch.

Vì sao nên dùng Design System From Scratch 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 From Scratch 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 From Scratch 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-from-scratch. 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 From Scratch?

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 From Scratch 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 From Scratch 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 From Scratch 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 👇