{"skill":{"slug":"bookforge-type-code-refactoring-selector","displayName":"Type Code Refactoring Selector","summary":"Select and execute the correct refactoring path for type codes — enumerations, integer constants, or string tags that flag object variants (e.g., ENGINEER/SA...","tags":{"bookforge":"1.0.0","code-quality":"1.0.0","latest":"1.0.0","polymorphism":"1.0.0","refactoring":"1.0.0","type-codes":"1.0.0"},"stats":{"comments":0,"downloads":114,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1776765732239,"updatedAt":1776767508830},"latestVersion":{"version":"1.0.0","createdAt":1776765732239,"changelog":"- Initial release of the type-code-refactoring-selector skill.\n- Selects and executes the correct refactoring path for behavior-affecting type codes (enums, integer constants, string tags) using Fowler’s three-way decision tree.\n- Covers Replace Type Code with Class, Replace Type Code with Subclasses, and Replace Type Code with State/Strategy; automates subsequent Replace Conditional with Polymorphism.\n- Guides identification of type code location, value set, and switching logic across the codebase.\n- Handles exceptions for simple or nullable cases; not intended for non-type-code-driven conditionals or structural smells.\n- Target audience: intermediate developers working on refactoring object-oriented designs suffering from primitive obsession or scattered switch statements.","license":"MIT-0"},"metadata":{"os":null,"systems":null},"owner":{"handle":"quochungto","userId":"s176b6gfk8djgcz320d83ta4e184bx1v","displayName":"Hung Quoc To","image":"https://avatars.githubusercontent.com/u/88069966?v=4"},"moderation":null}