• 0 Posts
  • 49 Comments
Joined 3 years ago
cake
Cake day: June 23rd, 2023

help-circle







  • Of course it’s an unpopular opinion among the vehemently anti-AI crowd over here, but you can get a pretty good headstart with LLMs, local ones even.

    The thing is that you don’t just take what is given and immediately send it back as a shitty PR. Code review it, figure out what works and what doesn’t, have a test plan, have unit tests, stand up a sandbox and look at the frontend results, use a second agent for a blind code review, etc.

    Hell, if you aren’t spending at least the first several hours asking questions and crafting a complete design plan, you’re not doing it right.











  • Messy brownfield code requires a lot more meta-analysis from previous sessions, just to get all of the spaghetti code into a manageable set of rules and documentation.

    Don’t just send the agent blindly into the code. Every session, the agent is just going in fresh without any context on how the code works. Break the codebase down to a 10,000 foot view as a summary, and then get more documentation and agent rules for each of its major sections. Good tests help a great deal, too, and if there aren’t tests, start building them. Start creating skills just for the codebase, or any common tasks you’re asked to do against it.

    Also remember that you don’t have to write any of this stuff. Have it write the docs, rules, skills, tests, and just review it to make sure it looks right.