ss-resolve
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseResolve effective StyleSeed context
解析有效的StyleSeed上下文
Use the bundled ; do not hand-compose the rule stack.
scripts/resolve-context.mjs- Read when it exists. Confirm missing required selections with the user.
STYLESEED.md - Keep the working directory at the user's project root. Invoke the script by its installed
path; do not into the skill directory. Prefer
cd; explicit flags override lock values.--from-lock STYLESEED.md - Read the emitted before building.
.styleseed/effective-rules.md - Preserve . It records selections, source hashes, and the bundle hash for updates and reproducibility.
.styleseed/manifest.json - Use to detect context drift without rewriting files.
--check
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--from-lock STYLESEED.md \
--agent codexWithout a lock:
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--agent claude \
--grammar operations-console \
--adapter product-ui \
--domain saas \
--page dashboard \
--recipe enterprise-workbench \
--palette cobalt-instrument \
--key-color "#175CD3" \
--palette-character balanced \
--palette-mode light \
--palette-harmony auto \
--surface-temperature cool \
--profile swissUse to print supported IDs. maps the selected grammar to a maintained
default; maps that recipe to a contrast-verified semantic palette. Pass explicit
values when the product needs a different morphology or color posture. The default
output directory is in the
project root. For a project-local reference grammar, pass and ensure
exists.
--list--recipe auto--palette auto.styleseed/reference:<slug>.styleseed/rulesets/<slug>/RULESET.mdWhen a key color is present in flags or the lock, the resolver uses the shared OKLCH generator and
writes plus . The manifest records the generation
inputs. The maintained recipe still supplies product posture and semantic restrictions; its fixed
hex values become fallbacks rather than overriding the generated system.
.styleseed/palette.json.styleseed/palette.cssDo not load after a bundle resolves successfully. Load a larger source document
only when the bundle names an unresolved ambiguity that requires it.
llms-full.txt使用捆绑的脚本;请勿手动组合规则栈。
scripts/resolve-context.mjs- 当存在时读取该文件。若缺少必要选项,请向用户确认。
STYLESEED.md - 工作目录保持在用户项目根目录。通过已安装路径调用脚本;请勿到skill目录。优先使用
cd;显式标志会覆盖锁定文件中的值。--from-lock STYLESEED.md - 构建前读取生成的文件。
.styleseed/effective-rules.md - 保留文件。它记录了选项选择、源哈希值和包哈希值,用于更新和可复现性。
.styleseed/manifest.json - 使用检测上下文偏移,无需重写文件。
--check
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--from-lock STYLESEED.md \
--agent codex无锁定文件时:
bash
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--agent claude \
--grammar operations-console \
--adapter product-ui \
--domain saas \
--page dashboard \
--recipe enterprise-workbench \
--palette cobalt-instrument \
--key-color "#175CD3" \
--palette-character balanced \
--palette-mode light \
--palette-harmony auto \
--surface-temperature cool \
--profile swiss使用打印支持的ID。会将所选语法映射到维护的默认配置;会将该配置映射到经过对比度验证的语义调色板。当产品需要不同形态或色彩风格时,请传入显式值。默认输出目录为项目根目录下的。对于项目本地的参考语法,传入并确保存在。
--list--recipe auto--palette auto.styleseed/reference:<slug>.styleseed/rulesets/<slug>/RULESET.md当标志或锁定文件中存在关键颜色时,解析器会使用共享的OKLCH生成器,并写入和。清单文件会记录生成输入。维护的配置仍会提供产品风格和语义限制;其固定的十六进制值将作为回退,而非覆盖生成的系统。
.styleseed/palette.json.styleseed/palette.css成功解析包后,请勿加载。仅当包指出存在未解决的歧义且需要该文件时,才加载更大的源文档。
llms-full.txt