home/categories/architecture-patterns/jul-sh-dotfiles-dotfiles-claude-skills-enum-driven-state-refactoring-skill-md
architecture-patternsdevelopment
enum-driven-state-refactoring
Refactor loose state models (optional fields, parallel booleans) into strict sum types. Apply when a field's validity depends on another field's value.
maintainer
jul-sh
Updated 1/19/2026
Stars
0
Forks
0
quick start
Installation and usage
Refactor loose state models (optional fields, parallel booleans) into strict sum types. Apply when a field's validity depends on another field's value.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use enum-driven-state-refactoring