ss-resolve
GitHub解析 StyleSeed 配置,编译确定性的规则包。通过脚本读取上下文并生成有效规则文件,支持锁定状态检测与漂移检查,避免加载完整文档,提升构建效率与一致性。
触发场景
安装
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, 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 \
--profile swiss
Use --list to print supported IDs. --recipe auto maps the selected grammar to a maintained
default; pass an explicit recipe when the product needs a different morphology. 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.
版本历史
-
e0a0991
当前 2026-08-05 10:46
新增品牌配方形态引擎 (brand recipe morphology engine)
- 0e2cb9a 2026-08-01 05:38


