# 5 developer tips for working with Gemini 4

## Executive summary

This guide provides five advanced tips for build engineers and developers leveraging Gemini 4 to handle large, complex engineering tasks. The focus shifts from turn-by-turn prompting to structured, autonomous workflows, emphasizing intent alignment, concrete verification loops (including visual testing), hierarchical orchestration, and post-session reflection to create reusable skills.

## Key takeaways

- Align Intent Before Execution: Instead of micromanaging, spend time upfront having Gemini 4 ask clarifying questions about success criteria, key milestones, and edge cases to ensure the ideal outcome is agreed upon before coding begins. This can be done using Plan mode in Google AI Studio or the /grill-me command in Google Antigravity.
- Implement Concrete Verification Loops: Provide Gemini 4 with a real feedback loop to verify its work. This means pointing the model at a test suite, piping in runtime logs, or asking it to iterate until a verification script passes. This concept also applies to front-end work, where visual bugs are caught by having the model critique its own renders using browser screenshots.
- Utilize Multimodal References (Show, Don't Tell): Leverage Gemini's native multimodality by dropping in reference images to distill a design.md file. For complex scenes, Nano Banana can generate target mockups. Furthermore, Agentic Video Understanding allows Gemini to inspect frames in high resolution from screen recordings or user testing clips to patch specific UI timing bugs.
- Employ Hierarchical Orchestration: Use the most powerful model (Gemini 4) as the lead orchestrator for planning, architectural breakdown, and final review, while delegating execution tasks to smaller, parallel sub-agents. This allows for cross-modal orchestration, such as wiring up Nano Banana for sprites and Gemini 3.8 Flash for text-to-speech.
- Reflect and Create Reusable Skills: Audit the session before closing the terminal, asking Gemini to spot where extra turns were burned and turning those lessons into a reusable skill.md file. Installing the Gemini API skill is recommended to integrate with the Gemini family and upgrade older projects.

## Technical details

- Model Capabilities: Gemini 4 supports handing off large, complex engineering tasks end-to-end. It features native multimodality and spatial understanding, and can perform Agentic Video Understanding to inspect UI timing bugs.
- Tools and Commands: Specific tools mentioned include Google AI Studio (for Plan mode), Google Antigravity (for the /grill-me command), Nano Banana (for generating 3D mockups), and Gemini 3.8 Flash (for text-to-speech).
- Workflow Mechanisms: The process involves creating a `design.md` file from reference images, using a `skill.md` file for lessons learned, and integrating via the Gemini API skill.

## Practical implications

- Reduces the need for constant manual micromanagement during long development runs.
- Improves code quality by enforcing concrete pass/fail targets (e.g., test suite completion, visual verification).
- Allows for complex, multi-agent workflows where different models handle specialized tasks (e.g., text, sprites, voice).
- Creates a mechanism for continuous process improvement by documenting session lessons into reusable skills.

## Topics

AI, Large Language Models, Build Engineering, Agentic Systems, Multimodality, Using Gemini API skills with coding agents, Choosing a Gemini 4 model

Source: https://www.youtube.com/watch?v=WN5O4vWCa54
