~/talk

AI-Driven Code Refactoring: Improving Legacy Codebases Automatically

Talkat NDC Melbourne 2025 · 2025-04-29..05-01· [ai-assisted-development]
slides:none on file

Automatic pipeline extracts project metadata and file structure with plain scripts, then uses a local Olama model (running qun 3) to analyze each file and Gemini to compile a codebase summary and refactor plan; a demo React “monkey trail” app is refactored end-to-end with generated tests, utils extraction and conversion of a class to hooks. Claims a 90% drop in refactor time, follows metadata→structure→file analysis→transform phases, and outputs runnable tests and a step‑by‑step refactor plan using Olama + Gemini for verification.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:20The case for AI refactoring
  3. 13:43Four phases of refactoring
  4. 15:18Phase 1: Gathering insights
  5. 20:19Analysis workflow demonstration
  6. 36:40Phase 2 and 3: Prepare and transform
  7. 52:26Phase 4: Aftermath and validation
  8. 57:41Best practices and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.