# Shotgunning
Inspired by this post, I decided to try shotgunning:
- Quickly, but in detail, try to describe the architecture of the current solution + the task you are facing
- Glue it all together with the ENTIRE codebase and start sending it to the AI
- Initially say: "you are an architect, ask questions to detail the Architecture and Technical Specification"
- Answer questions and get the Architecture
- Send it again: "you are a project manager, describe in detail the tasks that need to be done"
- Send the result again: "you are a group of senior developers, change the code to implement the feature"
- Again: "you are a QA team, write tests and check the code"
I do the last 2 stages directly in the IDE, but the result is simply fantastic...
When you give the LLM the entire context with a lot of details that it wrote itself, it starts to produce a really cool result.
The only thing is, it will take a long time to generate small features/edits, so it's better to make further iterations on edits in a large list, again through: "I want to fix this, help me describe it in more detail, write tasks on how to fix it, change the code, test it."
# Architecture as Code – and nothing else
The next important aspect is that all textual results generated in the previous stage should be stored in the repository along with the code. Just like all other documentation you will write.
Because as soon as you describe your architecture in words and add it to the AI, it immediately becomes x100 smarter.
In short, forget Notion, Google Docs, and other crap, and now write all documentation only in repos.
# Copilot is crap, Cursor is awesome
As a VSCode fan, I kept trying to get something out of Copilot, but gods... as soon as I opened Cursor and spent an hour with it, I realized I had been struggling in vain for so long.
It understands context, doesn't cut off mid-sentence, is faster, and allows you to create rules and doesn't lose them.
In short, don't even try, just get Cursor and that's it.
For those who switched to something else after Cursor, the question is: what and why?