ss-restyle
GitHub应用 StyleSeed 美学配置文件,在保持输出语法和核心设计不变的前提下协调视觉风格。通过验证锁定、选择配置、应用参数及评分校验,确保界面外观符合预设美学标准。
Trigger Scenarios
Install
npx skills add bitjaru/styleseed --skill ss-restyle -g -y
SKILL.md
Frontmatter
{
"name": "ss-restyle",
"description": "Apply one optional StyleSeed aesthetic profile without changing the selected output grammar, product job, or core design judgment.",
"allowed-tools": "Read, Write, Edit, Grep, Glob, Bash",
"argument-hint": "<profile> — swiss | editorial | technical | warm-dtc | minimal-mono | brutalist-lite | none"
}
Apply an aesthetic profile
Registry-first artifact boundary
When .styleseed/project.json and .styleseed/artifacts/index.json exist, resolve the requested artifact ID first, then read only .styleseed/bundles/<artifact-id>.md and .styleseed/manifests/<artifact-id>.json. Never fall back to the global legacy bundle for a registry project. Legacy projects may use .styleseed/effective-rules.md only when no registry exists.
Read PRODUCT-PRINCIPLES.md, RULESETS.md, PRESETS.md, and STYLESEED.md. Profiles are
coordinated visual axes; output grammars organize attention, information, and action. Keep them
separate.
Workflow
- Validate that the lock has one output grammar. If not, run
/ss-setupfirst. - Select exactly one profile from
PRESETS.md, ornone. Never stack profiles. - Apply its coordinated radius, density, type, palette temperature, elevation, motion, composition accent, and signature move inside the output grammar's allowed ranges.
- Preserve deliberate brand values and required fonts when compatible. If incompatible, the output grammar and core invariants win; explain the conflict.
- Update
Aesthetic profileand affected bounded values inSTYLESEED.md. Do not rewrite the output grammar or a reference-compiled rule set. - Run
/ss-scoreto ≥80 and/ss-verifyif renderable. Report the complete effective rule set, not just the profile name.
Rules
- A profile is optional appearance coordination, not a design-method exemption.
technicalprofile does not turn a commerce page into an observability console.editorialprofile does not justify unreadable serif body in a transaction workflow.brutalist-litestill requires coherent states, contrast, and one border language.- Use
/ss-dialfor one-axis changes and/ss-referencefor a new evidence-derived language.
Version History
-
bfd06d8
Current 2026-08-19 16:29
新增 artifact-bound(制品边界)的 StyleSeed 验证机制,强化了注册表优先的资源解析逻辑。
- c414969 2026-08-13 14:13


