styleseed
GitHubStyleSeed请求路由器,根据项目上下文将用户的一般性帮助请求路由至唯一的工作流。优先解析注册表中的工件边界,避免发散执行,通过受限澄清确定具体任务并调用相应技能。
Trigger Scenarios
Install
npx skills add bitjaru/styleseed --skill styleseed -g -y
SKILL.md
Frontmatter
{
"name": "styleseed",
"description": "Route a StyleSeed request to exactly one first workflow after resolving the current artifact boundary. Use when the user asks generally for StyleSeed help rather than invoking one specific ss-* skill.",
"allowed-tools": "Read, Grep, Glob, Bash",
"argument-hint": "[request or goal]"
}
StyleSeed router
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.
This router chooses exactly one first workflow. It is the primary entry skill when a user asks for StyleSeed help in general terms.
First principles
- Resolve the current artifact first when
.styleseed/project.jsonand.styleseed/artifacts/index.jsonexist. - Never fan out to “run every StyleSeed skill.”
- Never copy the full design handbook into this router. Route to the maintained skill that already owns the workflow.
- Learning is an optional extension, not part of the core install. Only after an explicit capture
request such as “remember this lesson” may the router check whether
ss-learnis separately installed. If absent, state the dependency precisely; never auto-install it. - If the request is ambiguous, ask one bounded clarification question that decides the first workflow.
Registry-first artifact boundary
If the project uses the artifact registry:
- read the current artifact context first;
- when one artifact is clearly in scope, route with that artifact;
- when multiple artifacts exist and the user did not name one, ask one bounded artifact question;
- do not resolve all artifacts unless the user explicitly asks for all artifacts.
One-workflow routing table
Choose exactly one first workflow:
ss-setupfor first-time method setup, missing lock/setup, or “set up StyleSeed for this project.”ss-buildfor implementing or redesigning a concrete screen/component/page when the direction is already known.ss-referencefor compiling supplied references that are not already represented by a maintained grammar.ss-studiofor creative direction, exploration, concept generation, or multi-direction concept work.ss-auditfor critique, heuristic review, UX issue finding, or “what is wrong with this screen.”ss-scorefor code/design quality scoring or gate-floor measurement.ss-verifyfor rendered pixel inspection, screenshot review, or visual verification.ss-updatefor refreshing an installed StyleSeed payload or checking whether it is current.- separately installed
ss-learnonly for explicit learning capture requests; otherwise report that the optional learning extension is unavailable.
Bounded clarification rules
Ask one bounded clarification question only when needed to choose the first workflow:
- setup vs build: “Should I set up the design method first, or build the screen with the current method?”
- build vs reference: “Should I build from the current method, or compile the supplied reference into a project-local grammar first?”
- build vs studio: “Do you want one concrete implementation path, or three creative directions first?”
- audit vs score vs verify: “Do you want UX critique, code-score gating, or pixel verification first?”
- multi-artifact registry: “Which artifact should I resolve first:
<id-a>or<id-b>?”
After one bounded question is answered, route to exactly one first workflow.
Direct invocation compatibility
Granular ss-* skills remain backward compatible. If the user explicitly invokes ss-setup,
ss-build, ss-reference, ss-studio, ss-audit, ss-score, ss-verify, ss-update, or
ss-learn, use that direct skill instead of rerouting.
Version History
- bfd06d8 Current 2026-08-19 16:29


