From rules-review
Executes local Gemini CLI for coding assistance including second opinions, code generation, debugging, refactoring, and task delegation.
npx claudepluginhub hiroro-work/claude-plugins --plugin apply-rulesThis skill is limited to using the following tools:
Executes the local `gemini` CLI to get coding assistance.
Invokes local Gemini CLI for AI-powered coding assistance: code generation, debugging, refactoring, reviews, and questions. Needs gemini CLI and API key installed.
Runs Google's Gemini CLI for code generation, review, analysis, web research via Google Search, and codebase architecture investigation. Use for second AI opinions, real-time web data, or parallel code tasks.
Delegates tasks to Gemini CLI for large-context analysis like broad codebase reviews or long-document processing. Activates on explicit requests such as 'use gemini' or 'delegate to gemini'.
Share bugs, ideas, or general feedback.
Executes the local gemini CLI to get coding assistance.
Note: This skill requires the gemini CLI to be installed and available in your system's PATH.
Run a single query with -p (non-interactive mode):
gemini -p "Your question or task here"
| Option | Description |
|---|---|
-p | Non-interactive mode (required for scripting) |
-m MODEL | Specify model |
-y, --yolo | Auto-approve all tool executions |
-r, --resume latest | Resume the most recent session |
For all available options, run
gemini --help
Ask a coding question:
gemini -p "How do I implement a binary search in Python?"
Use a specific model:
gemini -p -m gemini-3.1-pro-preview "Review this code for potential issues"
Let Gemini make changes automatically:
gemini -y -p "Refactor this function to use async/await"
Continue a previous session:
gemini --resume latest -p "Now add error handling to that function"
-p flag runs Gemini non-interactively and outputs result to stdoutGEMINI_API_KEY environment variable for authentication-y/--yolo for automatic execution without confirmation prompts