Build a context contract for the repository
Make project conventions, commands and boundaries discoverable before asking for edits.
A coding agent makes better decisions when it can find the project purpose, architecture, commands, constraints and definition of done. Put durable guidance close to the code and keep task-specific detail in the task brief.