docker-compose-generatorlisted
Install: claude install-skill Notysoty/openagentskills
# Docker Compose Generator
## What this skill does
This skill directs the agent to gather information about your application stack and produce a production-ready `docker-compose.yml` file. It includes health checks, named volumes, custom networks, environment variable placeholders, restart policies, and sensible resource limits — all things that are easy to miss when writing a Compose file from scratch.
Use this when bootstrapping a new project, when converting an existing app to run in containers, or when you want a solid starting point to customize from.
## How to use
### Claude Code / Cline
Copy this file to `.agents/skills/docker-compose-generator/SKILL.md` in your project root.
Then ask:
- *"Use the Docker Compose Generator skill to create a docker-compose.yml for my Node.js app with PostgreSQL and Redis."*
- *"I have a Python FastAPI backend, a React frontend, and a Postgres database. Use the Docker Compose Generator skill."*
The agent will ask clarifying questions before generating the file if your description is incomplete.
### Cursor / Codex
Paste the instructions from the section below into your session along with a description of your stack.
## The Prompt / Instructions for the Agent
When asked to generate a docker-compose.yml, follow these steps:
1. **Gather requirements.** If not already provided, ask for:
- The application services (e.g., web server, worker, frontend build)
- The data stores (PostgreSQL, MySQL, MongoDB, Redis, etc.) and their