Skip to content

Diagnoses devcontainer and Docker dev environment problems to produce fast, reproducible setups across VS Code and Codespaces.

CCM score
49 of 100
skills.sh installs
331
GitHub stars
195
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers six diagnostic states: no strategy, slow startup, config errors, environment parity, multi-service setups, and Dockerfile issues
  • Includes analyze-devcontainer.ts, validate-dockerfile.ts, and scan-image.ts (a Trivy wrapper) plus templates for simple, Dockerfile, and Compose setups
  • Moves stable installs into cached Dockerfile layers and flags heavy postCreateCommand use, with a 2-minute startup target
  • Designed for teams setting up or fixing devcontainers, and requires Docker Desktop or a compatible container runtime

Install

$ npx -y skills add jwynia/agent-skills --skill devcontainer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Devcontainer Diagnostic

Diagnose devcontainer and Docker development environment problems. Help create reproducible, fast-starting development environments that work consistently across VS Code, GitHub Codespaces, and team members.

When to Use This Skill

Use this skill when:

  • Setting up a new devcontainer
  • Container startup is too slow
  • Configuration errors or conflicts
  • Different behavior in VS Code vs Codespaces
  • Multi-service development environment needed

Do NOT use this skill when:

  • Writing application code
  • Deploying to production
  • Configuring CI/CD pipelines

Core Principle

Development containers should provide instant productivity. Every configuration choice affects startup time, reproducibility, and team onboarding. Make these trade-offs explicit.

Diagnostic States

DV0: No Devcontainer Strategy

Symptoms: Manual setup, "check the README", works on one machine fails on others

Interventions:

  • Start with pre-built devcontainer base image
  • Use assets/devcontainer-simple.md template

DV1: Slow Container Startup

Symptoms: 5+ minute startup, heavy postCreateCommand, avoiding rebuilds

Details

Repository
github.com/jwynia/agent-skills
Categories
DevOps & Cloud, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the devcontainer skill do?

The devcontainer skill diagnoses devcontainer and Docker development environment problems, such as slow container startup, JSON configuration errors, and differences between VS Code and Codespaces. It also guides setting up a new devcontainer with templates for simple, Dockerfile-based, and multi-service Compose setups.

How do I install the devcontainer skill?

Run npx -y skills add jwynia/agent-skills --skill devcontainer -y in a project to install it. Once installed, the agent can help you set up a devcontainer, fix container startup, or configure a VS Code dev container or Codespaces environment.

What do I need to use the devcontainer skill?

The skill requires Docker Desktop or a compatible container runtime, and it works with VS Code and GitHub Codespaces. It includes scripts that run with Deno, such as analyze-devcontainer.ts and validate-dockerfile.ts, to check your configuration.

Where does the devcontainer skill stand in its category?

The devcontainer skill sits in the DevOps & Cloud category on Claude Marketplaces, alongside Azure skills such as azure-diagnostics, azure-prepare and azure-deploy. Unlike those, it focuses on local and Codespaces development containers rather than cloud deployment.

More from jwynia/agent-skills

All 118

Similar to Devcontainer

More DevOps & Cloud