xCloud Docker Deploy
Omskriver docker-compose for xCloud: ingen build:, ingen port 80/443, én eksponert port
Bestått
Hva den gjør
Konverterer a normal docker-compose.yml into one xCloud's Custom Docker runtime can actually deploy: strips build: directives in favour of pre-built GHCR images, removes bundled Caddy/Traefik/nginx-proxy services, and normalises everything to a single non-reserved host port behind an nginx-router. It also generates the GitHub Actions image-build workflow, an .env.example derived from the compose variables, and the step-by-step xCloud deploy instructions. Utløses on requests to deploy or fix a project for xCloud, or to make a compose file work on a git-push Docker host.
Testrapport
Matet it a deliberately hostile compose file – Caddy on 80/443, two build: services, Postgres and Redis published to the host – and rule-checked both results with a script: the no-skill baseline still carried 6 violations (kept Caddy, kept both build: directives, still bound 80 and 443) while the skill's output carried zero and collapsed everything to a single 3080:80 mapping behind an nginx-router, pluss a GHCR matrix workflow and an .env.example. The READMEs own install command fails from a clean HOME because it copies into ~/.claude/skills before that directory exists, so use the command listed here instead. The nginx snippet the skill tells you to emit writes proxy_set_header Host $host inside a compose configs.content block without doubling the $, which Compose will interpolate away to an empty value. The platform rules themselves – that xCloud never runs docker build and owns 80/443 – could not be confirmed against a live xCloud account, so the measured win is structural rather than a verified deploy.
Testet på: 2026-07-28 · Claude Code 2.x (agent harness)
Installer
git clone https://github.com/Asif2BD/xCloud-Docker-Deploy-Skill.git mkdir -p ~/.claude/skills cp -r xCloud-Docker-Deploy-Skill ~/.claude/skills/xcloud-docker-deploy
Kommandoer og eksempelprompter
/xcloud-docker-deployOmskriver docker-compose for xCloud: ingen build:, ingen port 80/443, én eksponert port
Skills utløses av vanlige forespørsler — ingen kommandoer å huske. Etter installasjonen aktiverer prompter som disse skillen (på engelsk):
Make this docker-compose.yml work on xCloud's custom Docker runtimeDeploy this Next.js app to xCloud, generate the Dockerfile and composexCloud says my container isn't reachable, my compose still binds port 80