Guidance on how to configure AI coding agents (specifically Gemini in Android Studio) to follow custom libraries, frameworks, and design systems. The recommended approach is creating agents.md files at the project root and within individual modules, using bullet-pointed instructions to define architecture rules, preferred frameworks, and coding conventions. These files give the AI clear, persistent context. If starting from scratch feels overwhelming, you can use AI itself to generate a baseline agents.md from your existing project.

1m watch time

Sort: