From kivi-claude-skills
Deployment workflow optimized for China-hosted servers with Docker/GHCR/SSH. Handles common failure modes like Docker Hub timeouts and GHCR auth issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kivi-claude-skills:deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Deployment workflow optimized for China-hosted servers with Docker/GHCR/SSH. Handles common failure modes like Docker Hub timeouts and GHCR auth issues.
Deployment workflow optimized for China-hosted servers with Docker/GHCR/SSH. Handles common failure modes like Docker Hub timeouts and GHCR auth issues.
/deploy <project> — Execute deployment for a project/deploy status — Check all service statuses/deploy debug <project> — Diagnose deployment failure/Volumes/BOX/WorkSpace/side_project/deploy-tools//deploy <project> Workflow.github/workflows/deploy.ymlgit status, compare with remote)gh workflow run deploy.yml or push to trigger branchgh run list --workflow=deploy.yml --limit=3/deploy status Workflowfind /Volumes/BOX/WorkSpace/side_project/ -name "deploy.yml" -path "*/.github/*"
gh run list --workflow=deploy.yml --limit=1 --json status,conclusion,createdAt
/deploy debug <project> — China Server TroubleshootingFollow this order strictly. Do NOT skip steps.
Check GitHub Actions logs first:
gh run list --workflow=deploy.yml --limit=1
gh run view <run-id> --log-failed
GHCR auth failure (error: unauthorized, denied):
packages: write permission in workflow YAMLGITHUB_TOKEN or CR_PAT secret existsDocker Hub pull timeout (error: context deadline exceeded, TLS handshake timeout):
FROM node:20) or app imageSSH deployment timeout (error: ssh: connect, Connection timed out):
command_timeout: 5m in workflowContainer health check failure (deployed but not running):
docker logs <container> for app logsdocker compose ps for container status.env on server matches expected configImage tag mismatch (deployed but wrong version):
.env IMAGE_TAG on server vs latest GHCR tagdocker compose pull was executed in deploy scriptnpx claudepluginhub phoxiao/kivi-claude-skills --plugin kivi-claude-skillsProvides deployment strategies (rolling, blue-green, canary), multi-stage Dockerfiles for Node.js, health checks, rollback plans, and production checklists for web apps.
Guides reliable deployments in environments without CI/CD platforms using shell scripts, blue-green switching, smoke tests, and rollback.
Generates complete deployment configurations—Dockerfile, manifests, environment config, rollback procedures—for Node.js, Python, Go, Rust, Java services. Useful for deployment setup, strategy, or rollback queries.