devcontainer-setup

Generates devcontainer configurations with Claude Code and language-specific tooling for Python, Node, Rust, and Go projects.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/TECH-HY/SKILLS --skill devcontainer-setup-tech-hy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devcontainer-setup
Source: https://github.com/TECH-HY/SKILLS/tree/main/skills/devcontainer-setup
Command: npx skills add https://github.com/TECH-HY/SKILLS --skill devcontainer-setup-tech-hy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up a reproducible, sandboxed development container with the right language toolchains, editor extensions, and persistent configuration requires writing and maintaining Dockerfiles and devcontainer.json files by hand, which is error-prone and repetitive across projects. ## Core Features & Use Cases - Automatic Language Detection: Inspects pyproject.toml, package.json, Cargo.toml, and go.mod to detect Python, Node/TypeScript, Rust, and Go stacks, then merges the correct extensions, settings, and post-create commands. - Pre-configured Base Image: Ships a Dockerfile with Claude Code, Python 3.13 via uv, Node 22 via fnm, ast-grep, ripgrep, fzf, tmux, and network isolation tooling with NET_ADMIN capability. - Persistent Volumes and CLI Helper: Generates named volume mounts for shell history and Claude configuration, plus an install.sh script providing a devc command to start, rebuild, stop, and manage the container. - Use Case: A developer cloning a Python and TypeScript monorepo asks the agent to add devcontainer support; the skill detects both languages and writes a complete .devcontainer/ directory with uv sync and npm ci chained in postCreateCommand. ## Quick Start Ask the agent to set up a devcontainer for this project and it will detect the language stack and generate the .devcontainer directory with Dockerfile, devcontainer.json, and helper scripts.

Frequently Asked Questions about devcontainer-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a devcontainer for a Python project?

Run the skill against a project containing pyproject.toml and it generates a .devcontainer directory with a Dockerfile installing Python via uv, plus Ruff and Pylance extensions. The postCreateCommand runs uv sync to install dependencies on container creation.

How do I configure a devcontainer for multiple languages?

The skill detects all language manifests in the project and merges their configurations into one devcontainer.json. Python uses the Dockerfile with uv, while Node, Rust, and Go are added via devcontainer features, with setup commands chained using && in postCreateCommand.

Should I use devcontainer features or a custom Dockerfile?

Use features for standard tools that work out of the box, like Rust or Go toolchains. Use a Dockerfile when you need specific versions, custom configuration, or optimized layers, such as installing Python via uv for fast binary downloads instead of source compilation.

Does the devcontainer support both AMD64 and ARM64 architectures?

Yes, the Dockerfile detects the build architecture using dpkg --print-architecture and downloads the correct binaries for tools like fzf and git-delta. This supports both Intel/AMD and Apple Silicon machines.

When should I not use this devcontainer setup skill?

Do not use it when you already have a devcontainer configuration needing only small modifications, when asking general Docker questions, or when building production deployment containers, since the templates target development environments only.