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