framework-set-item-modifier-reads-wrong-config
Use when a plan modifier on an attribute inside a SetNestedAttribute item reads req.ConfigValue or req.StateValue, or a set item's value turns (known after…
от coralogix★ 22 звезды на GitHub
Установить framework-set-item-modifier-reads-wrong-config в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
A plan modifier inside a set item gets another item's config and state
Trigger: a modifier on groups[*].interval-style attributes compares config, state and plan, and real Terraform shows a sibling item's value as (known after apply) on every plan.
Fix: don't trust req.ConfigValue or req.StateValue there. The framework (v1.17, fwserver/attribute_plan_modification.go) takes both from the item at the same index. Config, state and plan sort their set items separately, so that item can be a different one. Instead:
- use
req.PlanValueas the prior value, since Terraform proposed it from the prior item it paired; - find the configured item by matching the planned item: the
AtSetValuestep ofreq.Pathholds it.
For the generated version, see setItemConfig in tools/iac-codegen/internal/generator/templates/schema.go.tmpl.
Why: offline modifier unit tests pass the "right" ConfigValue by hand, so the bug only shows up with real Terraform. Cover it with resource.UnitTest and two items: one that sets the field and one that leaves it out.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл framework-set-item-modifier-reads-wrong-config?
Use when a plan modifier on an attribute inside a SetNestedAttribute item reads req.ConfigValue or req.StateValue, or a set item's value turns (known after apply) with no config change.
Как установить скилл framework-set-item-modifier-reads-wrong-config?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл framework-set-item-modifier-reads-wrong-config запускает скрипты?
Нет, скилл состоит только из инструкций (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…