deployment-pipeline-design

Designs multi-stage CI/CD pipelines with approval gates and deployment strategies.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/DucCuong159/Realtime-chatapp --skill deployment-pipeline-design-duccuong159
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-pipeline-design
Source: https://github.com/DucCuong159/Realtime-chatapp/tree/main/.agent/skills/deployment-pipeline-design
Command: npx skills add https://github.com/DucCuong159/Realtime-chatapp --skill deployment-pipeline-design-duccuong159

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Teams shipping software need structured CI/CD pipelines that balance release speed with safety, but designing stage ordering, approval gates, and rollback mechanisms from scratch is error-prone and inconsistent across projects. ## Core Features & Use Cases - Pipeline Stage Architecture: Defines a standard flow from build and test through staging, approval, production deploy, verification, and rollback. - Approval Gate Patterns: Provides manual, time-based, and multi-approver gate configurations for GitHub Actions, GitLab CI, and Azure Pipelines. - Deployment Strategies: Covers rolling, blue-green, canary, and feature-flag releases with Kubernetes and Argo Rollouts examples. - Use Case: A platform engineer needs to add a production approval gate and canary rollout to an existing GitHub Actions workflow; this Skill supplies the stage structure, YAML patterns, and automated rollback logic. ## Quick Start Ask the assistant to design a production CI/CD pipeline with a staging environment, manual approval gate, and canary deployment using GitHub Actions.

Frequently Asked Questions about deployment-pipeline-design

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

FAQPage Schema
How do I add a manual approval gate to a GitHub Actions deployment?

Configure the production job with an environment block naming the production environment, then require reviewers in the repository's environment protection rules. GitHub pauses the workflow until an authorized reviewer approves the deployment.

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

Blue-green runs two full environments and switches traffic instantly, doubling infrastructure cost temporarily. Canary shifts traffic gradually (for example 10%, 25%, 50%, 100%) using tools like Argo Rollouts, reducing blast radius but requiring progressive traffic control.

How do I automatically roll back a failed Kubernetes deployment?

Run a health check step after deployment and, on failure, execute kubectl rollout undo for the deployment. You can also roll back to a specific revision using kubectl rollout undo with the --to-revision flag after listing history.

When should I use feature flags instead of canary deployments?

Use feature flags when you want to deploy code without releasing it, run A/B tests, or toggle functionality per user without infrastructure changes. Canary deployments suit validating whole releases under real traffic with gradual exposure.

What metrics should a CI/CD pipeline track?

Track deployment frequency, lead time from commit to production, change failure rate, mean time to recovery, pipeline success rate, and average pipeline duration. These DORA-style metrics reveal both delivery speed and release stability.