ss-resolve
GitHub编译确定性 StyleSeed 规则包,输出语法、适配器及配方。用于在配置变更或构建前解析上下文,避免加载完整手册,提升效率并保证可复现性。
Trigger Scenarios
Install
npx skills add bitjaru/styleseed --skill ss-resolve -g -y
SKILL.md
Frontmatter
{
"name": "ss-resolve",
"description": "Compile a small, deterministic StyleSeed rule bundle for one agent, output grammar, surface adapter, domain, page type, brand recipe, palette recipe, and optional profile. Use before setup or build, when STYLESEED.md changes, when updating StyleSeed, or whenever an agent would otherwise load the full rule handbook."
}
Resolve effective StyleSeed context
Use the bundled scripts/resolve-context.mjs; do not hand-compose the rule stack.
- Read
STYLESEED.mdwhen it exists. Confirm missing required selections with the user. - Keep the working directory at the user's project root. Invoke the script by its installed
path; do not
cdinto the skill directory. Prefer--from-lock STYLESEED.md; explicit flags override lock values. - Read the emitted
.styleseed/effective-rules.mdbefore building. - Preserve
.styleseed/manifest.json. It records selections, source hashes, and the bundle hash for updates and reproducibility. - Use
--checkto detect context drift without rewriting files.
node <installed-ss-resolve>/scripts/resolve-context.mjs \
--from-lock STYLESEED.md \
--agent codex
Without a lock:
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 \
--profile swiss
Use --list to print supported IDs. --recipe auto maps the selected grammar to a maintained
default; --palette auto 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 .styleseed/ in the
project root. For a project-local reference grammar, pass reference:<slug> and ensure
.styleseed/rulesets/<slug>/RULESET.md exists.
Do not load llms-full.txt after a bundle resolves successfully. Load a larger source document
only when the bundle names an unresolved ambiguity that requires it.
Version History
-
1a00699
Current 2026-08-07 00:37
新增 StyleSeed Studio 和语义调色板引擎,支持 --palette auto 自动映射对比度验证的语义调色板。
-
e0a0991
2026-08-05 10:46
新增品牌配方形态引擎 (brand recipe morphology engine)
- 0e2cb9a 2026-08-01 05:38


