Command Palette

Search for a command to run...

Назад к скиллам
скилл № 24494

released-unknown-sent-as-zero

Use when migrating a handwritten resource whose expand calls ValueBoolPointer/ValueInt64Pointer/ValueStringPointer on an Optional+Computed attribute. Unknown…

БесплатноБез исполняемых скриптов
coralogixот 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), без исполняемых скриптов.

Похожие скиллы

Сравнить released-unknown-sent-as-zero с