vega-lite-starter
Use this skill when writing a Vega-Lite spec for a node whose input has already run. It gives the ladder Curio follows to write a starter spec from the…
от urban-toolkit★ 37 звёзд на GitHub
Установить vega-lite-starter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
The starter spec a Vega-Lite node suggests
When a Vega-Lite node is connected to a node that has already run, and its editor is still empty, Curio fills it with a starter spec chosen from the input's column types. Until someone edits it, the starter is not the node's saved spec: a spec you write replaces it. Generate specs that agree with this ladder unless the user asks for something else. Otherwise the AI and the node produce different charts for the same input, which is worse than either alone. Each rule names the column roles it needs (at least one column of each, unless it gives a count), then the mark it writes and what it shows. First match wins:
{{vega.starter_ladder}}
- nothing usable -> no spec at all
Column roles come from pandas dtypes, checked in this order:
{{starter.dtype_roles}}. A column of any other dtype has no role, nor do
__row_index__ and interacted. Never chart __row_index__. In an input of 10
rows or more, a nominal column with a different value on each of its first 100
rows is an identifier: it takes no role, so it is left out before the ladder is
matched, since charting it draws one bar per row.
Always state an aggregate on a bar chart. Without one, Vega-Lite silently draws one bar per row.
Several inputs
Each input is the dataset named after its circle, input_0, input_1, and so on.
A spec that names none draws input_0, so with one input it writes no data field,
and the spec or a layer draws another input by naming it, as
"data": {"name": "{{inputs.chip:1}}"}. Every input's rows stacked,
{{inputs.stacked}}, carry no geometry. The ladder reads only the first frame
of the first input.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- evals/files/scores-counts-roofs.json
- evals/truth.json
FAQ
Что делает скилл vega-lite-starter?
Use this skill when writing a Vega-Lite spec for a node whose input has already run. It gives the ladder Curio follows to write a starter spec from the input's column types, so the spec agrees with what the node would draw unless the user asks for something else, and the rules on aggregates and identifier columns.
Как установить скилл vega-lite-starter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vega-lite-starter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…