← Back to context

Comment by Havoc

3 days ago

> greenfield

LLMs are pretty good at picking up existing codebases. Even with cleared context they can do „look at this codebase and this spec doc that created it. I want to add feature x“

What size of code base are you talking about? And this is your personal experience?

  • Overall Codebase size vs context matter less when you set it up as microservices style architecture from the starts.

    I just split it into boundaries that make sense to me. Get the LLM to make a quick cheat sheet about the api and then feed that into adjacent modules. It doesn’t need to know everything about all of it to make changes if you’ve got a grip on big picture and the boundaries are somewhat sane

    • Overall Codebase size vs context matter less when you set it up as microservices style architecture from the starts.

      It'll be fun if the primary benefit of microservices turns out to be that LLMs can understand the codebase.

      2 replies →

    • It doesn't have to be micro services, just code that is decoupled properly, so it can search and build its context easily.