CSS REFACTORING WITH AN AI SAFETY NET
Claude Code was used to refactor a messy CSS codebase into a clean architecture across 7 phases, with a Playwright script capturing screenshots of 9 distinct app states before and after each phase. Claude compared the before/after PNGs in plain English to make sure that the visuals were the same throughout the refactoring, with much success.