Logo Variant Design

Variant Design

Cộng đồng
YuqingNicole
variant-design

Create, vary, review, or extend product interfaces. Routes design generation, design systems, components, existing-site analysis, UX review, presentations, WeChat layouts, brand color, and anti-AI copywriting to focused references while preserving project context and producing runnable code when requested.

Tổng quan

Nhà phát hànhYuqingNicole
Kho mãvariant-design-skill
Tên kỹ năngvariant-design
Sao
47
Bản fork
0
Tệp đi kèm
250
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ộ.

  • 250 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 YuqingNicole 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 Variant Design 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/YuqingNicole/variant-design-skill/tree/master
  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/YuqingNicole/variant-design-skill.git \
  .claude/skills/variant-design
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 Variant Design 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 Variant Design 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 Variant Design 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.

Variant Design

Turn one brief into deliberate design options, compare them on shared criteria, and carry the strongest direction into working code.

In commands below, <skill-root> means the directory containing this SKILL.md. Resolve it before running bundled scripts; do not assume the user's project contains this skill's scripts/ directory.

Runtime and first use

Use the current code workspace as the target project, not the installed plugin directory. Keep generated output, history, and preview adapters in the target project. The installed skill is read-only during product work.

Bundled scripts require Node.js 22 or later. Before executing them, check the available runtime and the project's package manager. If unavailable, explain the missing runtime and preserve any generated candidate; do not claim that snapshots or preview verification ran. Use the existing framework and dependencies; do not replace the project's stack to fit a helper.

When the user asks about updates, run node <skill-root>/scripts/check-update.mjs --quiet. This optional check contacts GitHub for release metadata; ordinary design work does not require it. Plugin updates should use the plugin manager rather than editing its cached files.

Route first

Choose one primary route. Read that file completely, then load only the references it requires. Do not load every sub-skill or reference by default.

RequestRead
Three directions, a new page, variation actions, or exportskills/variant-generate/SKILL.md
Tokens, ds, design-system confirmation, or page compositionskills/variant-design-system/SKILL.md
A button, form, card, modal, navigation, or component libraryskills/variant-component/SKILL.md
Audit existing code, extract tokens, match a site, or plan migrationskills/variant-analyze/SKILL.md
UX, accessibility, cognitive load, heuristics, research, or conversion reviewskills/variant-ux/SKILL.md
Pitch deck or slidesreferences/presentation.md
WeChat article layoutreferences/wechat.md
Chinese cultural or Wu Xing brand colorreferences/wuxing-colors.md
Copywriting or removing AI tonereferences/voice.md

If a request spans routes, select the route that produces the requested deliverable and load a second route only when its workflow is actually needed. For example, an accessibility review of a generated page uses UX Review first; generating the fixed page then adds Generate.

Rule precedence

Across every route and reference: user constraints → product task and existing/confirmed design system → accessibility → style suggestions. This order resolves design choices; do not silently hide accessibility problems when a higher constraint prevents a fix—report the conflict and an accessible alternative. Font bans, motion examples, and visual novelty are suggestions subordinate to the existing brand.

Use two acceptance modes: exploration compares task strategies plus fitting visual directions; brand-locked preserves fonts, colors, component language, and token scales while varying hierarchy, layout, density, and permitted interactions. Both preserve the same core task, data, and necessary functions. A static interface is valid when animation adds no information.

The two-question budget applies to the whole request, including sub-skills. Infer known answers; do not restart intake after routing.

Fast path

Do not force a confirmation round when the brief or existing project already answers the important questions.

  1. Infer product type, audience, tone, constraints, and framework from the request and repository.
  2. State important assumptions in one concise line and proceed.
  3. Ask at most two questions only when the answers would materially change the deliverable.
  4. If the user says “surprise me,” choose three maximally different directions and proceed immediately.

Use a short Design Read only when it helps expose a consequential assumption:

text
Design Read: [page or flow] for [audience] — [tone] · [constraints]

An explicit request to execute, build, generate, or continue authorizes the fast path. Do not make the user confirm information they already supplied.

Existing project discovery

Before generating or changing interfaces in an existing code project, read references/project-discovery.md. Establish the target entry, brand and behavior constraints, related dependencies and unknowns. The bundled read-only scanner assists this review; it does not prove complete understanding or runtime support.

Shared context

Before design work, read variant-output/.variant-context.json when it exists. For the schema and update rules, read references/project-context.md.

  • User instructions override persisted preferences.
  • A confirmed design system locks visual tokens, not content hierarchy or product judgment.
  • Preference writes are best-effort. Before generating an edit, use variant-history.mjs prepare to create a new candidate with its original baseline; never retrofit a baseline onto an old candidate. Before replacing existing output, a successful durable snapshot is required; on failure keep the original and deliver a separate candidate.
  • reset context may remove only variant-output/.variant-context.json after resolving that exact path.

Product-critical work

For money, privacy, permissions, deletion, health, safety, or AI-generated conclusions, read:

  • references/design-declaration.md
  • references/product-integrity-gate.md

Infer the declaration from available product evidence. Ask only about unknowns that change the primary job, trust boundary, or irreversible consequence. Label mock and inferred evidence explicitly. Product integrity outranks aesthetic preference.

Exploratory posters, moodboards, and explicitly speculative visual studies may skip the declaration; label them exploratory — no product decision locked.

Code output

Whenever the deliverable includes code, read skills/shared/code-output.md before writing it. That file is the single source of truth for:

  • framework detection and user overrides;
  • output paths and file naming;
  • preview, iteration, comparison, and export;
  • completeness, responsive behavior, performance, and production hardening.

Write complete runnable output. Never use TODO, omitted-code comments, or prose in place of implementation. Preserve the user's stack and existing conventions.

Quality gate

Before presenting generated or materially changed interface code:

  1. Read references/quality-baseline.md.

  2. Run the deterministic scanner:

    bash
    node <skill-root>/scripts/quality-gate.mjs <file-or-directory> --strict
  3. Inspect every finding in context; fix confirmed errors and relevant warnings.

  4. Preview the result and check the actual rendered interface at desktop and mobile widths when browser control is available.

  5. For product-critical work, run the Product Integrity Gate separately. Do not average it into a visual score.

The scanner is evidence, not a substitute for visual judgment. Do not claim WCAG compliance, cross-browser support, or a quality score unless it was actually tested.

Reference routing

Load one domain reference that best matches the request:

DomainReference
Dashboard, analytics, admin, CRMreferences/dashboard.md
Landing page, SaaS, B2B, product sitereferences/saas.md
Editorial, report, article, newsletterreferences/editorial.md
E-commerce, marketplace, checkoutreferences/ecommerce.md
Education, course, quiz, trainingreferences/education.md
Creative tool, music, 3D, generative artreferences/creative.md
Mobile app or mobile-first flowreferences/mobile.md
Portfolio or case studyreferences/portfolio.md
Food, beverage, restaurant, recipereferences/food-beverage.md
Fashion, beauty, furniture, lifestylereferences/fashion.md

Then load only the design-system references needed for the task:

  • type hierarchy → references/design-system/typography.md
  • palette and contrast → references/design-system/color-and-contrast.md
  • layout and spacing → references/design-system/spatial-design.md
  • motion → references/design-system/motion-design.md
  • micro-interactions → references/design-system/micro-interactions.md
  • forms and states → references/design-system/interaction-design.md
  • responsive behavior → references/design-system/responsive-design.md
  • interface copy → references/design-system/ux-writing.md
  • functional prototypes → references/interactive-patterns.md

Non-negotiable invariants

  • Three generated directions must differ in design position, not just color.
  • Confirmed tokens constrain all downstream visual output until reset.
  • Existing-site work extracts and respects current patterns before inventing new ones.
  • Generated UI includes meaningful content and relevant loading, empty, error, and success behavior.
  • Accessibility, reduced motion, keyboard use, and visible focus are baseline requirements.
  • Report what was verified and what remains an assumption.

Version-bound verification

For checks on generated artifacts, follow references/artifact-verification.md. Record evidence against the actual revision and recheck it before delivery; changes invalidate prior results. Static-only checks do not establish runtime correctness.

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.

và 140 tệp khác.

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

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

Create, vary, review, or extend product interfaces. Routes design generation, design systems, components, existing-site analysis, UX review, presentations, WeChat layouts, brand color, and anti-AI copywriting to focused references while preserving project context and producing runnable code when requested.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/YuqingNicole/variant-design-skill/tree/master. 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 Variant Design?

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

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