About ss-reference
A workflow skill for compiling supplied design references into project-local design rules and artifacts. It guides evidence collection, resolves conflicting references, and validates the resulting grammar on a representative screen.
Key features
- 01Reference evidence IDs
- 02Twelve-axis observation
- 03Conflict resolution
- 04Project-local rule compilation
- 05Representative-screen validation
Use cases
- 01Derive design rules from supplied reference screens
- 02Compile references for separate product surfaces
- 03Check whether a derived design grammar transfers to another screen
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ bitjaru/ styleseed --skill ss-referenceAfter installing, type/ss-referencein Claude Code to confirm it loaded.
Details
From the project READMEBefore this workflow, follow the once-per-session update preflight.
Compile references into a design grammar
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.
Do not merely imitate the supplied screen. Read PRODUCT-PRINCIPLES.md, RULESETS.md,
ADAPTERS.md, and REFERENCE-COMPILER.md, then execute the compiler pipeline in full.
Workflow
- Ingest every supplied reference and assign evidence IDs (
R1,R2, ...). If a URL can be rendered, capture it. If an image cannot be seen, stop claiming visual analysis for it. - Separate references by surface adapter and job. Do not merge a marketing homepage with an app dashboard unless the user explicitly wants both languages connected.
- Observe and measure the twelve axes. Every rule cites evidence IDs and a confidence level.
- Resolve contradictions instead of averaging them. Explain any material choice briefly.
- Choose the nearest built-in fallback grammar and adapter, then compile the project artifacts required by
REFERENCE-COMPILER.mdunder.styleseed/rulesets/<slug>/. - Select
reference:<slug>in the chosen artifact's project-owned configuration for registry projects; only when neither registry file exists, update the legacySTYLESEED.md. Preserve bounded brand choices. A partial or invalid registry is an error, not a fallback. - Validate transfer: apply the grammar to one representative screen not present in the source
set, run
/ss-score, then/ss-verifyif renderable. Within the authorized validation scope, fix and repeat until passing or three correction passes per gate, counting delegated passes. Do not reset the budget by switching skills; report actual scores and unresolved failures. - Report what was learned, what remains low-confidence, where the artifacts live, and the validation result.
Rules
- Visible evidence before adjectives. “Calm” is not a rule; the spacing, type, color, hierarchy, and motion decisions that create calm are rules.
- Never copy protected assets, brand marks, or prose.
- One reference produces a provisional grammar. Say so and keep confidence low where warranted.
- The generated grammar is project-local. Do not edit
RULESETS.mdor publish it as built-in. - Core invariants and accessibility remain non-negotiable.