開発環境にAIコーディングエージェントをインストールしたDevContainerのサンプルです。
| ツール | CLI | VS Code拡張 |
|---|---|---|
| Claude Code | @anthropic-ai/claude-code | Anthropic.claude-code |
| Codex | @openai/codex | openai.chatgpt |
| Gemini Code Assist | @google/gemini-cli | google.geminicodeassist |
| GitHub Copilot | @github/copilot | GitHub.copilot |
- context7 - コンテキスト管理
- Playwright - ブラウザ自動化・テスト
- Chrome DevTools - ブラウザデバッグ
Debian Trixie / Node.js v24 / Python (uv) / Zsh + Oh My Zsh + Powerlevel10k
必要要件: Docker / VS Code / Dev Containers拡張
# 拡張機能インストール
code --install-extension ms-vscode-remote.remote-containers
# リポジトリをクローン
git clone https://github.com/horatjp/example-ai-coding-agent-devcontainer.git
cd example-ai-coding-agent-devcontainer
# VS Codeで開く
code .コマンドパレット(Ctrl/Cmd+Shift+P)から「Dev Containers: Reopen in Container」を実行
必要要件: Docker / Node.js
# CLIインストール
npm install -g @devcontainers/cli
# リポジトリをクローン
git clone https://github.com/horatjp/example-ai-coding-agent-devcontainer.git
cd example-ai-coding-agent-devcontainer
# コンテナ起動
devcontainer up --workspace-folder .
# コンテナ内でシェル実行
devcontainer exec --workspace-folder . zshMIT