Five Best Practices for Using AI Coding Assistants
Google•How-to••by Kari Loftesness and Jason Davenport•Google Cloud Blog (developers and practitioners)
Learn 5 best practices for using AI coding assistants like Gemini CLI, Gemini Code Assist, and Jules to improve your development workflow and achieve better results in complex app development and migration projects.
Five practices for AI coding assistants: pick the tool for the task, document the codebase first, plan before coding, write detailed prompts, and keep a context file between sessions.
Who it is for
Developers using Gemini CLI or Gemini Code Assist on larger app development or migration projects.
Key points
Use Gemini CLI for multi-file migrations and Gemini Code Assist for inline function generation.
Ask the AI to save a plan.md and to wait for approval before each new plan milestone.
Keep a GEMINI.md context file updated at the end of each working session.
AI:Jules, a Google coding agent, can now be called from Gemini CLI with /jules to run fixes in the background, including parallel GitHub issue fixes and security and bug-fix workflows combined with other Gemini CLI extensions.
AI:Gemini CLI and Gemini Code Assist IDE extensions stop serving requests for Google AI Pro and Ultra users, and free Gemini Code Assist for individuals, on June 18, 2026, in favor of Antigravity CLI.
AI:Gemini Code Assist adds an agent mode with auto approve, inline diff editing, revert to checkpoint, and faster code completion, plus context controls and custom commands.