Have you ever looked into Rails generators? They’re meant to be run over the lifetime of the project, and many libraries (specifically thinking of Devise, since it’s a large feature) have “install me” generators.
Interesting, thanks for the tip! I think what grandparent may have been referring to is if you run a generator with one set of arguments, make changes to the generated code, then you want to rerun the generator to regenerate the code with a different set of arguments.
For example if you have a generator that has an argument for which logging library to use, you might want to change the logging library later. Maybe a bad example.
I think this is where LLMs can thrive. Has anyone investigated using LLMs for resolving merge conflicts?