ui-designer/design-variants

ui-designer/design-variants is a skill for Claude Code, Codex from echoVic/boss-skill. It costs 33 tokens per session (1,226 once invoked), scanned A, original, MIT.

A UI design method that creates two or three meaningfully different interface options, then compares their advantages and disadvantages.

In plain words
What is it for?
It is for comparing different visual styles, layouts, user flows, or feature scopes for a page or product. It also records the selected option for the final UI specification.
Why use it?
It helps when several design directions could work and the right choice is unclear. Comparing the options makes the decision easier before the final design is selected.

Skill for Claude CodeCodex

Part of the boss-skill plugin — 28 skills, 7 commands, 9 agents, 8 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/echovic/boss-skill/design-variants
Any agent
npx skills add echoVic/boss-skill --skill design-variants
Clone the repo
git clone --depth 1 https://github.com/echoVic/boss-skill

Made for: Claude Code, Codex.

Or install boss-skill, the plugin that ships this one along with the rest of its 28 skills, 7 commands, 9 agents, 8 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-designer/design-variants

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/boss-skill/design-variants.svg)](https://agentmods.dev/skills/echovic/boss-skill/design-variants)
Your own site
<a href="https://agentmods.dev/skills/echovic/boss-skill/design-variants"><img src="https://agentmods.dev/badge/skills/echovic/boss-skill/design-variants.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.01226
Opus 5 $0.00016 $0.00613
Sonnet 5 $0.00007 $0.00245
Haiku 4.5 $0.00003 $0.00123

Measured 5d ago against content hash 8db705e2bd7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-designer/design-variants scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/skills/ui-designer/design-variants/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

设计变体模式

适用场景

当设计方向不确定、存在多种合理方案、或用户希望看到不同风格的对比时,启用变体模式。 不建议在简单功能或设计方向明确时使用——避免决策疲劳。

核心方法

步骤 1:变体策略确定

分析 PRD 后确定变体差异维度。常见维度组合:

策略 维度 适用场景
风格变体 简约 vs 丰富 vs 极简 品牌/调性不确定
布局变体 单栏 vs 双栏 vs 卡片 内容组织方式不确定
交互变体 步骤式 vs 单页式 vs 对话式 用户流程不确定
复杂度变体 MVP vs 标准 vs 豪华 功能范围不确定

原则:每个变体应该有清晰的设计理念差异,而非仅仅是颜色/字体的不同。

步骤 2:变体设计

为每个变体(2-3个)产出:

  1. 设计理念:一句话说明这个方案的核心思路
  2. 视觉方案:基于 design-system 的具体实现
  3. 组件选择:使用哪些组件、如何组合
  4. 交互流程:用户的操作路径
  5. Tradeoff 分析:优势和劣势

步骤 3:对比矩阵

生成结构化对比,帮助用户快速决策:

维度 方案 A 方案 B 方案 C
视觉复杂度 高/中/低 - -
开发成本 X 天 - -
用户学习曲线 陡/平/无 - -
可扩展性 高/中/低 - -
品牌一致性 高/中/低 - -
移动端适配 优/良/差 - -

步骤 4:推荐与等待

  1. 给出推荐方案及推荐理由
  2. 将变体输出到 .boss/<feature>/ui-design-variants.json
  3. 设置状态为 NEEDS_CONTEXT,等待用户选择
  4. 用户选择后:
    • 记录选择(供跨项目偏好聚合,走事件流、可重放):
      boss runtime record-user-choice <feature> --choice-type design-variant \
        --selected "<选中方案>" --options "<方案A,方案B,方案C>" --reason "<用户理由>"
      
    • 将选中方案写入正式的 ui-design.jsonui-spec.md

输出要求

JSON 产物格式

输出到 .boss/<feature>/ui-design-variants.json

{
  "schemaVersion": "1.0.0",
  "artifact": "ui-design-variants",
  "feature": "<feature-name>",
  "updatedAt": "<ISO-8601>",
  "strategy": "风格变体|布局变体|交互变体|复杂度变体",
  "variants": [
    {
      "variantId": "A",
      "name": "方案A: [名称]",
      "concept": "[一句话设计理念]",
      "tradeoffs": {
        "pros": ["优势1", "优势2", "优势3"],
        "cons": ["劣势1", "劣势2"]
      },
      "designData": {
        "mode": "wireframe",
        "pages": [],
        "components": [],
        "prototype": {},
        "implementationHints": {}
      }
    }
  ],
  "comparison": {
    "dimensions": ["视觉复杂度", "开发成本", "用户学习曲线", "可扩展性", "品牌一致性", "移动端适配"],
    "matrix": [
      {"dimension": "视觉复杂度", "A": "中", "B": "低", "C": "高"}
    ]
  },
  "recommendation": {
    "variantId": "A",
    "reason": "[推荐理由]"
  },
  "selectedVariantId": null
}

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 134 lines · 33 tokens per session scan A 8db705e2bd7c

Subscribe to this mod's changes

ui-designer/design-variants is a skill published in the GitHub repository echoVic/boss-skill (553 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 1,226 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

large-workspace-handling

To partition large workspaces (100+ files) into scoped subagent tasks when context is insufficient.

griddynamics/rosetta · 26 tokens

example-skill

Example skill template used for the CreateHub template. You should never use this skill directly as it is just a template made to be updated.

aws-samples/sample-well-architected-skills-and-steering · 32 tokens

color-expert

Use when working with color naming, color theory, color spaces, color definitions, or any task involving color knowledge - palettes, ramps, gradients, conversions, accessibility, perceptual matching, pigment mixing, print-vs-screen color, CSS color syntax, or historical color terminology. Use this skill whenever the…

meodai/skill.color-expert · 92 tokens

bmad-github-story-dev

Set up a git worktree/branch (or reuse the current one) and run BMAD dev-story end-to-end: auto-commits per task, PR creation, label updates. Use when the user invokes the SD menu code in bmad help, or asks to start implementing the next ready story, or asks to begin dev on a story.

choucrifahed/agent-plugins · 78 tokens

bmad-github-story-sync

Reconcile GitHub state with BMAD files — detect merged PRs, mark stories done in sprint-status.yaml and story files, sync GitHub labels, and clean up worktrees and branches. Use when the user invokes the SS menu code in bmad help, or asks to sync BMAD with GitHub, or just merged a PR and wants BMAD updated.

choucrifahed/agent-plugins · 81 tokens

bmad-github-story-create

Sync GitHub state then plan the next story end-to-end via the BMAD create-story flow. Detects blocking dependencies via GitHub labels and updates the GitHub issue label to ready. Use when the user invokes the SC menu code in bmad help, or asks to plan/create the next story, or asks to start the next BMAD story.

choucrifahed/agent-plugins · 78 tokens