deployment-patterns

Provide deployment patterns and production readiness guidance for containerized web applications.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill deployment-patterns-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-patterns
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/deployment-patterns
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill deployment-patterns-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces the risk and operational complexity of shipping web services to production by consolidating deployment strategies, containerization best practices, CI/CD examples, health checks, and rollback procedures into a single reference.

Core Features & Use Cases

  • Deployment strategies: guidance for rolling, blue/green, and canary releases and decision criteria for each.
  • Containerization & Docker: multi-stage Dockerfile patterns, non-root runtime, image size minimization, and healthcheck recommendations.
  • CI/CD & orchestration: example GitHub Actions pipelines, build/push workflows, and deployment steps to staging and production.
  • Reliability checklist: readiness/liveness/startup probes for Kubernetes, environment validation, monitoring alerts, and rollback playbooks.
  • Use Case: Prepare a Node.js, Go, or Python web application for production by creating reproducible images, a CI pipeline, and safe deployment strategy with rollback readiness.

Quick Start

Create a production-ready GitHub Actions pipeline and multi-stage Dockerfile for a Node.js web app including health checks, readiness and liveness probes, environment validation, and a documented rollback plan.

Frequently Asked Questions about deployment-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a production-ready GitHub Actions pipeline for a containerized web application?

Set up a production-ready GitHub Actions pipeline by defining build and push workflows for your Docker images, then adding staging and production deployment steps with health checks and rollback procedures.

What is the difference between rolling, blue-green, and canary Kubernetes deployment strategies?

Rolling deployments gradually replace old pods, blue-green switches traffic between two identical environments, and canary releases route a small percentage of traffic to the new version to validate before full rollout.

How do I write a multi-stage Dockerfile with a non-root runtime for production?

Write a multi-stage Dockerfile by separating the build environment from the final runtime image to minimize size, and configure the container to run as a non-root user for enhanced production security.

What Kubernetes probes do I need for production readiness?

Production readiness requires configuring Kubernetes startup, liveness, and readiness probes to manage container initialization, verify continuous application health, and control traffic routing to prevent premature requests.

Can I use this deployment guidance for a Node.js, Go, or Python web application?

Yes, the deployment patterns apply to Node.js, Go, and Python web applications, providing reproducible image creation, CI pipeline setup, and safe deployment strategies with rollback readiness.

What's the best way to implement a rollback plan for Kubernetes deployments?

Implement a rollback plan by documenting procedures to revert to previous stable images and configurations, paired with monitoring alerts and environment validation to detect deployment failures quickly.