Skill

Gemini CLI スキル

Gemini CLI を使って、別のAIエージェントの視点を得る。

From core
Install
1
Run in your terminal
$
npx claudepluginhub kentanakae/claude-code-plugins --plugin core
Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Gemini CLI スキル

Gemini CLI を使って、別のAIエージェントの視点を得る。

前提条件

  • Gemini CLI がインストールされている必要がある
  • Google AI の認証が設定されている必要がある

手順

Step 1: コマンドの存在確認

gemini コマンドが利用可能か確認する。

which gemini

コマンドが見つからない場合は、ユーザーにインストールを促して終了する。

Gemini CLI がインストールされていません。以下を参考にインストールしてください: https://github.com/google-gemini/gemini-cli

Step 2: 引数を確認

$ARGUMENTS を解析して実行モードを決定:

引数パターンモード
review <prompt>読み取り専用でレビュー
exec <prompt>タスク実行
引数なしユーザーに確認

Step 3: コマンド実行

review モード(読み取り専用)

gemini -s -p "<prompt>"

-s (sandbox) でサンドボックスモードを有効にし、安全にレビューする。

exec モード(タスク実行)

gemini -p "<prompt>"

自動承認が必要な場合:

gemini -y -p "<prompt>"

Step 4: 結果を報告

実行結果をユーザーに報告する。

主なオプション

オプション説明
-m, --model <MODEL>使用するモデルを指定
-p, --prompt <PROMPT>非インタラクティブにプロンプトを実行
-s, --sandboxサンドボックスモードで実行
-y, --yolo全てのアクションを自動承認

使用例

# レビューを依頼
gemini -s -p "このコードをレビューして"

# タスクを実行
gemini -p "このコードのパフォーマンスを改善して"

# 自動承認モードで実行
gemini -y -p "テストを追加して"
Similar Skills
cache-components

Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.

138.5k
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitMar 3, 2026