Skip to main content
Glama

Generate Devcontainer Config

sdd_generate_devcontainer
Idempotent

Generate a devcontainer configuration file from your project's tech stack and DESIGN.md, enabling consistent development environments in VS Code Dev Containers or GitHub Codespaces.

Instructions

Generates .devcontainer/devcontainer.json from the detected tech stack and DESIGN.md. Writes the file to disk for local use with VS Code Dev Containers or GitHub Codespaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feature_numberNoFeature number (zero-padded, e.g. '001')001
spec_dirNoSpec directory path (relative to workspace root).specs
base_imageNoBase Docker image for the devcontainer. Auto-detected from tech stack if omitted.
featuresNoDevcontainer features to include (e.g., 'ghcr.io/devcontainers/features/node:1').
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description adds context beyond annotations: writes file to disk, uses specific sources, and is idempotent (consistent with annotation). No contradiction. Well-suited for an idempotent generation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences front-load the action and outcome. No redundant words; every clause adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a generation tool with no output schema: describes input, output file, and usage context. Could add details about overwrite behavior, but idempotence covers safety.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 4 parameters, but the description's schema field adds value by mentioning automatic inclusion of extensions and port forwarding, which goes beyond individual parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Generates .devcontainer/devcontainer.json' from specific sources (tech stack and DESIGN.md), and distinguishes it from sibling tools like sdd_generate_dockerfile by targeting devcontainer configs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied (when needing a devcontainer config), but no explicit when-not or alternatives are mentioned. Sibling tools like sdd_setup_codespaces exist but are not compared.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulasilvatech/specky'

If you have feedback or need assistance with the MCP directory API, please join our Discord server