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, 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 \
--profile swiss
Use --list to print supported IDs. 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
- 0e2cb9a Current 2026-08-01 05:38


