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.

jul-sh
maintainer
jul-sh
更新于 1/19/2026
星标
0
分支
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.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use enum-driven-state-refactoring