Skip to content

#Refactoring

1 prompt · 5 skills

Prompts

Skills

Refactor Without Behavior ChangePin current behavior with characterization tests, then restructure in small always-green steps so the diff provably changes no behavior.Claude Code · CodingLegacy Code ArchaeologyA disciplined method for reading unfamiliar code — entry points, data flow tracing, and a written mental map — before changing a single line.Claude Code · CodingTDD Red-Green-Refactor LoopEnforces a strict test-first cycle where every line of production code exists only to make a failing test pass.Claude Code · CodingPython Clean Code StandardsPEP 8 plus pragmatic Python rules: type hints, dataclasses, error handling, and async patterns.Cline · CodingTypeScript Strict Mode ExpertEnforces strict TypeScript patterns: no any, explicit return types, exhaustive switch, and discriminated unions.Claude Code · Coding