Claude Agent SDK Development Plugin
You can install this plugin from any of these themed marketplaces. Choose one, add it as a marketplace, then install the plugin.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install agent-sdk-dev-3@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/agent-sdk-dev-3.json
Step 2: Install the plugin
/plugin install agent-sdk-dev-3@agent-sdk-dev-3
Claude CodeのDevContainer環境でGo言語開発を行うためのテンプレートです。 DevContainerを使用することで、ローカル環境を汚さずに、すぐに開発を始められます。
gopls
- Go Language Server(コード補完、リファクタリング、型チェック)golangci-lint
- 統合リンター(複数のリンターを統合)delve (dlv)
- デバッガーair
- ホットリロード開発サーバーgit clone <このリポジトリのURL>
cd <リポジトリ名>
VS Code / Cursorでこのプロジェクトを開き、以下のいずれかの方法でDevContainerを起動:
方法1: 通知から起動
方法2: コマンドパレットから起動
Cmd+Shift+P
(Mac) / Ctrl+Shift+P
(Windows/Linux) でコマンドパレットを開くDev Containers: Rebuild and Reopen in Container
を選択初回起動時はDockerイメージのビルドに数分かかります。
コンテナが起動したら、ターミナルで以下のコマンドを実行して環境を確認:
# Goのバージョン確認
go version
# 開発ツールの確認
gopls version
golangci-lint --version
dlv version
air -v
# アプリケーションの実行
go run main.go
# ビルド
go build -o app
# テストの実行
go test ./...
# リンターの実行
golangci-lint run
# Airでホットリロードを有効にして開発
air
# .air.toml で設定をカスタマイズ可能
ファイルを保存すると自動的に再ビルド・再起動されます。
VS Code / Cursorのデバッグ機能を使用するか、コマンドラインから:
# デバッガーを起動
dlv debug
.
├── .devcontainer/ # DevContainer設定ファイル
│ ├── Dockerfile # Go開発環境のDockerイメージ定義
│ └── devcontainer.json # DevContainerの設定
├── .claude/ # Claude Code設定
├── .vscode/ # VS Code設定
├── .air.toml # Airホットリロード設定
├── main.go # サンプルHTTPサーバー
├── go.mod # Go module定義
├── README.md # このファイル
└── .gitignore # Gitignore設定
このテンプレートには簡単なHTTPサーバーが含まれています:
# サーバーを起動
go run main.go
# 別のターミナルで確認
curl http://localhost:8080
curl http://localhost:8080/health
自動的にインストールされる拡張機能:
.devcontainer/devcontainer.json
で以下が自動設定されます:
gofmt
).devcontainer/Dockerfile
の FROM golang:1.23.2-bookworm
を変更してください。
go get <package-name>
.devcontainer/Dockerfile
の該当セクションに追加してください。
# コンテナを完全に再ビルド
Dev Containers: Rebuild Container Without Cache
# goplsの再インストール
go install golang.org/x/tools/gopls@latest
このテンプレートはClaude Codeとの統合を前提に設計されています。
Claude CodeはAnthropicが開発したAIアシスタントで、VS Code / Cursor内で直接動作し、コードの作成、リファクタリング、バグ修正、説明などを支援します。
詳しくはClaude Code公式ドキュメントをご覧ください。
A: いいえ、必要ありません。全ての開発環境はDevContainer内に含まれているため、Dockerさえあれば開発を始められます。
A: はい、自由に使用できます。詳細はLICENSE.mdをご確認ください。
A: Claude Codeは様々な言語に対応しています。詳しくは公式ドキュメントをご覧ください。
A: このテンプレートはDevContainer前提で設計されていますが、Dockerfileを参考にローカル環境を構築することも可能です。
このプロジェクトのライセンスについては、LICENSE.mdをご確認ください。
セキュリティに関する問題を発見した場合は、SECURITY.mdをご確認ください。
1.0.0