~/talk

Defying Gravity: Teaching AI to Write Better Ruby

Talkat RubyConf 2026 · 2026-07-14..07-16· [ai-assisted-development, ruby]
slides:none on file

A team with a 20‑year Rails monolith and over 5 million lines of Ruby finds AI increases PR churn by reproducing legacy issues—overstubbed specs and fat controllers—so they build concrete fixes: concise agents.md, architecture MD, domain MD files, persuasive constraints using authority, commitment, social proof, structured plans saved to files, tuned reasoning levels (medium for most, high for hard refactors), CLI tools instead of heavy MCP servers, and narrow skills (requirement, testing, implementation) implemented via isolated sub‑agents; result: fewer review cycles and the first agent‑written test accepted for merge.

AI-written summary · about

  1. 0:00AI legacy code patterns
  2. 1:08AI replicated legacy patterns
  3. 3:35Speed versus code quality
  4. 4:58Techniques for AI coding agents
  5. 5:39Writing agent specifications
  6. 6:20Persuasive specs for agents
  7. 7:48Commitment in agent instructions
  8. 8:32Social proof for agents
  9. 9:14Structured AI planning
  10. 10:59Agent reasoning effort
  11. 12:24Context isolation with sub-agents
  12. 13:47CLI tools vs MCP servers
  13. 15:11Contextual guidance with .agent files
  14. 16:35Nesting agent files
  15. 17:40Progressive disclosure
  16. 18:44Agent architecture and domain
  17. 20:55Skills as guardrails
  18. 21:39Requirement skills
  19. 23:25Testing skills for agents
  20. 25:55Sub-agents for review
  21. 28:18Implementation skills
  22. 29:43Structured AI guidance trade-offs
  23. 30:27Summary and call to action
~/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.