#Refactoring
1 prompt · 5 skills
Claude CodeSKILL.mdRefactor Without Behavior ChangePin current behavior with characterization tests, then restructure in small always-green steps so the diff provably changes no behavior.Coding@libraryClaude CodeSKILL.mdLegacy code archaeologyA method for reading unfamiliar code before you change it: find the entry points, trace the data flow, and write down a map.Coding@libraryClaude CodeSKILL.mdTDD red-green-refactor loopA test-first cycle in which every line of production code exists to make a failing test pass.Coding@libraryClineOtherPython clean code standardsPEP 8 plus rules for type hints, dataclasses, error handling, async code, and testing.Coding@libraryClaude CodeCLAUDE.mdTypeScript strict mode patternsBans the any type and requires explicit return types, exhaustive switches, and discriminated unions.Coding@library