deployment-pipeline-design

Design multi-stage CI/CD pipelines with approval gates, canary rollouts, and automated rollback.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/truongnat/Restly --skill deployment-pipeline-design-truongnat
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deployment-pipeline-design
Source: https://github.com/truongnat/Restly/tree/main/.agents/skills/deployment-pipeline-design
Command: npx skills add https://github.com/truongnat/Restly --skill deployment-pipeline-design-truongnat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Designing production deployment pipelines involves coordinating build stages, security scans, environment promotion, approval gates, and rollback logic, and mistakes in any of these cause failed deploys, stalled canaries, or schema mismatches during rollback. ## Core Features & Use Cases - Pipeline Architecture: Stage definitions, job dependencies, caching strategy, and artifact promotion for GitHub Actions, GitLab CI, and Azure Pipelines. - Progressive Delivery: Canary, blue-green, and rolling deployment configurations with Argo Rollouts AnalysisTemplates and metric-based promotion gates. - Rollback & Migration Safety: Automated rollback triggers, expand/contract database migration patterns, and undo script conventions. - Use Case: A team migrating a service to Kubernetes needs a pipeline that builds once, scans with Trivy and Semgrep, deploys to staging, runs E2E tests, then promotes to production through a canary with automatic rollback on error-rate spikes. ## Quick Start Ask the assistant to design a CI/CD pipeline for your application, specifying your deployment target, environments, and rollout requirements.

Frequently Asked Questions about deployment-pipeline-design

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

FAQPage Schema
How do I design a CI/CD pipeline with approval gates?▼

Structure the pipeline as build, test, staging deploy, approval gate, then production deploy. In GitHub Actions, use environment protection rules with required reviewers; in GitLab CI, use manual or delayed jobs; in Azure Pipelines, use ManualValidation tasks.

Canary vs blue-green deployment: which should I use?▼

Canary suits high-traffic services needing metric-driven gradual rollout with tools like Argo Rollouts. Blue-green suits high-risk deployments or database migrations where instant switchover and rollback matter, at the cost of temporarily doubled infrastructure.

Why does my canary deployment never promote to 100 percent?▼

Argo Rollouts stalls when the AnalysisTemplate query returns no data, leaving the analysis inconclusive. Set inconclusiveLimit so the rollout fails fast instead of hanging, and verify the Prometheus metric names still exist.

How do I roll back database migrations safely during deployment?▼

Use the expand/contract pattern: add nullable columns in one release, backfill in the next, and drop old columns only after old code is retired. Keep versioned undo scripts alongside forward migrations and avoid destructive changes within a single cycle.

Why does my pipeline health check pass but production is broken?▼

The pipeline is hitting a shallow endpoint that returns 200 even when dependencies are down. Use a deep readiness endpoint that verifies database, cache, and queue connections, and gate promotion on that check.