you should have a file in your repo as per these forum posts:
add a rule instructing the agent to read your codebase first. you can also select files to help it understand which areas to consider as priority.