skills/ask-gemini/SKILL.md
Asks Gemini CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
npx skillsauth add hiroro-work/claude-plugins ask-geminiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 promptsdevelopment
Review changed code for reuse, quality, and efficiency, then apply cleanup edits. Dispatches a fresh host-provided reviewer per iteration when available; the main thread applies mechanical edits and re-dispatches until no further edits remain. Non-interactive — no user prompts. Use after implementation as a code-cleanup pass complementary to correctness review.
development
Review changed code for reuse, quality, and efficiency, then apply cleanup edits. Dispatches a fresh host-provided reviewer per iteration when available; the main thread applies mechanical edits and re-dispatches until no further edits remain. Non-interactive — no user prompts. Use after implementation as a code-cleanup pass complementary to correctness review.
development
Check code changes for .claude/rules/ compliance. Use this skill when you need to verify that code changes follow project coding rules, whether as part of dev-workflow or standalone. Triggers on: rule compliance check, rules review, verify conventions, check coding standards. Best suited for hard rules (naming, imports, placement, explicit prohibitions); intent-style rules are checked on a best-effort basis.
development
Extract project-specific coding rules and domain knowledge from existing codebase, generating markdown documentation for AI agents. Use when onboarding a new project, after code review discussions about coding style, or when coding conventions need documenting. Also consider running after sessions where coding preferences were discussed or corrected (--from-conversation), or after PRs with significant review feedback (--from-pr).