Been experimenting with something recently in my React Native setup and didn’t expect it to make this much of a difference.
Instead of just prompting Blackbox AI every time, I created a structured reference file for the project. Not documentation in the usual sense, but more like a guide for how the codebase is supposed to behave.
Things like folder structure, naming conventions, how components are written, how styling works, and how custom hooks are expected to be used.
Then I started feeding that into Blackbox AI using multi-file context, so every time I’m generating or editing code, it has that baseline to work from.
Before doing this, the output was very generic. It would generate valid React Native code, but not really aligned with how my project is structured. I’d still have to reshape it to fit my patterns.
After adding that structured context, it started generating components that actually matched my setup. Using the same naming conventions, plugging into the right hooks, and respecting the way I handle styling and layout.
What stood out is that it’s not just about giving instructions in a prompt. Having a persistent, structured reference changes how Blackbox AI reasons about the project as a whole.
I also tried combining this with AI Agents, letting it read that file and then apply changes across multiple components. That’s where it really started to feel consistent, like it’s not just generating code, but following a system.
Now I’m trying to figure out how far to take this.
Do people go deeper with this kind of setup, like defining architecture decisions, state management patterns, or even testing rules in these context files?
Feels like the more structured the input, the more predictable the output becomes, but I’m curious how others are approaching this when working with larger React Native projects using Blackbox AI.