What problem does it solve? Hand-written setX and toggleX action pairs for boolean settings drift apart over time, forcing duplicate reducer boilerplate and independent test coverage for each action. This Skill standardizes boolean preference state management with a single factory that keeps both actions consistent and namespaced. ## Core Features & Use Cases - Paired Action Generation: createBooleanPreference emits a setAction and toggleAction with namespaced action types derived from the slice name. - Type-Safe Field Constraint: The field parameter is constrained at the type level to keys whose value is strictly boolean, so TypeScript rejects non-boolean fields at compile time. - Composable Reducer Registration: The register(builder) method adds both reducer cases and returns the same builder, so multiple preferences chain onto one createReducer call. - Use Case: When adding a darkMode flag to a settings slice, use this Skill to generate setDarkMode and toggleDarkMode actions, register both reducer cases, and optionally pair them with a local-storage persistence saga. ## Quick Start Ask the AI to add a boolean preference to a Redux slice using createBooleanPreference with paired set and toggle actions registered on the reducer builder.