gemini-analyzerlisted
Install: claude install-skill Wonham/my-skills
# Gemini CLI for Large Codebase Analysis
Use `gemini -p` with `@` syntax to include files and directories in your prompts. All paths are relative to the current working directory.
## Core Syntax
| Target Type | Command Pattern |
|--------------|-----------------|
| Single file | `gemini -p "@src/main.py <your prompt>"` |
| Multiple files | `gemini -p "@file1 @file2 @file3 <your prompt>"` |
| Directory | `gemini -p "@src/ <your prompt>"` |
| Multiple directories | `gemini -p "@src/ @tests/ @lib/ <your prompt>"` |
| Entire project | `gemini -p "@./ <your prompt>"` |
| All files recursively | `gemini --all_files -p "<your prompt>"` |
## Common Analysis Tasks
### Feature Implementation Verification
```bash
# Check if a feature exists
gemini -p "@src/ @lib/ Has dark mode been implemented? Show all relevant files and functions"
# Authentication implementation check
gemini -p "@src/ @middleware/ Is JWT authentication implemented? List all auth-related endpoints and middleware"
# Specific feature verification
gemini -p "@backend/ @middleware/ Is rate limiting implemented for API endpoints? Show the implementation details"
```
### Architecture and Pattern Analysis
```bash
# Search for specific patterns
gemini -p "@src/ List all React hooks that handle WebSocket connections with file paths"
# Code organization analysis
gemini -p "@src/ Analyze the code structure and identify patterns. Show how modules are organized"
# Implementation patterns
gemini -p "@src/ @lib/ @services