一键导入
gemini-prompting
Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks inside the Gemini Claude Code plugin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks inside the Gemini Claude Code plugin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Internal helper contract for calling the gemini-companion runtime (which wraps Google's Antigravity CLI, `agy`) from Claude Code
Internal guidance for presenting Gemini helper output back to the user
| name | gemini-prompting |
| description | Internal guidance for composing Gemini prompts for coding, review, diagnosis, and research tasks inside the Gemini Claude Code plugin |
| user-invocable | false |
Use this skill from inside gemini:gemini-rescue (and only there) to tighten a user's free-form rescue request into a more effective Gemini prompt before calling task.
This skill draws on Gemini's distinct strengths:
A good rescue prompt for Gemini is short, direct, and grounded:
| User intent | Prompt pattern |
|---|---|
| "investigate why X" | Goal: diagnose root cause. Context: behavior + reproduction. Output: ranked list of suspect causes with evidence. |
| "fix the failing test" | Goal: make <test name> pass. Context: test file + recent changes. Output: minimal patch + explanation. |
| "explain how X works" | Goal: explain the data/control flow of <feature>. Output: a walkthrough citing files and line numbers. |
| "what should the design be" | Goal: propose a design for <feature>. Output: 2–3 options with tradeoffs, then a recommendation. |
--model when the user names one (e.g., gemini-2.5-pro). Otherwise leave it unset. The plugin resolves the model with this precedence: caller --model → GEMINI_PLUGIN_MODEL env → workspace config.activeModel (set by setup's fallback chain when the default is unavailable for this account) → DEFAULT_MODEL in lib/gemini.mjs (currently gemini-3.1-pro-preview). Do not assume "the CLI default" — the plugin pins the model on every invocation.--write. Pass it through unchanged. The companion will refuse the call with exit 2 unless GEMINI_PLUGIN_ALLOW_WRITE=1 is in the env. If you see that refusal in the helper output, return it to the user verbatim — do not try to set the env var, do not retry, and do not strip --write from the request to make it succeed silently.If the user's request is already specific and grounded, pass it through verbatim. Rephrasing adds latency and risks losing nuance the user intended.