Command Palette

Search for a command to run...

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

tfgen-sibling-rules-on-parent-validator

Use when plan or validate of a generated resource is slow, or its schema has path.MatchRelative validators inside list items. A sibling rule must run once on…

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

Установить tfgen-sibling-rules-on-parent-validator в Claude Code и Claude Desktop

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

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

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

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

Sibling rules run once on the parent object

Trigger: ValidateResourceConfig time grows faster than the number of widgets or items, a profile shows Config.PathMatches, or the generated schema.go has ExactlyOneOf(path.MatchRelative()...) or ConflictsWith(path.MatchRelative()...) on an attribute inside a list item.

Fix: Write the rule as a field line (exactlyOneOf: [other], conflictsWith: [other]) on a field that is inside an object, and name only siblings. The generator turns it into a group of the oneOfArmsValidator of the parent object. A target with ../ and a top-level attribute keep the path form. Check the result: grep -c MatchRelative internal/provider/generated/<resource>/schema.go stays small, and the offline validate time on 23 widgets stays near the handwritten one.

Why: A path expression walks the whole configuration for each sibling, for each object. The parent validator reads only its own object.

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

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

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

FAQ

Что делает скилл tfgen-sibling-rules-on-parent-validator?

Use when plan or validate of a generated resource is slow, or its schema has path.MatchRelative validators inside list items. A sibling rule must run once on the parent object.

Как установить скилл tfgen-sibling-rules-on-parent-validator?

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

Скилл tfgen-sibling-rules-on-parent-validator запускает скрипты?

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

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

Сравнить tfgen-sibling-rules-on-parent-validator с