update-devcontainer-config

Read, plan, and apply validated changes to devcontainer.json configurations.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/notwillk/skills --skill update-devcontainer-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-devcontainer-config
Source: https://github.com/notwillk/skills/tree/main/skills/update-devcontainer-config
Command: npx skills add https://github.com/notwillk/skills --skill update-devcontainer-config

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Safely modify and extend existing devcontainer configurations, reading your current setup, suggesting appropriate additions, and validating changes before applying them.

Core Features & Use Cases

  • Safely update devcontainer.json to add features, forward ports, set environment variables, update base images, or modify lifecycle scripts
  • Validate changes and preserve existing configuration while guiding the user through a safe workflow
  • Use cases include adding Redis, configuring ports for new services, or upgrading the devcontainer image without breaking current setups

Quick Start

Read your current devcontainer.json, plan changes, then apply only safe updates after confirmation.

Frequently Asked Questions about update-devcontainer-config

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

FAQPage Schema
How do I safely add features to an existing devcontainer.json without breaking my current setup?

To safely update a devcontainer.json, the configuration is read, changes are planned, and updates are applied only after user confirmation. This process preserves existing settings and enforces JSON validity while adding features like Redis or port forwarding.

What is the best way to update devcontainer base images and lifecycle scripts?

The best way to update devcontainer base images and lifecycle scripts is through an automated workflow that reads your current setup and validates changes before applying them. This ensures proper feature ID formats and prevents breaking existing configurations.

Can I configure port forwarding and environment variables in devcontainer.json safely?

Yes, you can configure port forwarding and environment variables in devcontainer.json safely. The modification process validates changes and preserves existing configuration while guiding you through a safe workflow to apply updates.

Does the devcontainer configuration update process validate JSON syntax and feature ID formats?

Yes, the devcontainer configuration update process enforces JSON validity and proper feature ID formats. It reads your current setup, plans changes, and validates them before applying any modifications to ensure configuration integrity.

When should I use an automated workflow for modifying devcontainer configurations?

You should use an automated workflow for modifying devcontainer configurations when you need to add features, forward ports, set environment variables, update base images, or modify lifecycle scripts without risking breaking your current setup.

What are the limitations of manually editing a devcontainer.json file?

Manually editing a devcontainer.json file risks breaking existing configurations due to invalid JSON or improper feature ID formats. An automated approach reads, plans, and validates changes before applying them to prevent these issues.