TOML
Write valid TOML configuration files with correct types and structure.
от clawic★ 23 звезды на GitHub
Установить TOML в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Strings
- Basic strings
"..."support escapes:\n,\t,\\,\" - Literal strings
'...'are raw—no escape sequences, backslash is literal - Multiline basic
"""..."""allows newlines; leading newline after"""is trimmed - Multiline literal
'''...'''for raw blocks; no escape processing
Keys
- Bare keys: alphanumeric, dash, underscore only—
key-name_1valid - Quoted keys for special chars:
"key with spaces"or'key.with.dots' - Dotted keys
a.b.c = 1equivalent to nested tables—defines[a.b]implicitly - Keys are case-sensitive—
Keyandkeyare different
Tables
[table]defines table; all following key-values belong to it until next header[a.b.c]creates nested structure—parent tables created implicitly- Dotted keys under
[table]extend it:[fruit]thenapple.color = "red"works - Defining table after dotted key created it is error—order matters
Arrays of Tables
arrayappends new table to array each time it appearsproductstwice createsproducts[0]andproducts[1]- Mix
[array.nested]afterarrayto add to most recent array element - Cannot redefine static table as array or vice versa
Inline Tables
point = { x = 1, y = 2 }for compact single-line tables- Inline tables cannot span lines (until TOML 1.1)
- Cannot add keys to inline table after definition—immutable once closed
- Nested inline tables allowed but reduce readability
Types
- Integers: decimal, hex
0xDEAD, octal0o755, binary0b1010 - Underscores for readability:
1_000_000is valid - Floats:
3.14,5e-10,inf,nan(case-sensitive) - Booleans:
true/falseonly—lowercase, no yes/no/on/off
Dates & Times
- RFC 3339 format:
2024-01-15T14:30:00Zor with offset+05:30 - Local datetime:
2024-01-15T14:30:00(no timezone) - Local date:
2024-01-15; Local time:14:30:00 - Milliseconds supported:
14:30:00.123
Common Pitfalls
- No null type—omit key entirely for optional values
- Arrays must be homogeneous (TOML 1.0)—TOML 1.1 allows mixed types
- Trailing commas not allowed in arrays or inline tables
- Comment
#only outside strings—no inline comment after value on same line works, but avoid ambiguity
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
FAQ
Что делает скилл TOML?
Write valid TOML configuration files with correct types and structure.
Как установить скилл TOML?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл TOML запускает скрипты?
Нет, скилл состоит только из инструкций (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…