AI Cloud Architect

Five Best Practices for Using AI Coding Assistants

GoogleHow-to by Kari Loftesness and Jason DavenportGoogle 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.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.