본문으로 건너뛰기
cccskills
무료GitHub에 공개

devcontainers

Dev Containers: reproducible dev environments in .devcontainer/ for VS Code, Codespaces and CI, plus an isolated container for running coding agents. Set up, add services, or harden for agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane스타 3(GitHub 3 + cccskills 0)
연동 도구Docker

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Dev Containers

A .devcontainer/ folder gives everyone the same toolchain in one command: VS Code "Reopen in Container", GitHub Codespaces, or devcontainer up in CI. It is also the practical way to isolate a coding agent on Windows, where Claude Code's sandbox does not run natively.

Phase 1: Scope

ModeDoes
setupA single-container devcontainer.json for the project's stack
composeThe app container plus its services (database, cache) through Docker Compose
agentA container for running Claude Code isolated from the host

Detect the stack and versions from the lockfiles, .nvmrc, go.mod, .tool-versions or global.json before proposing anything.

Phase 2: devcontainer.json

{
  "name": "app",
  "image": "mcr.microsoft.com/devcontainers/typescript-node:<version>",
  "features": {
    "ghcr.io/devcontainers/features/github-cli:1": {}
  },
  "forwardPorts": [3000],
  "postCreateCommand": "npm ci",
  "remoteUser": "node",
  "customizations": {
    "vscode": { "extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] }
  }
}
KeyRule
image / buildA mcr.microsoft.com/devcontainers/* image pinned to a version tag; build.dockerfile only when features cannot do it
featuresAdd tools (CLI, language runtimes) as features instead of apt lines; pin the major (:1)
postCreateCommandInstall from the lockfile (npm ci, go mod download), never npm install
remoteUserA non-root user
remoteEnv / containerEnvSecrets come from the host with ${localEnv:VAR}; never write them into the file, which is committed
forwardPortsOnly the ports the app serves

Versions match production: the same runtime major as the Dockerfile and CI.

Phase 3: Services (compose mode)

Point devcontainer.json at a compose file and keep the database in its own service:

{
  "dockerComposeFile": ["../docker-compose.yml", "docker-compose.devcontainer.yml"],
  "service": "app",
  "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
  "shutdownAction": "stopCompose"
}

The override file adds only what development needs (the workspace mount, command: sleep infinity); the base docker-compose.yml stays usable without Dev Containers. Healthchecks and depends_on: condition: service_healthy as in /docker-setup.

Phase 4: Coding agents (agent mode)

Anthropic publishes a reference container for Claude Code (.devcontainer/ in the anthropics/claude-code repo; docs page "Development containers"). It runs Claude Code as a non-root user and adds init-firewall.sh, which denies outbound traffic except an allowlist (npm registry, Anthropic API, GitHub, VS Code marketplace). It needs runArgs: ["--cap-add=NET_ADMIN", "--cap-add=NET_RAW"] and runs the script from postStartCommand.

  • Start from that reference instead of writing a firewall; add only the domains the project needs (your package registry, your API).
  • Keep Claude Code's config in a named volume (target=/home/node/.claude), not a host mount.
  • Never mount host secrets: ~/.ssh, ~/.aws, cloud credential files, the host's .env.
  • The docs allow --dangerously-skip-permissions inside it, with a warning to repeat to the user: the workspace is bind-mounted, so Claude can still change any project file on the host, and a malicious project can exfiltrate anything inside the container, including the Claude Code credentials, to any allowed domain. Keep git as the safety net (commit before, review the diff after), and on shared machines block the flag with permissions.disableBypassPermissionsMode: "disable" in managed settings (/coding-agent-guardrails).

Phase 5: Verify

Run npx @devcontainers/cli up --workspace-folder . and then npx @devcontainers/cli exec --workspace-folder . <test command>. The same two commands run the container in CI.

  • READY: the container builds and the project's tests pass inside it.
  • BLOCKED: it does not build or the tests fail inside it; report the failing step and its output. Docker not installed on the host also counts, with the install link.

Protocol

  • Show the files before writing them and ask "May I write these files?".
  • Prefer the official images and features over custom Dockerfiles.
  • Nix or Devbox are alternatives when the team already uses them; do not introduce them just for this.

Next steps

  • /docker-setup for the production images.
  • /ci-cd-setup to run CI in the same container.
  • /coding-agent-guardrails for the other layers around an agent.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SebastianLuser/claude-code-arcane32026년 10월 27일 업데이트

SebastianLuser의 스킬 모두 보기

이 스킬의 문제 신고