What problem does it solve? Bitfocus Companion modules need typed, validated configuration fields for connection settings like host, port, and credentials, but choosing the right field types, validation rules, and configUpdated handling is error-prone. This Skill provides the patterns and API reference to implement module configuration correctly. ## Core Features & Use Cases - Config Field Definitions: Covers all SomeCompanionConfigField types including textinput, number, dropdown, multidropdown, checkbox, colorpicker, static-text, secret, bonjourdevice, and custom-variable. - Validation Patterns: Built-in Regex constants (IP, HOSTNAME, URL, SOMETHING) plus min/max constraints, required flags, and default values. - Lifecycle Handling: Guidance for configUpdated() to safely reconnect and refresh module state when settings change. - Use Case: When building a Companion module for a network device, use this Skill to add an IP address field with Regex.IP validation, a port number field with min/max bounds, and a secret field for the API key, then wire configUpdated() to reconnect on changes. ## Quick Start Ask the agent to add a host and port config field with validation to your Companion module.