Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Make it write a script with dry run and a file name list.

You’ll be amazed how good the script is.

My agent did 20 class renames and 12 tables. Over 250 files and from prompt to auditing the script to dry run to apply, a total wall clock time of 7 minutes.

Took a day to review but it was all perfect!



Refactoring already exists.


Asking for code to manipulate the AST is another route. In python it can do absolute magic.


Glad to see others have discovered this! It’s mind boggling - the agent can do sheer wizardry.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: