Agent skill · software engineering · affaan-m
deployment-patterns
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.
Why this skill is useful
Provides specific deployment strategies and multi-stage Dockerfile examples that enhance the AI's ability to implement CI/CD workflows effectively.
What it needs
Requires docker installed locally. About 6k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.
What this skill does
Deployment Patterns Production deployment workflows and CI/CD best practices. When to Activate Setting up CI/CD pipelines Dockerizing an application Planning deployment strategy (blue-green, canary, rolling) Implementing health checks and readiness probes Preparing for a production release Configuring environment-specific settings Deployment Strategies Rolling Deployment (Default) Replace instances gradually — old and new versions run simultaneously during rollout. Pros: Zero downtime, gradual rollout Cons: Two versions run simultaneously — requires backward-compatible changes Use when: Standard deployments, backward-compatible changes Blue-Green Deployment Run two identical environments. Switch traffic atomically. Pros: Instant rollback (switch back to blue), clean cutover Cons: Requires 2x infrastructure during deployment Use when: Critical services, zero-tolerance for issues Canary Deployment Route a small percentage of traffic to the new version first. Pros: Catches issues with real traffic before full rollout Cons: Requires traffic splitting infrastructure, monitoring Use when: High-traffic services, risky changes, feature flags Docker Multi-Stage Dockerfile (Node.js) Multi-Stage Dockerfile (Go) Multi-Stage Dockerfile (Python/Django) Docker Best Practices CI/CD Pipeline GitHub Actions (Standard Pipeline) Pipeline Stages Health Checks Health Check Endpoint Kubernetes Probes Environment Configuration Twelve-Factor App Pattern Configuration Validation Rollback Strategy Instant Rollback Rollback Checklist [ ] Previous image/artifact is available and tagged [ ] Database migrations are backward-compatible (no destructive changes) [ ] Feature flags can disable new features without deploy [ ] Monitoring alerts configured for error rate spikes [ ] Rollback tested in staging before production release Production Readiness Checklist Before any production deployment: Application [ ] All tests pass (unit, integration, E2E) [ ] No hardcoded secrets in code or config files [ ] …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills affaan-m/deployment-patterns--bc8992