React Email Template Development
Build React-based email templates, preview them locally and review components, styling and localization.
This skill provides rules for creating, reviewing, and debugging Docker Compose configurations. Use it when the main artifact is compose.yaml or compose.override.yaml and the task is about service wiring rather than image-build internals.
Activate this skill when:
compose.yaml for a projectcompose.override.yamlDo not use this skill when:
DockerfileUse compose.yaml as the canonical filename. Do not use docker-compose.yml or docker-compose.yaml — those are legacy names.
web, db, cache, worker.latest or omit the tag.restart: unless-stopped for long-running infrastructure services and non-development deployments.container_name only when external tools need a predictable name. Otherwise, let Compose generate names.depends_on with condition: service_healthy for services that must be ready before dependents start.depends_on with a health condition must have a healthcheck defined.depends_on without conditions — it only guarantees container start, not readiness.healthcheck to database services (Postgres, MySQL, Redis, MongoDB).pg_isready, redis-cli ping, mysqladmin ping).interval, timeout, retries, and start_period values. Start with: interval: 5s, timeout: 3s, retries: 3, start_period: 10s.Distroless, scratch-based, and hardened images contain no shell, curl, or wget. Do not bake tools into these images — that defeats their purpose. Instead, use a healthcheck sidecar that shares the application's network namespace:
services:
api:
build:
context: .
target: runtime # distroless / hardened image
ports:
- "8080:8080"
# No healthcheck here — the image has no tools to run one
api-health:
image: curlimages/curl:8.22.0
network_mode: "service:api" # shares api's localhost
entrypoint: ["sleep", "infinity"] # keep sidecar alive for healthcheck
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 45s
deploy:
resources:
limits:
memory: 32M
Key points:
- The sidecar must stay alive with entrypoint: ["sleep", "infinity"] so Compose can execute the healthcheck inside it.
- network_mode: "service:api" makes localhost inside the sidecar resolve to the api container's loopback — no extra networking needed.
- Keep the sidecar lightweight with a resource limit (32MB is sufficient for curl).
- Services that depend on api being ready should reference the sidecar, not the api directly:
worker:
depends_on:
api-health:
condition: service_healthy
volumes: key.networks: key to define all custom networks.environment: for non-sensitive values that are few in number.env_file: pointing to a .env file for longer lists of variables.compose.yaml. Use env_file: or Docker secrets.environment: block for local development, use variable substitution with fallbacks: ${DB_PASSWORD:-postgres}. Never write bare plaintext values for password fields..env to .gitignore.compose.override.yaml for development-only settings. Compose loads it automatically alongside compose.yaml.develop.watch for file-syncing and auto-rebuild in development when supported.compose.yaml and override only what changes for development.develop.watch over manual bind mounts for development workflows.action: sync for files that should be copied into the container on change (source code).action: rebuild for files that require a full image rebuild (dependency files like package.json, requirements.txt).action: sync+restart for configuration files that need a process restart.Some Compose commands delete data irreversibly. Before running any of the following, state exactly which data will be deleted and get explicit confirmation from the user — do not run them as a side effect of debugging, restarting, or "cleaning up" a stack:
docker compose down -v / docker compose down --volumes — deletes named volumes, including database data.docker volume rm / docker volume prune run against a Compose project's volumes — deletes volumes directly. For the standalone case (no Compose project in play), see docker-destructive-guardrails instead. A volume referenced via external: true isn't managed by the Compose project either (down -v won't touch it) — treat it as the standalone case too: run docker volume rm without -f first, and get explicit confirmation before deleting it.docker compose rm -v — deletes anonymous volumes attached to removed containers.If the goal is only to restart services or reclaim containers/networks, use docker compose down (no -v) or docker compose restart instead — these leave named volumes intact.
docker-project-foundations..dockerignore, use docker-build-strategies.docker system prune, docker rm -f, image/network/builder pruning, standalone volume deletion) and a cross-product index of destructive-command guardrails, use docker-destructive-guardrails.references/service-dependencies.md — Detailed guidance on depends_on, health check patterns for common databases, and startup ordering strategies.references/volumes-and-networks.md — Patterns for volume mounts, named volumes, bind mounts, and network configuration.assets/compose-web-app.yaml — Complete multi-service web app (app + Postgres + Redis) with health checks, dependencies, and named volumes.assets/compose-dev-override.yaml — Development override showing bind mounts, debug ports, and Compose Watch configuration.assets/bad-vs-good.md — Before/after comparisons of common Compose mistakes and their fixes.scripts/verify-compose.sh — Validates the Compose project in the current directory with docker compose config --quiet, without printing resolved configuration. Run it from the project root (the directory that contains compose.yaml), with the script path resolved under this skill's directory:
bash
bash "<skill-dir>/scripts/verify-compose.sh" [--help]
Replace <skill-dir> with the absolute path of the folder that contains this SKILL.md; the scripts/ path is relative to that folder, not to the project. Do not change into the skill directory first: the script validates whatever Compose project is in the current directory. If the skill directory cannot be resolved, run docker compose config --quiet directly. Exit status is 0 when the Compose configuration is valid or help is requested, the non-zero status from docker compose config --quiet when validation fails, and 2 for invalid arguments. Plain docker compose config can expose interpolated and env_file credentials in tool output or logs; use quiet validation by default. Compose warnings and errors are still emitted and may contain sensitive details.checks/verification.md — Detailed verification runbook for manual review.Source: Docker · Apache-2.0 · SHA-256 shown alongside the download.
License file included. A license and checksum are not a security certification. Review package instructions and scripts before running them.
docker-compose-patterns/LICENSE.upstream.txt11343 bytesdocker-compose-patterns/SKILL.md9739 bytesdocker-compose-patterns/SOURCE.txt371 bytesdocker-compose-patterns/skill.yaml848 bytesSource and packaging checks recorded on 2026-10-03. These notes are not safety certification or measured task performance.
A compatible Docker Compose installation and application-specific configuration, image sources and reviewed environment variables. Bash is needed for the optional helper.
Apache-2.0 skill material; separate tooling, hosting, registries, dependencies and model access may have costs. Full skill/agent runtime evaluation has not been performed. The web-app template contains a placeholder database-password fallback and publishes a host port. Replace credentials, restrict exposure and review persistence/authentication before deployment. config --quiet validates configuration; it does not start services, test health or prove security. Errors and warnings may expose configuration details; never publish live credential diagnostics.
Upstream commit: 3e1cbd179989c2c193f3e4e6553a655907c2003b
Runtime status: not tested by this catalog. Configure your client and test the skill in your own environment.
Records are supplied by the site administrator and bound to a specific package. They are not third-party safety certification. This page does not execute skills.
No published scenario records yet. Resource availability and download counts do not imply measured task performance.
Be the first to share your experience.
Sign in to leave a review →Build React-based email templates, preview them locally and review components, styling and localization.
Inspect documented Resend CLI operations for email, domains, templates and account administration.
Plan transactional email, templates, delivery events and account operations with Resend SDK references.
1 current outcome record · Read scope
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model …