Skill Detail

Devcontainer Specification Builder

Generates dev container specifications with feature composition and lifecycle hooks. Uses the Dev Container Specification API, OCI feature registry, and devcontainer CLI for container-based development environments.

Developer ToolsClaude AgentsMulti-Framework
Developer Tools Claude Agents Multi-Framework Security Reviewed
Tool match: docker โญ 5.4k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill devcontainer-specification-builder Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Author
Dev Containers
Last updated
Mar 24, 2026
Quick brief

The Devcontainer Specification Builder creates comprehensive .devcontainer/devcontainer.json configurations following the official Dev Container Specification. It composes development environments using OCI-compliant Dev Container Features from ghcr.io registries and custom feature repositories.

How it works

What this skill actually does

The agent generates complete container configurations with image selection, Dockerfile composition, and Docker Compose integration for multi-service development stacks. It configures lifecycle hooks including onCreateCommand, updateContentCommand, postCreateCommand, and postStartCommand for environment initialization sequences.

Advanced features include VS Code extension recommendation via customizations.vscode.extensions, port forwarding configuration with label and onAutoForward settings, and mount definitions for persistent volumes. The agent also supports Dev Container Templates for project-type presets, Feature dependency resolution with installsAfter ordering, and GitHub Codespaces optimization with hostRequirements for CPU, memory, and GPU specifications. Integrates with the devcontainer CLI for local build validation and prebuild image publishing.