Command Palette

Search for a command to run...

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

missing-enum-stays-null

Use when a missing enum reads as its first value, or a field with x-coralogix-presence flattens to a business value. Keep that reading on the field default.

БесплатноБез исполняемых скриптов
coralogixот coralogix★ 22 звезды на GitHub

Установить missing-enum-stays-null в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

A missing enum stays null

Trigger: Flatten writes the first enum value for a nil pointer, or a field with x-coralogix-presence reads back as a business value.

Fix: Leave the generator reading a missing enum as null. Put the resource's reading on the field line as a string default. Do not apply that reading when the field has presence.

Why: Presence means the value was not set. A first-value fallback applies to every business-first enum, including those.

Exception: A released resource that read a missing enum as unspecified, for an enum the API fills in (computed with useNonNullStateForUnknown), needs the same reading, or a null state plans (known after apply) on every update. Put readNullAs: unspecified on that field line.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл missing-enum-stays-null?

Use when a missing enum reads as its first value, or a field with x-coralogix-presence flattens to a business value. Keep that reading on the field default.

Как установить скилл missing-enum-stays-null?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл missing-enum-stays-null запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить missing-enum-stays-null с