From playbooks-virtuoso
Applies 89 refactoring techniques across composing methods, moving features, organizing data, and generalization; detects 22 code smells like bloaters and OO abusers using PHP 8.3+ examples with before/after comparisons.
npx claudepluginhub krzysztofsurdy/code-virtuoso --plugin playbooks-virtuosoThis skill is limited to using the following tools:
A thorough reference covering 89 refactoring techniques and code smells — featuring PHP 8.3+ examples, rationale, step-by-step mechanics, and before/after comparisons.
references/add-parameter.mdreferences/alternative-classes-with-different-interfaces.mdreferences/change-bidirectional-association-to-unidirectional.mdreferences/change-reference-to-value.mdreferences/change-unidirectional-association-to-bidirectional.mdreferences/change-value-to-reference.mdreferences/collapse-hierarchy.mdreferences/comments.mdreferences/consolidate-conditional-expression.mdreferences/consolidate-duplicate-conditional-fragments.mdreferences/data-class.mdreferences/data-clumps.mdreferences/dead-code.mdreferences/decompose-conditional.mdreferences/divergent-change.mdreferences/duplicate-code.mdreferences/duplicate-observed-data.mdreferences/encapsulate-collection.mdreferences/encapsulate-field.mdreferences/extract-class.mdApplies named refactoring patterns to fix code smells like Feature Envy or long methods, preserving behavior via test-verified small changes. Use for refactor requests, technical debt, or legacy cleanup.
Guides code refactoring using Martin Fowler's catalog and Clean Code principles to improve structure, reduce complexity, eliminate smells, and enhance maintainability. Triggers on extract method, rename, and similar tasks.
Refactors code to improve structure, readability, and maintainability by addressing smells like long methods, duplicates, large classes, long parameter lists, and feature envy. Use for cleanup or quality improvement requests.
Share bugs, ideas, or general feedback.
A thorough reference covering 89 refactoring techniques and code smells — featuring PHP 8.3+ examples, rationale, step-by-step mechanics, and before/after comparisons.