ci-cd-pipeline

Design multi-stage CI/CD pipelines with quality gates, deployment strategies, and rollback procedures.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually shipping code is slow and error-prone, and ad-hoc GitHub Actions workflows often lack quality gates, safe deployment strategies, and tested rollback paths. This Skill produces production-grade pipeline designs covering testing, security scanning, artifact management, staged rollouts, and disaster recovery. ## Core Features & Use Cases - Multi-Stage Pipeline Design: Lint, unit tests, integration tests, security scans, and artifact builds with fail-fast ordering and coverage gates (≥80%). - Deployment Strategies: Concrete implementations of blue-green, canary, rolling, and feature-flag deployments for AWS ECS, Kubernetes, and Nginx. - Rollback & Monitoring: Automated rollback on error-rate spikes, manual rollback commands, smoke tests, and deployment metric thresholds. - Use Case: A team deploying a Node.js service to AWS ECS uses this Skill to generate a GitHub Actions workflow that runs tests and Trivy scans, builds a SHA-tagged Docker image to ECR, deploys to staging, then performs a canary rollout to production with automatic rollback if the error rate exceeds 5%. ## Quick Start Ask the AI to design a CI/CD pipeline for your application, specifying your tech stack, deployment targets, and testing requirements.

Frequently Asked Questions about ci-cd-pipeline

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

FAQPage Schema
How do I set up a CI/CD pipeline with GitHub Actions?

Define sequential jobs for lint, unit tests, integration tests, security scans, and Docker image builds, then add staging and production deploy jobs gated by branch and manual approval. Use GitHub Secrets for credentials and environments for per-stage configuration.

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

Canary deployment shifts traffic gradually (10% to 50% to 100%) while monitoring error rates, reducing risk but taking longer. Blue-green runs a full parallel environment and switches the load balancer instantly, giving fast rollback at double infrastructure cost.

How do I enforce test coverage in a CI pipeline?

Run tests with coverage reporting, then add a blocking step that parses the coverage summary and exits with a failure if line coverage falls below the threshold, such as 80%. This prevents merges and deployments of under-tested code.

How do I scan Docker images for vulnerabilities in CI?

Build the image in the pipeline, then run Trivy against the image reference with severity filters like CRITICAL and HIGH and a non-zero exit code. Combine this with npm audit for dependencies and TruffleHog for secret detection.

How do I roll back a failed production deployment on AWS ECS?

Update the ECS service to point at the previous task definition version, which is why images must be tagged with Git SHAs and the last 10 production versions retained. Automate this by monitoring the error rate post-deploy and triggering rollback when it exceeds a threshold like 5%.

When should I not auto-deploy to production?

Production deployments should always require a manual approval gate, with only staging auto-deploying on merge to main. Auto-deploy to production is inappropriate for user-facing or critical services where a canary or blue-green strategy with human sign-off is needed.