From gemini
Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks
How this skill is triggered — by the user, by Claude, or both
Slash command
/gemini:gemini-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
How to compose effective prompts for Gemini CLI in this plugin.
How to compose effective prompts for Gemini CLI in this plugin.
Prompt Gemini like an operator — compact, block-structured with XML tags. One clear task per run. State what "done" looks like.
Combine these blocks for most tasks:
<task>What to do. What done looks like.</task>
<structured_output_contract>Format of the expected output.</structured_output_contract>
<default_follow_through_policy>How to handle ambiguity.</default_follow_through_policy>
<verification_loop>Self-check before finishing.</verification_loop>
<grounding_rules>Only use visible context. No speculation.</grounding_rules>
| Situation | Add block |
|---|---|
| Writing/editing code | <action_safety>, <completeness_contract> |
| Code review | <operating_stance>, <finding_bar>, <calibration_rules> |
| Research/investigation | <research_mode>, <dig_deeper_nudge>, <citation_rules> |
| Long-running tasks | <progress_updates> |
| External tool calls | <tool_persistence_rules>, <missing_context_gating> |
--include-directories to focus on specific parts of the repo when needed.references/prompt-blocks.md — all reusable XML blocksreferences/gemini-prompt-recipes.md — end-to-end templatesreferences/gemini-prompt-antipatterns.md — failure modes to avoidnpx claudepluginhub arescope/claude-plugins --plugin geminiUse when the user asks to run Gemini CLI (gemini, gemini resume) or references Google Gemini for code analysis, refactoring, or automated editing
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'.
Invokes OpenAI Codex and Google Gemini CLIs via Bash for second opinions, code reviews, and alternative analysis. Useful when users request external AI verification or explicitly say 'ask codex' or 'ask gemini'.