hook-create
Freeプラグインに新しいフックを作成する。「フック作成」「新しいフック」「フックを作って」「フック追加」「hook 作成」「フックを追加したい」「新規フック」などで起動。ツール実行前後やセッションイベントで実行されるフックを生成。
The English summary is being prepared. Showing the original description.
マーケットプレイスのソースを dev(directory)/ prd(git)に切り替える。「マーケットプレイス切替」「marketplace toggle」「dev モード」「prd モード」「ローカル開発モード」「開発モード切替」「マーケットプレイス dev」などで起動。
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
マーケットプレイスの installLocation をシンボリックリンク(dev)/ git clone(prd)に切り替える。
$ARGUMENTS に --help が含まれる場合、以下を表示して終了:
/marketplace-toggle - Marketplace Toggle
概要:
マーケットプレイスの installLocation を切り替えます。
- dev: installLocation をプロジェクトディレクトリへの symlink に差し替え
- prd: installLocation を元の git clone に復元
切り替え後は Claude Code の再起動が必要です。
使用方法:
/marketplace-toggle [dev|prd|status] [オプション]
サブコマンド:
dev symlink に切り替え(開発用)
prd git clone に復元(本番用)
status 現在のモードを表示(デフォルト)
オプション:
--help このヘルプを表示
例:
/marketplace-toggle dev # ローカル開発モードに切り替え
/marketplace-toggle prd # git モードに戻す
/marketplace-toggle status # 現在のモードを確認
/marketplace-toggle # status と同じ
Claude Code はプラグインを以下の流れで読み込む:
known_marketplaces.json
└─ installLocation(git clone またはシンボリックリンク)
└─ marketplace.json + plugins/*/
└─ /plugin install 時に cache/ にコピー
└─ installed_plugins.json の installPath から読み込み
source フィールドを変更しても installLocation は更新されないため、installLocation 自体を差し替える必要がある。
~/.claude/plugins/marketplaces/shiiman-claude-code-plugins~/.claude/plugins/marketplaces/shiiman-claude-code-plugins.git-backup/Users/a12665/Documents/personal/claude-code-plugins$ARGUMENTS から判定:
dev → ステップ 3(dev 切り替え)prd → ステップ 4(prd 切り替え)status または引数なし → ステップ 2(状態表示)readlink ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins 2>/dev/null || echo "NOT_SYMLINK"
現在: dev モード(symlink → {リンク先})現在: prd モード(git clone)status の場合はここで終了。
# すでに symlink なら何もしない
if [ -L ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins ]; then
echo "すでに dev モードです"
exit 0
fi
mv ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins.git-backup
ln -s /Users/a12665/Documents/personal/claude-code-plugins ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins
readlink ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins
切り替え後、以下を表示:
✅ dev モードに切り替えました
installLocation → symlink → /Users/a12665/Documents/personal/claude-code-plugins
次のステップ:
Claude Code を再起動してください。ローカルの変更が反映されます。
# symlink でなければ何もしない
if [ ! -L ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins ]; then
echo "すでに prd モードです"
exit 0
fi
# バックアップが存在するか確認
if [ ! -d ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins.git-backup ]; then
echo "エラー: git clone のバックアップが見つかりません"
exit 1
fi
rm ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins
mv ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins.git-backup ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins
git -C ~/.claude/plugins/marketplaces/shiiman-claude-code-plugins pull
切り替え後、以下を表示:
✅ prd モードに切り替えました
installLocation → git clone(git pull 済み)
次のステップ:
Claude Code を再起動してください。git リモートの最新版が反映されます。
.git-backup)は prd 復元時に必要。手動で削除しないことNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
プラグインに新しいフックを作成する。「フック作成」「新しいフック」「フックを作って」「フック追加」「hook 作成」「フックを追加したい」「新規フック」などで起動。ツール実行前後やセッションイベントで実行されるフックを生成。
The English summary is being prepared. Showing the original description.
新しい Claude Code プラグインを作成する。「プラグイン作成」「新しいプラグイン」「プラグインを作って」「プラグイン追加」「plugin 作成」「プラグイン一括作成」「フル作成」などで起動。プラグインのみ作成と、スキル/サブエージェント/フックを含む一括作成の両方に対応。
The English summary is being prepared. Showing the original description.
MCP サーバーの一覧表示・追加・削除を一つのスキルで管理する。「MCP 管理」「MCP 一覧」「MCP を追加」「MCP を削除」「MCP サーバー管理」「MCP 設定」「MCP 操作」などで起動。引数があれば優先し、なければ発話内容から list/install/remove を判定。
The English summary is being prepared. Showing the original description.
プロジェクトの Claude Code リソース一覧を表示する。「Claude リソース一覧」「スキル一覧」「エージェント一覧」「フック一覧」「プロジェクトリソース確認」「何があるか確認」「リソースを見せて」などで起動。表示対象(スキル/エージェント/フック)は発話から判断する。
The English summary is being prepared. Showing the original description.
Claude Code 設定の表示・更新・ローカル更新を統合管理する。「Claude 設定管理」「設定を表示」「settings を更新」「local settings を更新」「権限設定を変更」「設定ファイル管理」「claude settings」などで起動。引数があれば優先し、なければ発話内容から view/update/local-update を判定。
The English summary is being prepared. Showing the original description.
Claude Code CLI 本体のバージョン確認・更新と、インストール済みプラグインの一括更新を実行する。「Claude Code を更新」「claude update」「Claude のバージョン確認」「Claude 本体更新」「プラグイン更新」「plugin update」などで起動。引数があれば優先し、なければ発話内容から version/update/plugin-update を判定。brew での AI CLI 一括更新は shiiman-common:brew-upgrade-ai。
The English summary is being prepared. Showing the original description.