deployment-patterns

Detail production deployment workflows, CI/CD pipelines, Docker containerization, and rollback strategies.

3|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/oabdelmaksoud/AGI-FARM-PLUGIN --skill deployment-patterns-oabdelmaksoud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-patterns
Source: https://github.com/oabdelmaksoud/AGI-FARM-PLUGIN/tree/main/ecc-resources/docs/zh-CN/skills/deployment-patterns
Command: npx skills add https://github.com/oabdelmaksoud/AGI-FARM-PLUGIN --skill deployment-patterns-oabdelmaksoud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on setting up robust deployment workflows, CI/CD pipelines, containerization with Docker, and essential production-readiness checks for web applications.

Core Features & Use Cases

  • Deployment Strategies: Explains Rolling, Blue-Green, and Canary deployments with pros and cons.
  • Docker Best Practices: Offers multi-stage Dockerfile examples for Node.js, Go, and Python, along with best practices.
  • CI/CD Pipelines: Provides a GitHub Actions example and outlines typical pipeline stages.
  • Health Checks & Environment Config: Details health check endpoints, Kubernetes probes, and Twelve-Factor App principles.
  • Rollback & Production Readiness: Includes rollback strategies and a detailed production readiness checklist.
  • Use Case: A development team needs to implement a new CI/CD pipeline for their microservice. They can use this Skill to understand different deployment strategies, create optimized Docker images, and set up automated testing and deployment steps.

Quick Start

Use the deployment-patterns skill to generate a multi-stage Dockerfile for a Node.js application.

Frequently Asked Questions about deployment-patterns

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

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

Rolling deployments gradually replace instances to minimize downtime, blue-green deployments switch traffic between two identical environments, and canary deployments route a small percentage of traffic to the new version to test stability before a full rollout.

How do I create a multi-stage Dockerfile for a Node.js, Go, or Python application?

You can create a multi-stage Dockerfile by using multiple FROM instructions to separate the build environment from the final runtime image, which reduces image size and improves security by excluding unnecessary build dependencies from production.

What are the typical stages in a GitHub Actions CI/CD pipeline for web applications?

Typical GitHub Actions CI/CD pipeline stages include code checkout, dependency installation, running automated tests, building the Docker container image, and deploying the application to the target production or staging environment.

How do Kubernetes probes and health checks work for production readiness?

Kubernetes probes and health checks monitor application availability by routing traffic only to healthy pods, automatically restarting failed containers, and ensuring deployments only proceed when new instances are fully ready to accept requests.

What should be included in a production readiness checklist for containerized web apps?

A production readiness checklist should include health check endpoints, rollback strategies, Twelve-Factor App configuration for environment variables, optimized Docker images, and automated CI/CD pipeline stages for testing and deployment.

When should I use canary deployments instead of rolling updates?

Canary deployments are best when you need to validate stability with real user traffic on a small scale before a full release, whereas rolling updates are better for routine deployments where you confidently replace instances gradually to minimize downtime.