sw-boilerplate-docker

Generate Docker infrastructure files from tech-stack.yaml.

3|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/chfle/lehnert-claude-skills --skill sw-boilerplate-docker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sw-boilerplate-docker
Source: https://github.com/chfle/lehnert-claude-skills/tree/main/skills/sw-boilerplate-docker
Command: npx skills add https://github.com/chfle/lehnert-claude-skills --skill sw-boilerplate-docker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generates Docker infrastructure files (docker-compose.yml, Dockerfiles, .dockerignore, and Traefik config) directly in the workspace root based on requirements/tech-stack.yaml.

Core Features & Use Cases

  • Generates a complete docker-compose.yml with services for databases, apps, and reverse proxy, aligned to the tech-stack.yaml.
  • Creates backend and frontend Dockerfiles when needed, along with .dockerignore and Traefik configuration.
  • Useful for rapid project bootstrap, standardizing environments across teams, and reproducible deployments.

Quick Start

Invoke the /sw-boilerplate-docker command to generate all Docker infrastructure files from tech-stack.yaml in the workspace root.

Frequently Asked Questions about sw-boilerplate-docker

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

FAQPage Schema
How do I generate a docker-compose.yml from a tech-stack.yaml file?

You can generate a docker-compose.yml from tech-stack.yaml by using an automated scaffolding tool that reads the stack configuration and outputs the complete Docker infrastructure files directly in your workspace root.

What is the best way to bootstrap Docker infrastructure with Traefik for a new project?

The best way to bootstrap Docker infrastructure with Traefik is to automate the generation of docker-compose.yml, Dockerfiles, and Traefik configuration from a centralized tech-stack.yaml file to ensure reproducible deployments.

Can I automatically create Dockerfiles and .dockerignore for backend and frontend services?

Yes, you can automatically create backend and frontend Dockerfiles along with a .dockerignore file by defining your application services in a tech-stack.yaml configuration.

Does this Docker scaffolding approach support custom networks and volumes in docker-compose?

Yes, this Docker scaffolding approach supports optional networks and volumes, allowing you to define and generate a complete docker-compose.yml environment that includes databases, apps, and a reverse proxy.

Why generate Docker configuration files from a YAML tech stack definition?

Generating Docker configuration files from a YAML tech stack definition standardizes environments across teams and enables rapid project bootstrap by ensuring your deployments are completely reproducible.