← Back to context

Comment by sminchev

2 days ago

> One of the reasons the AI fails constantly is that it has no context of the entire code base.

I had the same issue, take your time and describe the context. Create a documentation out of the project. I used BMAD for this. It created a specification for me, by checking the code I answered a lot of questions, clarified a lot of things. And once I had this done, I now start each session with: read the documents, prepare yourself for implementation, have a good context so that you don't make any errors.

Afterwards, I do my things, fix, test. At the end I do an update of the documentations: update lessons learned, add new rules, if necessary, update architecture, etc.

With the time, I got enough basis so that most of the fixes happen with only 2-3 iterations, which is good enough for me.

I use Opus.