Skip to content
Back to skills

Compose

ASecurity

Generate docker-compose.yml — multi-service, network, volumes, healthcheck.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentssqlangulardockerapifrontendbackendfullstack

Works with

  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill compose --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compose?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compose
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khaitrang1995-compose/badge)](https://www.skillsdirectory.com/skills/khaitrang1995-compose)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compose
description: Generate docker-compose.yml — multi-service, network, volumes, healthcheck.
user-invocable: true
argument-hint: "<stack description> [--with-db] [--with-redis] [--with-elk]"
---

# /compose — Generate Docker Compose

## Input examples
```
/compose .NET API + Angular + SQL Server
/compose fullstack --with-db --with-redis
/compose monitoring stack --with-elk
```

## Mandatory rules
- Compose file version 3.8+
- Every service has a **healthcheck**
- **depends_on** with condition `service_healthy`
- Segmented networks: `frontend`, `backend`, `monitoring`
- Named volumes for persistent data (db, logs)
- Environment variables via `.env` file, NEVER hardcoded
- **restart: unless-stopped** for production
- Only expose the ports actually needed

## Output
```
docker-compose.yml
docker-compose.dev.yml    (dev override)
.env.example
```

## References
- @.claude/rules/docker-conventions.md

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.