devcontainer

Manage Dev Containers with Docker and devcontainer.json for consistent environments.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/fwdarth/agent-teams-lite-domainaware --skill devcontainer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devcontainer
Source: https://github.com/fwdarth/agent-teams-lite-domainaware/tree/main/.opencode/skills/devcontainer
Command: npx skills add https://github.com/fwdarth/agent-teams-lite-domainaware --skill devcontainer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill streamlines the setup, maintenance, and troubleshooting of development container environments, ensuring consistency and eliminating "works on my machine" issues.

Core Features & Use Cases

  • Environment Consistency: Define and manage development environments using Docker and Dev Containers.
  • Onboarding: Simplify new developer onboarding by providing a pre-configured, isolated environment.
  • Integration: Seamlessly integrate with opencode agents for running commands within the container.
  • Troubleshooting: Provides a structured approach to diagnose and fix common Dev Container issues.

Quick Start

Use the devcontainer skill to build and start the devcontainer for the current project.

Frequently Asked Questions about devcontainer

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

FAQPage Schema
How do I set up a Docker dev container for my project?

To set up a Docker dev container, use the devcontainer.json specification to define your environment, then build and start the container to ensure consistent development dependencies.

What is the best way to fix "works on my machine" issues with development environments?

The best way to resolve "works on my machine" issues is to containerize your development environment, ensuring that all dependencies and configurations are identical across machines.

Does VS Code devcontainer work with Docker Compose?

Yes, VS Code devcontainer supports Docker Compose, allowing you to define and manage multi-container development environments for consistent local setups.

How do I troubleshoot a dev container that is not building correctly?

To troubleshoot a dev container that is not building, use a structured approach to diagnose and fix common Docker and devcontainer.json configuration issues.

Can I run commands inside a dev container using an agent?

Yes, you can run commands inside a dev container by integrating with opencode agents, which execute in-container commands via `docker exec`.

What is a devcontainer used for?

A devcontainer is used to create pre-configured, isolated development environments, simplifying new developer onboarding and ensuring consistent project setups.