一键导入
unitone-css-router
Route unitone-css tasks to the correct workflow by inspecting primitives, utilities, tokens, behaviors, and documentation first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Route unitone-css tasks to the correct workflow by inspecting primitives, utilities, tokens, behaviors, and documentation first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert screenshots or visual descriptions into structurally accurate unitone-css code by choosing primitives, tokens, and utilities deterministically.
Strict implementation rules for writing or revising unitone-css HTML and React code with a primitive-first, token-first approach.
Compare unitone-css source structure with repository documentation and update docs when layout primitives, tokens, utilities, behaviors, or public exports have drifted.
Add or update a behavior in unitone-css while keeping stylesheet, JavaScript helper, naming, and public API conventions aligned.
Add or update a layout primitive in unitone-css while preserving existing file structure, naming, exports, and documentation expectations.
| name | unitone-css-router |
| description | Route unitone-css tasks to the correct workflow by inspecting primitives, utilities, tokens, behaviors, and documentation first. |
| compatibility | unitone-css repository with bash plus node. Ignore dist. |
Use this skill at the start of most unitone-css tasks.
Its role is not to solve the task directly. Its role is to decide:
Inspect the current source and docs before deciding anything.
Use MCP tools when available:
list_primitiveslist_behaviorslist_utilitiesget_variableslist_docsFor screenshot or mockup work, also inspect these docs first:
patterns.mdxtokens.mdxutilities.mdxClassify the request into one or more of these buckets:
unitone-css-vision-to-code first, then unitone-css-coding-assistantunitone-css:
use unitone-css-coding-assistantunitone-css-add-layout-primitiveunitone-css-add-behaviorunitone-css-doc-syncIf the request spans multiple areas, process them in this order:
When the user wants a screenshot reproduced, write a short routing memo before implementing:
Target entry point: React or plain HTMLLikely primitives: 2 to 5 candidatesLikely docs: exact doc files to consultMain risk: width control, overlap, repeated cards, sidebar collapse, decorative-only effects, or typography scaleIf this memo is vague, inspect more docs before proceeding.
Use these as routing defaults before free-form invention.
Cover + Container + Stack + CenterLayers and CoverLayers and FloatBothSides and WithSidebarResponsiveGrid, Switcher, and MasonryWithSidebar, BothSides, and StackClusterFrameTextGutters and ContainerDecoratorChoose the route that:
distpatterns.mdx for common compositionstokens.mdx and then guessing scale valuesunitone-css-coding-assistant alone for screenshot work without unitone-css-vision-to-codedist is ignoredAsk one short clarifying question only if the intended entry point or change target cannot be inferred from the request and repository.