Title

Description

Title

🔍

Codebase Analysis

Query and understand large codebases beyond 1M token context

Analyze architectureFind security issuesCode review
🎨

Multimodal Generation

Generate apps from PDFs, sketches, and other media

PDF to appSketch to codeImage analysis
⚙️

Workflow Automation

Automate operational tasks and complex workflows

PR queriesComplex rebasesTask automation
🔗

Tool Integration

Connect with MCP servers and external tools

Media generationAPI integrationCustom tools
🔍

Google Search

Ground queries with real-time web search

Current eventsLatest docsResearch
💬

Interactive Sessions

Conversational AI directly in your terminal

Code assistanceProblem solvingLearning

Practical Examples

Codebase Exploration

Understand and navigate large codebases effectively

Architecture Analysis

> Describe the main pieces of this system's architecture.

Get a high-level overview of your project structure

Security Review

> What security mechanisms are in place?

Identify security patterns and potential vulnerabilities

Code Quality Assessment

> Review this code for best practices and suggest improvements.

Get detailed code review and optimization suggestions

Development Workflows

Streamline your development process with AI assistance

Feature Implementation

> Implement a first draft for GitHub issue #123.

Generate initial code based on issue requirements

Migration Planning

> Help me migrate this codebase to the latest version of Java. Start with a plan.

Create step-by-step migration strategies

Documentation Generation

> Generate comprehensive documentation for this module.

Create detailed documentation from code analysis

Best Practices

Effective Prompting

Be Specific

Provide clear, detailed instructions for better results

Instead of 'fix this', say 'optimize this function for performance'

Provide Context

Include relevant background information

Mention the programming language, framework, and project goals

Iterative Refinement

Build on previous responses to improve results

Ask follow-up questions to clarify or expand on responses

Workflow Optimization

Start in Project Directory

Run Gemini CLI from your project root for better context

cd your-project && gemini

Use Version Control

Work with Git repositories for better file tracking

Gemini can understand your Git history and changes

Break Down Complex Tasks

Split large requests into smaller, manageable parts

Ask for a plan first, then implement step by step

Popular Use Cases

System Automation

Automate file operations and system tasks

> Convert all the images in this directory to png, and rename them to use dates from the exif data.

> Organise my PDF invoices by month of expenditure.

Use Case

File management and organization automation

Development Workflows

Streamline development and collaboration tasks

> Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.

> Make a full-screen web app for a wall display to show our most interacted-with GitHub issues.

Use Case

Project management and visualization

Code Migration

Assist with large-scale code changes and migrations

> Help me migrate this codebase to the latest version of Java. Start with a plan.

> Convert this React class component to a functional component with hooks.

Use Case

Technology upgrades and refactoring

Learning and Exploration

Understand new codebases and technologies

> Explain how this authentication system works.

> What are the main design patterns used in this codebase?

Use Case

Knowledge transfer and code comprehension