Help us improve
Share bugs, ideas, or general feedback.
From shiiman-go
Go モジュールのバージョンを更新する。「依存関係を更新」「go mod update」「モジュール更新」「依存関係確認」「go.mod 更新」「パッケージ更新」「依存関係を整理」「モジュールアップデート」「依存パッケージ更新」「go get」などで起動。更新可能なモジュールの一覧、危険度評価、段階的更新をサポート。更新後は check で品質チェックを自動実行。
npx claudepluginhub shiiman/claude-code-plugins --plugin shiiman-goHow this skill is triggered — by the user, by Claude, or both
Slash command
/shiiman-go:mod-updateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Go モジュールのバージョンを更新します。危険度評価付きで安全な段階的更新をサポート。
Audits and updates Go module dependencies using go toolchain and govulncheck, with semver-aware patching and vulnerability checks.
Manages Go modules and dependencies: initializes projects, edits go.mod/go.sum, handles versioning/conflicts, sets up workspaces, troubleshoots errors.
Manages Go project dependencies: go.mod, upgrades, vulnerability scanning, conflict resolution, go.work workspaces, and automated update setup with Dependabot/Renovate.
Share bugs, ideas, or general feedback.
Go モジュールのバージョンを更新します。危険度評価付きで安全な段階的更新をサポート。 更新後は check と同じ品質チェック(テスト・静的解析・脆弱性スキャン・ベンチマーク・コードレビュー)を並列実行します。
$ARGUMENTS に --help が含まれる場合、以下を表示して終了:
/shiiman-go:mod-update - Go モジュール更新
概要:
Go モジュールのバージョンを更新する。
危険度評価付きで安全な段階的更新をサポート。
更新後は check で品質チェックを自動実行。
使用方法:
/shiiman-go:mod-update [オプション]
オプション:
--check 更新可能なモジュールを確認のみ(更新しない)
--help このヘルプを表示
例:
/shiiman-go:mod-update # モジュールを更新
/shiiman-go:mod-update --check # 更新可能なモジュールを確認
cat go.mod
go list -m -u all
各モジュールについて以下を評価:
| 危険度 | 基準 | 説明 |
|---|---|---|
| 🟢 安全 | パッチバージョン (v1.2.3 → v1.2.4) | バグ修正のみ、後方互換性保証 |
| 🟡 注意 | マイナーバージョン (v1.2.0 → v1.3.0) | 新機能追加、非推奨警告あり |
| 🔴 危険 | メジャーバージョン (v1.x.y → v2.0.0) | 破壊的変更、API の変更 |
# バックアップ作成
cp go.mod go.mod.backup
cp go.sum go.sum.backup
# 特定モジュールの更新
go get -u github.com/xxx/yyy@latest
# すべての依存関係を更新
go get -u ./...
# go.mod の整理
go mod tidy
✅ 依存関係更新完了
更新されたモジュール:
- github.com/xxx/yyy: v1.2.0 → v1.3.0 (🟡 マイナー)
- github.com/aaa/bbb: v2.1.0 → v2.1.1 (🟢 パッチ)
更新をスキップ:
- github.com/ccc/ddd: v1.0.0 → v2.0.0 (🔴 メジャー - 手動確認推奨)
更新完了後、Skill ツールで shiiman-go:check を呼び出す。
check がテスト・静的解析・脆弱性スキャン・ベンチマーク・コードレビューを並列実行する。
--check の場合は check をスキップする