~/talk

Build Your Own Tools to Refactor Go Safely

slides:none on file

Built a terminal tool that parses Go with go/parser and the AST, computes a checksum per top‑level declaration and renders canonical text to detect moved code, and presents results in a TUI move‑check that compares top‑level decl checksums. The generator LLM writes most of the Go analyzer and TUI but sometimes hallucinates functions or bad whitespace so manual fixes are required. The tool handles a ~4,000 line refactor and runs in under a second for large edits, and humans must approve changes.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:16The problem of refactoring
  3. 6:59Parsing with Go
  4. 12:12Abstract Syntax Trees
  5. 17:51Building a custom review tool
  6. 23:17Learnings from AI-assisted dev
  7. 32:11Automating refactoring tasks
  8. 37:37Go fix analysis
  9. 45:56Conclusion and Q&A
~/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.