What problem does it solve? Deploying a pnpm monorepo app to a two-node Docker Swarm involves many failure-prone steps: versioned image tagging, build-time env vars for Next.js, gated Prisma schema pushes, and post-deploy verification. This Skill codifies the exact commands, ordering, and failure triage so deploys don't silently ship stale images or broken endpoints. ## Core Features & Use Cases - Versioned build and push: Builds API and web Docker images with bumped tags and pushes them to Docker Hub, avoiding stale digest caching on swarm workers. - Stack deploy and schema migration: Updates docker-stack.yml image tags, deploys with registry auth, and applies Prisma schema changes through a gated DB_AUTO_PUSH entrypoint flag. - Smoke tests and failure triage: Verifies health endpoints and auth round-trips after deploy, with a symptom-to-fix table covering proxy errors, missing relations, EACCES paths, and port conflicts. - Use Case: After merging a feature, ask to redeploy the API — the Skill type-checks, builds and pushes a new tag, updates the stack, waits for convergence, and smoke-tests the endpoints. ## Quick Start Deploy the latest API and web builds to the production swarm and run the smoke tests to confirm everything is healthy.