devcontainer-setup

Generate .devcontainer files with language detection and post-creation setup.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill devcontainer-setup-ayehiaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devcontainer-setup
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/devcontainer-setup
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill devcontainer-setup-ayehiaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of setting up a consistent, sandboxed development environment quickly, without users having to manually craft Docker, language tooling, and editor configuration from scratch.

Core Features & Use Cases

  • Isolated devcontainer provisioning: Generates .devcontainer/ configuration that supports Claude Code in a sandboxed environment with persistent volumes.
  • Automatic language stack detection: Detects Python, Node/TypeScript, Rust, and Go from project files and applies appropriate tooling and VS Code extensions.
  • Deterministic onboarding & setup: Uses a postCreateCommand and a container-side post_install.py strategy to configure Claude Code behavior, tmux, ownership fixes, and git settings.

What problem does it solve?

You’re adding devcontainer support to a repo (or onboarding new contributors) and want a repeatable setup that works across stacks while keeping the development environment constrained.

Quick Start

Ask Claude: “Set up a devcontainer for this project in .devcontainer/ with Claude Code tooling and persistent volumes, auto-detecting the language stack from my repo.”

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 Claude Code with persistent volumes?

Setting up a devcontainer for Claude Code involves generating `.devcontainer/` files including a Dockerfile and devcontainer.json, configuring persistent volumes, and running post-creation setup commands to establish an isolated, reproducible sandbox environment.

What is automatic language stack detection for devcontainers?

Automatic language stack detection for devcontainers reads standard project manifest files to identify Python, Node/TypeScript, Rust, and Go, automatically applying the appropriate language tooling and VS Code extensions to the generated configuration.

Can I use devcontainer sandboxing for repositories with multiple programming languages?

Yes, devcontainer sandboxing supports multi-language repositories. The setup detects Python, Node/TypeScript, Rust, and Go from standard manifest files, applying the appropriate tooling and VS Code extensions for each detected stack.

Does devcontainer configuration handle post-install setup for tmux and git settings?

Yes, devcontainer configuration handles post-install setup by executing a `postCreateCommand` and a container-side `post_install.py` script to automatically configure Claude Code behavior, tmux, ownership fixes, and git settings.

What's the best way to create a reproducible development environment for new contributors?

The best way to create a reproducible development environment for new contributors is generating deterministic `.devcontainer/` configuration that auto-detects the language stack, provisions persistent volumes, and configures tooling via a post-install script.