From gemini
Provides structured prompt templates for composing Gemini 3 prompts for coding, review, diagnosis, and research tasks. Includes XML-based prompt blocks, output contracts, and verification loops.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gemini:gemini-3-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when `gemini:gemini-rescue` needs to ask Gemini for help.
Use this skill when gemini:gemini-rescue needs to ask Gemini for help.
Prompt Gemini like an operator, not a collaborator. Keep prompts compact and block-structured with XML tags. State the task, the output contract, the follow-through defaults, and the small set of extra constraints that matter.
Core rules:
<thinking> tags and to JSON schemas given inline — use both when the output shape matters.Default prompt recipe:
<task>: the concrete job and the relevant repository or failure context.<structured_output_contract> or <compact_output_contract>: exact shape, ordering, and brevity requirements.<default_follow_through_policy>: what Gemini should do by default instead of asking routine questions.<verification_loop> or <completeness_contract>: required for debugging, implementation, or risky fixes.<grounding_rules> or <citation_rules>: required for review, research, or anything that could drift into unsupported claims.When to add blocks:
completeness_contract, verification_loop, and missing_context_gating.grounding_rules, structured_output_contract, and dig_deeper_nudge.research_mode and citation_rules.action_safety so Gemini stays narrow and avoids unrelated refactors.How to choose prompt shape:
review or adversarial-review subcommands that already carry the review contract.task when the task is diagnosis, planning, research, or implementation and you need to control the prompt more directly.task --resume-last for follow-up instructions on the same Gemini thread. Send only the delta instruction instead of restating the whole prompt unless the direction changed materially.Use Gemini's built-in subagents when the task benefits from dedicated exploration:
codebase_investigator (ships with the codebase-investigation skill) — invoke it inside a prompt when Gemini needs to map call sites, trace invariants, or summarize a subsystem before answering. It is configured to use gemini-3.1-pro-preview. Mention it by name in the prompt body (e.g., "use the codebase_investigator subagent to map X before finalizing the fix") when you want Gemini to reach for it instead of guessing from a shallow read.Working rules:
Prompt assembly checklist:
<task>.Reusable blocks live in references/gemini-prompt-blocks.md. Concrete end-to-end templates live in references/gemini-prompt-recipes.md. Common failure modes to avoid live in references/gemini-prompt-antipatterns.md.
npx claudepluginhub m-ghalib/gemini-plugin-cc --plugin geminiUse when the user asks to run Gemini CLI (gemini, gemini resume) or references Google Gemini for code analysis, refactoring, or automated editing
Internal guidance for composing Copilot prompts for coding, review, diagnosis, and research tasks across GPT-5.4, GPT-5.3-Codex, and Gemini 3.1 Pro inside the Copilot Claude Code plugin
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'.