Variant Design 标志

Variant Design

社区
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.

概览

发布者YuqingNicole
代码仓库variant-design-skill
技能名称variant-design
星标数
47
复刻数
0
附带文件
250
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 250 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 YuqingNicole 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Variant Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/YuqingNicole/variant-design-skill/tree/master
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/YuqingNicole/variant-design-skill.git \
  .claude/skills/variant-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Variant Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Variant Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Variant Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 140 个文件。

常见问题

Variant Design AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Variant Design?

因为您只需安装一次,就能搭配任何模型使用。Variant Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Variant Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/YuqingNicole/variant-design-skill/tree/master。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Variant Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Variant Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Variant Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Variant Design AI 技能免费吗?

是的。YuqingNicole 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇