Comment by cadamsdotcom
14 hours ago
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.
[dead]