sk-design
БесплатноЗапускает вложенные скриптыНе проверенDesign parent hub. Routes one design identity to the mode that owns the artifact: a measured Style Reference, a chart or a diagram.
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
Design (parent hub)
sk-design is a parent hub. It carries no procedure of its own: it decides which mode owns the
decision in front of you and hands over. The work lives in the modes.
1. WHEN TO USE
Use this hub when the answer is a design artifact: a measured Style Reference of an existing surface, a data chart, or a process diagram.
| Mode | Command | Owns | Reach it by asking about |
|---|---|---|---|
sk-design-md-generator |
/design:extract |
Measuring an existing surface into a Style Reference, and validating one | extract, design.md, design tokens, from a url |
sk-design-chart |
/design:chart |
Chart forms: which one answers the question, and building it as a self-contained file | chart, plot, heatmap, bar chart, chart catalog |
sk-design-diagram |
/design:diagram |
Flowcharts and text diagrams | diagram, flowchart, ascii diagram, mermaid, drawio |
Three modes. The generator reads values back off something that already exists. Chart and diagram each build one self-contained canvas.
When NOT to Use
- Deciding a value or reviewing a screen. Spacing, type, colour, contrast, hierarchy, motion
and visual review belong to
sk-code, whose frontend surface carries the value scales and the review pass. - Authoring documentation prose.
sk-docowns that, including READMEs, changelogs and playbooks. - Implementing a component.
sk-codeowns the code that renders it.
2. SMART ROUTING
Routing runs in two stages.
Stage one picks a mode from this hub.
hub-router.json is its one authored vocabulary.
vocabularyClasses holds the terms, and routerSignals maps each mode to the classes it scores.
The three modes are sk-design-md-generator, sk-design-chart and sk-design-diagram.
Stage two maps the chosen mode to its leaves in the root ROUTER.md.
The two layers stay separate: the hub never emits leaf paths, and the surface router never re-decides the mode.
The advisor routes every design query to the single identity sk-design.
Run the compiled-routing directive in ROUTER.md before selecting hub resources.
Resolve the mode with node .skilled/bin/compiled-route.cjs --hub sk-design --prompt-file <task-file> (write the task there with your file tool, never a heredoc).
Act on the decision: route loads its targets, clarify and defer ask, reject refuses.
With no signal at all, routerPolicy.defaultMode is null, so the request defers and asks which artifact is wanted.
3. HOW IT WORKS
Terms
workflowMode: the public mode key, one ofsk-design-md-generator,sk-design-chartorsk-design-diagram.packetKind:workflowfor all three modes, because this hub has no surface axis.backendKind:surface-routerfor the generator, which resolves leaves from a reference set, whiletemplate-scaffoldfor chart and diagram builds an artifact from a form.routingClass:metadataon every nested mode, so the advisor resolves this hub by membership and holds no entry of its own per mode.mode-registry.json: what modes exist and what each may touch.hub-router.json: stage one's signals, vocabulary classes, tie-break and default mode.vocabularyClasses: the terms stage one matches, withrouterSignalsnaming the classes each mode scores.tieBreak: therouterPolicyorder that ranks the three modes when scores are close.routerPolicy.defaultMode:null, so a request with no signal at all defers instead of landing on a mode.- leaf: a resource a chosen mode loads, counted as a canonical
(workflowMode, leafResourceId)pair throughleaf-manifest.json. ROUTER.md: stage two'sINTENT_SIGNALSandRESOURCE_MAPover the three leaf intents, CHART, FLOWCHART and EXTRACT.intent_signals: thegraph-metadata.jsonfield that carries this hub's vocabulary to the advisor, since adescription.jsonkeyword is documentation and not scored.
Layout
sk-design/
├── SKILL.md routing only; this hub authors nothing
├── ROUTER.md stage two: which resources a chosen mode loads
├── mode-registry.json what modes exist, and what each may touch
├── hub-router.json signals, vocabulary classes, tie-break
├── graph-metadata.json the only vocabulary the advisor scores
├── command-metadata.json the commands this hub owns, and which mode owns each
├── shared/scripts/ tooling both canvas modes use
├── sk-design-md-generator/ the extraction mode, its engine and style corpus
├── sk-design-chart/ the chart corpus, its checker, gallery and screenshots
└── sk-design-diagram/ the diagram forms, their validator and screenshots
Per-mode behaviour is not flattened: each mode keeps its own contract, references,
Установить sk-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobВложенные файлы
FAQ
Что делает скилл sk-design?
Design parent hub. Routes one design identity to the mode that owns the artifact: a measured Style Reference, a chart or a diagram.
Как установить скилл sk-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sk-design запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic