# Validate Docker Swarm Stack Validate the Swarm stack named in `$ARGUMENTS`. If `$ARGUMENTS` is empty, inspect the repository and validate all stack YAML files you can safely validate. Steps: 1. Identify the stack file and matching `.env.example` file. 2. Run `docker compose config` with example env values when possible. 3. Review for Swarm compatibility issues like `container_name`, local-only `depends_on` assumptions, and non-overlay networking. 4. Report required Docker secrets, networks, volumes, and deployment command. 5. Do not deploy or modify files unless the user asks.