| ▲ | Garlef 3 hours ago | |
> producing code that’s structurally sound enough for someone responsible for the architecture to sign off on 1. It helps immensely if YOU take responsibility for the architecture. Just tell the agent not only what you want but also how you want it. 2. Refactoring with an agent is fast and cheap. 0. ...given you have good tests --- Another thing: The agents are really good at understanding the context. Here's an example of a prompt for a refactoring task that I gave to codex. it worked out great and took about 15 minutes. It mentions a lot of project specific concepts but codex could make sense of it. """ we have just added a test backdoor prorogate to be used in the core module. let's now extract it and move it into a self-contained entrypoint in the testing module (adjust the exports/esbuilds of the testing module as needed and in accordance with the existing patterns in the core and package-system modules). this entrypoint should export the prorogate and also create its environment refactor the core module to use it from there then also adjust the ui-prototype and package system modules to use this backdoor for cleanup """ | ||