Command Palette

Search for a command to run...

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

generated-empty-list-in-set-element

Use when a generated resource fails with 'Provider produced inconsistent result' on a set element, and the element holds a list that the API returns as []…

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

Установить generated-empty-list-in-set-element в Claude Code и Claude Desktop

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

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

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

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

An empty list inside a set element cannot be restored from a prior value

Trigger: planned set element ... does not correlate with any element in actual, where the planned element has filters = null and the API returns "filters": [].

Rule (new resources, no key): a list or set below the root reads an empty response as null (nestedEmptyReadsNull). The schema adds SizeAtLeast(1) to a list inside a set element (emptyListInSetItem), because a configured [] cannot round-trip there: a set element has no prior element to copy the form from.

Released resource: the rule does not apply, because a user can have configured []. Add readEmptyAs: "null" on the field line. It works for lists of strings, numbers, times, and objects.

Why: proto3 cannot tell an empty list from a missing one, and keepPriorEmpty matches elements of a list or an object by index, not elements of a set.

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

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

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

FAQ

Что делает скилл generated-empty-list-in-set-element?

Use when a generated resource fails with 'Provider produced inconsistent result' on a set element, and the element holds a list that the API returns as []. Covers the null read and the SizeAtLeast(1) rule.

Как установить скилл generated-empty-list-in-set-element?

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

Скилл generated-empty-list-in-set-element запускает скрипты?

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

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

Сравнить generated-empty-list-in-set-element с