Skip to content
Development
Skill

/compose

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

From plugin
agentic-awesome-kits
932 skills
Install
$ npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill compose --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/compose

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

compose.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
Ships withagentic-awesome-kits

Reusable AI Skill Kits for coding agents (Claude Code and any other subagent/slash-command-compatible tool).

Get the whole plugin
Stats
9
Stars
4
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
2mo ago
Created

Repo: KhaiTrang1995/agentic-awesome-kits

Other skills on agentic-awesome-kits.