ci-cd-advanced

Design CI/CD pipelines with canary, blue-green deployments, and automatic rollback.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill ci-cd-advanced-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-advanced
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/02-devops-infra/ci-cd-advanced
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill ci-cd-advanced-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deploying new application versions without downtime or user impact requires careful orchestration of deployment strategies, health checks, and rollback logic that most teams implement ad hoc. ## Core Features & Use Cases - Deployment Strategy Design: Generate blue-green, canary, and rolling deployment configurations for Kubernetes, including Argo Rollouts and Flagger progressive delivery setups. - Pipeline Automation: Build multi-stage GitHub Actions and GitLab CI pipelines with build, test, security scan, deploy, and verify stages across dev, staging, and production environments. - Safety Mechanisms: Implement smoke tests, metric-based analysis templates, and automatic rollback triggered by error rate or latency thresholds. - Use Case: A team deploying 20 times per day needs a canary pipeline that shifts 10% of traffic to a new version, monitors Prometheus error rates for 10 minutes, and automatically rolls back if failures exceed 5%. ## Quick Start Design a canary deployment pipeline for my Kubernetes application with automatic rollback when the error rate exceeds 5%.

Frequently Asked Questions about ci-cd-advanced

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

FAQPage Schema
How do I set up a canary deployment in Kubernetes?

Use Argo Rollouts to define canary steps that shift traffic gradually, such as 10% then 50% then 100%, with pauses between steps. Attach an AnalysisTemplate that queries Prometheus for error rates and automatically rolls back if thresholds are breached.

What is the difference between blue-green and canary deployment?

Blue-green runs two full environments and switches all traffic instantly after smoke tests pass, keeping the old version for immediate rollback. Canary shifts traffic gradually to the new version, limiting blast radius to a small user percentage while monitoring metrics.

How do I implement automatic rollback in GitLab CI?

After deploying, run a smoke test against the health endpoint and query Prometheus for error rates over several minutes. If checks fail, execute kubectl rollout undo on the deployment to restore the previous version automatically.

Does Argo Rollouts work with Istio traffic routing?

Yes, Argo Rollouts supports Istio through the trafficRouting configuration that references a VirtualService. It adjusts traffic weights between stable and canary versions as rollout steps progress.

When should I use feature flags instead of canary deployments?

Feature flags decouple code deployment from feature release, letting you enable functionality for specific users or percentages without redeploying. Use them when you need user-level targeting or want to ship code dark and enable it independently of infrastructure rollouts.

What DORA metrics should a CI/CD pipeline track?

Track deployment frequency, lead time for changes, change failure rate, and mean time to recovery. Instrument pipelines with Prometheus counters and histograms for deployment totals, durations, and statuses to compute these metrics.