AGENT SKILL

UI 创意变体生成

creative-seed

用于创建外观开放的 UI 概念、原型设计或探索性视觉变体;不适用于匹配已商定的样稿或对已选定设计进行修补;每个变体的创意方向都源自一个设计本身从不展示的确定性种子字符串。

适用职业界面设计师
使用场景用户体验设计
License 许可
MIT
所属仓库
mintuz/skills
最近更新
2026-11-13
Stars
★ 35
Forks
7

01 前言 Front Matter

name
creative-seed
description
WHEN creating UI concepts, prototype designs or exploratory visual variants whose look is open; NOT for matching an agreed mock-up or repair rounds on a picked design; derives each variant's creative direction from a deterministic seed string that the design never shows.

02 资源文件 1

03 SKILL.md 正文

Creative seed

A seed string is a long string of letters and digits that scripts/seed.sh derives from a label. You read the string for patterns and turn them into a creative direction. The same label always prints the same string, so each direction can be traced and regenerated.

Run the script as bash <absolute path of this folder>/scripts/seed.sh <label> [length]. Run it with no arguments to see its usage.

1. Label each variant

Give each variant one label in the form <run-id>/<variant>, for example checkout-concept/B. Use one run ID for the whole run.

For a new alternative to an existing variant, keep that variant's label and add a reroll number, for example checkout-concept/B/2. This applies also when the variant came from an earlier run.

To regenerate a direction from an earlier run, use the label from its design record. The same label prints the same string.

Complete when: every variant has a label that no other variant in the run uses.

2. Print the string

Run the script with each label. Use the printed string exactly as the source of the direction. When the host cannot run the script, report that gap and stop this skill; a string that you write yourself cannot be regenerated.

Complete when: each variant has the string that the script printed for its label.

3. Read the string

Look below the surface: repeats, runs, case rhythm, the ratio of digits to letters, digit groups, special numbers (primes, dates, powers of two), letter shapes and positions. Use only patterns that the string contains.

Write the direction as decisions, each with the pattern that inspired it:

  • palette, with colour values;
  • typefaces and type scale;
  • layout and grid;
  • spacing and density;
  • shape, for example corner radius and borders;
  • motion;
  • imagery or illustration;
  • one signature motif.

Complete when: every open choice has a decision, and every decision names its source pattern.

4. Keep the fixed choices

Fixed choices win over the seed: the product's design tokens and components, the brand, the spec's states, each taste constraint from the user, and a text contrast of at least 4.5:1. With an existing design system, take colour (neutrals included), typefaces and shape from the system. The seed then directs only layout, composition, chart style, density, emphasis, motion and imagery. When a pattern suggests a choice that breaks a fixed rule, keep the rule and use another pattern.

Complete when: each decision either fills an open choice or matches a fixed one.

5. Build it well

Use your judgement to bring the direction to life and make it look great. The seed is inspiration: when a literal reading of a pattern makes the design worse, the better design wins.

6. Keep the string out of the design

The string is for your inspiration only. The design shows no part of it: visible text, alt text, file names, class names, IDs, comments, metadata and sample data stay free of the string and its fragments. Name each class and file for its role, for example .hero.

Record the label and the direction notes in the design record beside the variant, outside the artifact. A critic gets the goal, the bar and the artifact with its evidence (gauntlet-loop step 4), without the label, the string or the direction notes.

Complete when: a search of the artifact for each 6-character run of the string finds nothing, and the design record holds the label and the direction.

7. Freeze the direction

After a base is picked, for example by arena or by the user, its direction becomes the pinned tokens and motifs of the bar (gauntlet-loop step 1). Repair rounds fix gaps inside that direction; they print no new string and use no reroll label. A reroll belongs to a new exploration round that the user asks for.

Hand back

List the label of each variant. State that the script prints the same string for the same label, so each direction can be regenerated.

04 同仓库更多 Skills

mintuz
mintuz/skills

lens-review

USE WHEN reviewing uncommitted work, a branch diff or a pull request through several installed skills, each run as its own review lens; NOT WHEN you need one cold second opinion (double-check), a verdict against a specification (acceptance-review) or the built-in fixed-lens /code-review. Runs each lens in an isolated read-only agent, has a separate agent try to refute every finding, and returns one severity-ranked report.

★ 35
mintuz
mintuz/skills

XState 状态机建模

xstate

当 React 状态因外部响应而变化——异步提交、进行中或加载标志、重试、取消、轮询、乐观更新、过期响应——或因与可中断的过程(如拖拽或手势)交互而变化时使用;或在构建、审查、测试或可视化 XState 5 actors 和 @xstate/react 集成时使用;不适用于单个事件即可完全设定的值,如文本草稿、焦点标志或简单的开关切换;建模类型化生命周期并渲染合法的 Mermaid stateDiagram-v2 图表。

软件开发工程师前端开发与界面实现
★ 35
mintuz
mintuz/skills

网页界面设计优化

web-design

在优化 UI 布局、排版、色彩或细节打磨时使用;不涉及代码实现;提供简洁的原则,以实现有意图、易读的设计。

界面设计师用户体验设计
★ 35
mintuz
mintuz/skills

Tailwind CSS 样式开发

tailwind

在编写、修复或审查使用 Tailwind CSS 的项目中的样式时使用,即便只是改一个类名,或请求中未提及 Tailwind:颜色、焦点环、间距、由 prop、map 或 CVA 变体选择的类名、Tailwind 样式表或 tailwind.config 中的主题令牌与深色模式、配置或升级(如不确定项目是否使用 Tailwind,先检查 package.json 或主样式表);不适用于在没有 Tailwind 的项目中编写纯 CSS 或 Sass;产出的类名能被 Tailwind 识别,语法适配已安装的主版本,具有可见的焦点指示器,且不引入未要求的依赖或杜撰的品牌值。

软件开发工程师前端开发与界面实现
★ 35
mintuz
mintuz/skills

代码重构规划

refactoring

当你需要制定计划来重构、重组或清理正常工作的代码,且测试结果已知(全绿或已记录的失败集合)时使用;不适用于新功能交付或任何行为变更;以可逆的基线安全性和按优先级排序的改进为核心。

软件开发工程师设计评审与架构优化
★ 35
mintuz
mintuz/skills

react

USE WHEN changing the logic, data, props, state, Effects or rendered text of a React component, hook or page, even a one-line change; NOT WHEN the request is styling only (class names, Tailwind, CSS, dark mode, spacing, shadows) or tests only, or when it models submit, in-flight, loading, retry or failure states, even for a named React form (xstate covers that, including its React wiring); applies React 19 composition, state, Effect, structure, API and performance rules with only the project's installed libraries.

★ 35