released-unknown-sent-as-zero
Use when migrating a handwritten resource whose expand calls ValueBoolPointer/ValueInt64Pointer/ValueStringPointer on an Optional+Computed attribute. Unknown…
от coralogix★ 22 звезды на GitHub
Установить released-unknown-sent-as-zero в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
A released resource may send an unknown plan value as zero
Trigger: A handwritten expand reads an Optional+Computed attribute with ValueXPointer(). For an unknown value that returns a pointer to the zero value (false, 0, ""), not nil, so the request sends it on every Create and Update where the config omits the attribute.
Check: In the request bodies of a create or update that omits the attribute (a protocol harness test shows them), look for the zero value. coralogix_parsing_rules sent enabled: false (a group without active is created inactive) and order: 0 (append last), and the acceptance tests pinned active = false.
Fix: Add sendUnknownAsZero: true (with computed: true) to the field line. Generated code otherwise leaves an unknown value out of the request, and the API applies its own default (enabled: true, order: 1), which changes existing resources on their next update.
Why: The framework's zero-valued unknown is invisible in schema and state dumps; only the request bodies show it.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл released-unknown-sent-as-zero?
Use when migrating a handwritten resource whose expand calls ValueBoolPointer/ValueInt64Pointer/ValueStringPointer on an Optional+Computed attribute. Unknown was sent as zero; keep it with sendUnknownAsZero.
Как установить скилл released-unknown-sent-as-zero?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл released-unknown-sent-as-zero запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…