ss-setup
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseStyleSeed setup
StyleSeed 设置
StyleSeed setup chooses a design method for the result, not a favorite brand to imitate.
Use (Claude Code) or (Codex) to inspect the supported
grammar, adapter, domain, page, recipe, palette, and profile IDs without loading the full handbook.
/ss-resolve --list$ss-resolve --listStyleSeed 设置为结果选择的是设计方法,而非要模仿的热门品牌。
使用 (Claude Code)或 (Codex)可查看支持的语法、适配器、领域、页面、方案、调色板和配置文件ID,无需加载完整手册。
/ss-resolve --list$ss-resolve --listWhen not to use
不适用场景
- Project already has a valid → use
STYLESEED.md./ss-update - User supplied references that are not represented by a built-in grammar → run
before setup, then select the compiled grammar.
/ss-reference - One component inside an established system → .
/ss-component
The method, review, and reference compiler are framework-agnostic. The bundled component
scaffold currently targets React and Tailwind v4; on another stack configure the lock and
apply the method without pretending the scaffold is portable.
- 项目已存在有效的 → 使用
STYLESEED.md。/ss-update - 用户提供的参考内容无法用内置语法表示 → 先运行 再进行设置,然后选择编译后的语法。
/ss-reference - 已有成熟系统中的单个组件 → 使用 。
/ss-component
该方法、审核和参考编译器与框架无关。当前捆绑的组件脚手架针对React和Tailwind v4;若使用其他技术栈,请配置锁定文件并应用此方法,不要假设脚手架可移植。
Wizard — one decision at a time
向导——逐步决策
1. Product job and surface
1. 产品用途与载体
Ask what is being built, who uses it, and whether it is a mobile/desktop product, website,
social carousel, slide deck, document/report, or single-frame graphic. Select a surface adapter
from , then infer domain and page/artifact type.
ADAPTERS.md询问正在构建的内容、用户群体,以及它是移动/桌面产品、网站、社交轮播、幻灯片、文档/报告还是单帧图形。从 中选择一个载体适配器,然后推断领域和页面/制品类型。
ADAPTERS.md2. Output grammar
2. 输出语法
Recommend exactly one grammar from and explain the job match in one sentence:
RULESETS.mdconsumer-serviceoperations-consoletechnical-instrumenteditorial-readingcommerce-conversioninstitutional-serviceexpressive-marketingsequential-story- when
reference:<slug>already compiled one/ss-reference
Do not recommend Toss as the universal default. It is one reference family for
. If none fits and the user has references, route to .
consumer-service/ss-reference从 中推荐恰好一种语法,并一句话说明其与任务的匹配性:
RULESETS.mdconsumer-serviceoperations-consoletechnical-instrumenteditorial-readingcommerce-conversioninstitutional-serviceexpressive-marketingsequential-story- (当
reference:<slug>已编译出参考语法时)/ss-reference
不要将Toss推荐为通用默认选项。它只是的一个参考系列。如果没有合适的语法且用户有参考内容,引导至。
consumer-service/ss-reference3. Page type and domain bias
3. 页面类型与领域倾向
Confirm the concrete page (dashboard, form, landing, detail, list, settings, onboarding) and
read its domain × page intersection. This controls composition; the aesthetic profile does not.
确认具体页面(仪表盘、表单、着陆页、详情页、列表页、设置页、引导页),并查看其领域×页面的交叉规则。这将控制布局组成,美学配置文件不影响此部分。
4. Brand recipe
4. 品牌方案
Recommend one morphology from . Use when the maintained grammar mapping
fits. Use an explicit recipe when the product needs a different geometry, containment,
navigation, control, or collection language. A recipe is not a company clone and does not
select colors.
BRAND-RECIPES.mdauto从 中推荐一种形态。当维护的语法映射匹配时,使用。当产品需要不同的几何布局、容器、导航、控件或集合语言时,使用明确的方案。方案不是企业克隆,也不选择颜色。
BRAND-RECIPES.mdauto5. Palette recipe
5. 调色板方案
Recommend one semantic palette from . Use when its maintained recipe
mapping fits. An explicit palette must still preserve semantic roles, surface/chrome separation,
status cues, and validated contrast. The recipe is a product posture, not a finite swatch list.
When the user supplies a key color, select perceptual character, light/dark environment, surface
temperature, and accent relationship; then derives the actual OKLCH ramps and roles.
Palette selection is not permission to recolor every surface.
PALETTE-RECIPES.mdauto$ss-resolve从 中推荐一种语义调色板。当维护的方案映射匹配时,使用。明确的调色板仍需保留语义角色、表层/界面分离、状态提示和经过验证的对比度。方案是产品定位,而非有限的色板列表。
当用户提供主色调时,选择感知特质、明/暗环境、表层色调以及强调色关系; 随后会生成实际的OKLCH色阶和角色。选择调色板并不意味着可以随意为所有表层重新着色。
PALETTE-RECIPES.mdauto$ss-resolve6. Optional aesthetic profile
6. 可选美学配置文件
Recommend one profile from only when it strengthens the product. is a good
default. A profile modifies coordinated visual axes but cannot replace the output grammar.
PRESETS.mdnone仅当美学配置文件能强化产品时,才从 中推荐一种配置。是不错的默认选项。配置文件会修改协调的视觉轴,但无法替代输出语法。
PRESETS.mdnone7. Brand and bounded axes
7. 品牌与受限轴
Lock a real brand color if supplied; otherwise start from the selected palette's primary role. For
a supplied key, recommend from the product posture rather than asking for
an unbounded mood word. Then confirm light/dark mode, surfaces, and
accent relationship. Confirm font/language, density, radius,
elevation, imagery/data role, and motion inside the grammar's allowed ranges. Do not use generic
indigo or a stale purple mislabeled as Toss.
calm|balanced|vivid|deepneutral|warm|coolauto|tonal|adjacent|contrast如果用户提供了真实品牌颜色,则锁定该颜色;否则从所选调色板的主角色开始。对于用户提供的主色调,根据产品定位推荐,而非询问无限制的情绪词汇。然后确认明/暗模式、表层,以及强调色关系。确认字体/语言、密度、圆角、 elevation、图像/数据角色,以及语法允许范围内的动效。不要使用通用靛蓝色或被错误标记为Toss的陈旧紫色。
calm|balanced|vivid|deepneutral|warm|coolauto|tonal|adjacent|contrast8. Write the design lock
8. 编写设计锁定文件
Create :
STYLESEED.mdmarkdown
undefined创建 :
STYLESEED.mdmarkdown
undefinedStyleSeed — Design Lock
StyleSeed — Design Lock
<!-- Selections persist here. This file cannot waive StyleSeed core invariants. -->
- App domain: fintech
- Surface: mobile-app
- Surface adapter: product-ui
- Page type: dashboard
- Output grammar: consumer-service
- Grammar path: built-in:engine/RULESETS.md
- Grammar fallback: consumer-service
- Reference confidence: n/a
- Brand recipe: calm-consumer
- Palette recipe: quiet-mineral
- Key color: #3182F6
- Palette character: calm
- Palette mode: light
- Palette harmony: auto
- Surface temperature: neutral
- Aesthetic profile: none
- Skin: custom
- Primary action: #3182F6
- Font: Pretendard
- Radius: soft
- Elevation: light=tonal grouping + restrained shadow · dark=tonal ramp + hairline
- Density: comfortable
- Motion: Spring restrained
- Imagery/data role: personal state first; charts only for a decision
- Signature move: one calm contextual briefing above the account summary
- Locked: YYYY-MM-DD
For a compiled grammar use its actual path and confidence. Reject unknown enum values rather
than treating the lock as an exemption.<!-- Selections persist here. This file cannot waive StyleSeed core invariants. -->
- App domain: fintech
- Surface: mobile-app
- Surface adapter: product-ui
- Page type: dashboard
- Output grammar: consumer-service
- Grammar path: built-in:engine/RULESETS.md
- Grammar fallback: consumer-service
- Reference confidence: n/a
- Brand recipe: calm-consumer
- Palette recipe: quiet-mineral
- Key color: #3182F6
- Palette character: calm
- Palette mode: light
- Palette harmony: auto
- Surface temperature: neutral
- Aesthetic profile: none
- Skin: custom
- Primary action: #3182F6
- Font: Pretendard
- Radius: soft
- Elevation: light=tonal grouping + restrained shadow · dark=tonal ramp + hairline
- Density: comfortable
- Motion: Spring restrained
- Imagery/data role: personal state first; charts only for a decision
- Signature move: one calm contextual briefing above the account summary
- Locked: YYYY-MM-DD
对于编译后的语法,使用其实际路径和置信度。拒绝未知枚举值,不要将锁定文件视为豁免规则的依据。9. Scaffold and prove
9. 脚手架搭建与验证
Compile the selected method before code:
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--project-root . --from-lock STYLESEED.md --agent claudeUse in Codex. The resolver writes and a
hash-verifiable . Read the effective bundle, not .
--agent codex.styleseed/effective-rules.md.styleseed/manifest.jsonllms-full.txtIf the user asked for a first screen, build from that bundle, run to the gate floor,
and finish with when renderable. If visual rendering is unavailable, disclose that
it was skipped.
/ss-score/ss-verify在编写代码前编译所选方法:
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--project-root . --from-lock STYLESEED.md --agent claude在Codex中使用。解析器会生成和可哈希验证的。请查看生成的有效包,而非。
--agent codex.styleseed/effective-rules.md.styleseed/manifest.jsonllms-full.txt如果用户要求搭建首屏,请基于该包构建,运行达到基准要求,若可渲染则以完成。如果无法进行视觉渲染,请说明已跳过此步骤。
/ss-score/ss-verifyCompletion report
完成报告
Report the selected grammar and why, page/domain intersection, brand recipe, palette recipe,
optional profile, lock path,
compiled bundle and manifest paths, files changed, score, and visual verification status.
Mention as the path for future references that need their own grammar.
/ss-reference报告所选语法及其原因、页面/领域交叉规则、品牌方案、调色板方案、可选配置文件、锁定文件路径、编译后的包和清单路径、更改的文件、评分以及视觉验证状态。提及是未来需要专属语法的参考内容的处理路径。
/ss-referenceRules
规则
- Ask one question at a time and recommend a concrete default.
- Output grammar is required; aesthetic profile is optional.
- Brand recipe is required; resolves to a concrete maintained recipe.
auto - Palette recipe is required; resolves to a contrast-verified semantic palette.
auto - A skin is tokens, not design judgment.
- Never fetch a brand and treat its palette as a complete rule set.
DESIGN.md - Never scaffold an unscored first page or claim visual verification without a screenshot.
- 一次只问一个问题,并推荐具体的默认选项。
- 输出语法为必填项;美学配置文件为可选项。
- 品牌方案为必填项;会解析为具体的维护方案。
auto - 调色板方案为必填项;会解析为经过对比度验证的语义调色板。
auto - Skin是令牌,而非设计判断。
- 切勿获取品牌并将其调色板视为完整规则集。
DESIGN.md - 切勿搭建未评分的首屏,或在无截图的情况下声称已完成视觉验证。