generator-key-needs-golden
Use when adding a generator key or branch in tools/iac-codegen. Cover it with a golden fixture. Do NOT use for a resource-only override line.
от coralogix★ 22 звезды на GitHub
Установить generator-key-needs-golden в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
A new generator key needs a golden
Trigger: A new key or branch in tools/iac-codegen (a field line, an enum line, or a convert or schema branch).
Fix: Add or extend a fixture under internal/generator/testdata. customthing covers custom methods, root and nested requestValue, readNullAs, string readEmptyAs, requireOne, readRejected, unwrap, and a missing enum that reads as the field's string default. sharedthing covers the data source readEmptyAs: value line and lookup: [id, name] with a summary List and duplicateNames: first, thing covers the automatic name lookup of a full List, and legacything covers dataSource: {}, and defaultthing covers the object, null, and empty-list-of-objects defaults, and getthing covers getHooks (the Get and AfterGet hooks, in the resource and the data source). iacthing covers the openapiv3_field.iac knobs (examples, required_by_api, conflicts_with, requires, arm_fixed) in the generated acceptance test: run go test ./internal/generator -run TestGoldenAcceptanceIaCThing -update. Run go test ./internal/generator -run TestGoldenOutput<Name> -update and commit the golden. A second run without -update must pass.
Why: A key that only a resource's generated files show can change without a test noticing.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generator-key-needs-golden?
Use when adding a generator key or branch in tools/iac-codegen. Cover it with a golden fixture. Do NOT use for a resource-only override line.
Как установить скилл generator-key-needs-golden?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generator-key-needs-golden запускает скрипты?
Нет, скилл состоит только из инструкций (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…