What problem does it solve? Breaking changes in a Bitfocus Companion module—renamed config fields, action IDs, feedback IDs, or option IDs—can silently destroy users' saved button configurations. This Skill provides the patterns and API reference needed to write upgrade scripts that safely migrate existing user data to the new schema. ## Core Features & Use Cases - Versioned Migration Model: Explains the CompanionStaticUpgradeScript array where each index maps to a version, and why scripts must never be removed or reordered. - Migration Patterns: Provides copy-ready examples for renaming config fields, migrating action and feedback options, and converting value formats. - Helper Factories: Covers EmptyUpgradeScript, CreateConvertToBooleanFeedbackUpgradeScript, and CreateUseBuiltinInvertForFeedbacksUpgradeScript from @companion-module/base. - Use Case: You renamed the config field 'ipAddress' to 'host' and changed an action ID from 'setInput' to 'set_input'. Use this Skill to write upgrade scripts that rewrite saved user configs and actions so existing button setups keep working after the update. ## Quick Start Ask the agent to create a Companion upgrade script that renames a config field and migrates saved actions to a new action ID.