Automate Docker builds and deployments with pre-flight test validation and VPS update instructions.

Install

mkdir -p .claude/skills/deploy-fpindej && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19069" && unzip -o skill.zip -d .claude/skills/deploy-fpindej && rm skill.zip

Installs to .claude/skills/deploy-fpindej

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Build and deploy the web UI to Docker Hub
41 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Verify the current branch is `main` before deployment
  • Check for uncommitted changes in the repository
  • Run tests and build the project to ensure they pass
  • Build and push Docker images to Docker Hub
  • Report the deployed version and provide VPS update commands

How it works

This skill automates the deployment of the web UI by verifying the branch and uncommitted changes, running tests, building and pushing Docker images, and then providing the command to update the VPS.

Inputs & outputs

You give it
User request to deploy the web UI
You get back
Docker images pushed to Docker Hub, deployed version, and VPS update command

When to use deploy

  • Deploying web UI to production
  • Running pre-deploy tests
  • Updating VPS images

About this skill

/deploy

Builds and pushes the Docker image, then provides the VPS update command.

Steps

  1. Verify on main branch (warn if not)

  2. Verify no uncommitted changes

  3. Verify tests pass: pnpm test && pnpm build

  4. Run the deploy script:

    bash scripts/deploy.sh
    

    This builds fpindej/netrock-web:{version} + :latest and pushes to Docker Hub.

  5. Report the deployed version and VPS command:

    cd /var/apps/netrock-cli && docker compose pull && docker compose up -d
    

Rules

  • Never deploy with failing tests
  • If there are generator-facing changes, version must be bumped first (use /bump-version)

When not to use it

  • When tests are failing
  • When there are uncommitted changes in the repository
  • When generator-facing changes require a version bump first

Limitations

  • Never deploy with failing tests
  • Must be on `main` branch to deploy
  • If there are generator-facing changes, version must be bumped first

How it compares

This workflow automates pre-deployment checks and Docker image management, providing a VPS update command, unlike a manual deployment that would require separate steps for verification, building, and pushing images.

Compared to similar skills

deploy side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
deploy (this skill)04moReviewIntermediate
deployment-pipeline-design62moReviewAdvanced
cloudflare-deploy35moReviewIntermediate
deployment-engineer43moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

deployment-pipeline-design

wshobson

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.

670

cloudflare-deploy

davila7

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.

342

deployment-engineer

sickn33

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.

418

devops

mrgoonie

Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.

216

ecs

itsmostafa

AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications, configuring task definitions, setting up services, managing clusters, or troubleshooting container issues.

215

replit-migration-deep-dive

jeremylongshore

Execute Replit major re-architecture and migration strategies with strangler fig pattern. Use when migrating to or from Replit, performing major version upgrades, or re-platforming existing integrations to Replit. Trigger with phrases like "migrate replit", "replit migration", "switch to replit", "replit replatform", "replit upgrade major".

15

Search skills

Search the agent skills registry