Skip to content
cccskills
FreePublished on GitHub

go-maintenance

Go 依存関係の整理・キャッシュクリア。「go mod tidy」「依存関係」「go mod」「キャッシュクリア」「go clean」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Go メンテナンス

Go バックエンドの依存関係整理とキャッシュ管理。

プロジェクト検出

以下の優先順位で Go プロジェクトを検出:

  1. 環境変数 GO_BACKEND_DIR(go.mod の存在を確認)
  2. カレントディレクトリの go.mod
  3. サブディレクトリ(backend/, server/, api/, go/)
  4. 再帰検索(深さ2まで)

依存関係整理

cd <backend_dir>

# 未使用の依存を削除、不足している依存を追加
go mod tidy

キャッシュクリア

# ビルドキャッシュのクリア
go clean -cache

# テストキャッシュのクリア
go clean -testcache

# モジュールキャッシュのクリア(全プロジェクトに影響)
go clean -modcache

使用タイミング

  • パッケージの追加・削除後 → go mod tidy
  • go.mod / go.sum のコンフリクト解決後 → go mod tidy
  • ビルドが不安定な場合 → キャッシュクリア
  • ディスク容量確保 → モジュールキャッシュクリア

よくあるエラー

go mod tidy が動作しない

go: modules disabled by GO111MODULE=off

対処:

export GO111MODULE=on
go mod tidy

注意事項

  • go clean -modcache は全プロジェクトのモジュールキャッシュを削除する
  • 実行前にユーザーに確認すること

Reviews

No reviews yet. Tell others what you thought.

Comments

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.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

CHANGELOG エントリ追加・バージョン計算。「CHANGELOG」「変更履歴」「changelog add」「version bump」「バージョン」「バージョンアップ」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

プロジェクトの .claude/ ディレクトリ(skills, agents, contexts)を Codex CLI 互換 .agents/ に変換。「codex export」「Codex 変換」「プロジェクトをエクスポート」などで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

デザインシステム準拠のSwiftUIコンポーネントを生成する。新しいUIパーツの作成、コンポーネント生成時に使用。「コンポーネント作成」「新しいUI」「パーツ作成」「component generate」「UIパーツ」「新規コンポーネント」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

Claude Code プラグインを Codex CLI 互換形式に変換。SKILL.md → .agents/skills/、agents → .agents/skills/、AGENTS.md 生成。「deploy」「codex」「Codex 変換」「エクスポート」などで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

SwiftUI ViewのDesign System準拠性を監査する。既存UIのレビュー、デザインチェック時に使用。「デザインレビュー」「UIチェック」「design audit」「デザイン監査」「UI監査」「デザインチェック」「トークン確認」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

UIの視覚的差分を検出・比較する。デザイン変更前後の比較、リファレンスとの差分確認時に使用。「デザイン比較」「UI差分」「design diff」「design compare」「ビフォーアフター」「見た目の違い」などのキーワードで自動適用。

The English summary is being prepared. Showing the original description.

no-problem-dev/claude-code-plugins5Updated Mar 15, 2026

See all skills by no-problem-dev

Report a problem with this skill