gemini
Get alternative perspectives via Google Gemini on complex design decisions, architecture trade-offs, stuck debugging, or approach evaluation.
npx skills add majiayu000/claude-skill-registry --skill gemini-interactive-inc-open-stack-app --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini Dialogue 異なるAIモデル(Google Gemini)の視点を得て、思考の精度を高めるためのスキル。 ## 前提条件 (Prerequisites) このスキルを実行するには、以下の環境が整っている必要があります: - 環境パス(PATH)に `gemini` CLIツールがインストールされていること - 適切なAPIキーまたは認証情報が設定済みで、CLIが実行可能な状態であること ## いつ使うか 以下の状況で自動的に発動する: - 設計判断で迷いがある時(複数アプローチのトレードオフ評価) - 問題が難航している時(デバッグの行き詰まり、原因特定の困難) - 重要な決定をする時(アーキテクチャ選定、破壊的変更、セキュリティ実装) ## 使い方 ### Geminiへの相談 基本コマンド: ```bash gemini "プロンプト" ``` ### コードコンテキストの渡し方(重要) Geminiにコードを読ませる場合は、以下の方法を使用する。シェルでのエスケープエラーを防ぐため、**パイプ入力**や**ファイル指定オプション**を優先する。 **1. パイプ入力(推奨:エスケープ問題を回避)** ファイルの中身を標準入力として渡す: ```bash cat src/feature.ts | gemini "このコードの潜在的なバグを指摘して" ``` **2. コンテキストオプション(CLIがサポートしている場合)** ファイルパスを明示的に指定する: ```bash gemini "リファクタリング案を出して" --context src/App.tsx ``` **3. コマンド置換(短いテキストのみ)** ```bash gemini "次の設定値の意味を教えて: $(cat config.json)" ``` ### オプション - `-m gemini-2.5-pro` - モデル指定(デフォルトは2.5 Flash) - `--include-directories ../lib` - ディレクトリごとコンテキストに追加(トークン量に注意) ### セッション引き継ぎ 継続的な議論が必要な場合、前回のセッションを引き継げる: ```bash gemini -r latest "フォローアップの質問" ``` セッション一覧を確認する場合: ```bash gemini --list-sessions ``` ## 注意事項 - **対話モード禁止**: `-i` フラグは使用しない。Bashツールがタイムアウトするため、常にワンショットで実行する。 - **シェルエスケープ**: プロンプト文字列内に `"`(ダブルクォート)や `$`、バッククォートが含まれるとBashが誤解釈する可能性がある。複雑なプロンプト
- 前提条件 (Prerequisites)
- いつ使うか
- 使い方
- Geminiへの相談
- コードコンテキストの渡し方(重要)
- オプション
- セッション引き継ぎ
- 注意事項
- プロンプト構成
- 回答の統合
- プロンプトテンプレート
- 設計判断
- 難航している問題
- 運用ルール
gemini "プロンプト" cat src/feature.ts | gemini "このコードの潜在的なバグを指摘して" gemini "リファクタリング案を出して" --context src/App.tsx gemini "次の設定値の意味を教えて: $(cat config.json)" gemini -r latest "フォローアップの質問" gemini --list-sessions
What does the gemini skill do?
Get alternative perspectives via Google Gemini on complex design decisions, architecture trade-offs, stuck debugging, or approach evaluation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-interactive-inc-open-stack-app --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
