Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wshobson avatar

Deployment Pipeline Design

  • 10.9k installs
  • 38.3k repo stars
  • Updated July 22, 2026
  • wshobson/agents

Architectural and operational patterns for multi-stage CI/CD pipelines including stage sequencing, approval workflows, deployment strategies, health checks, and rollback automation.

About

This skill teaches architects and platform engineers how to design robust, secure deployment pipelines that balance speed with safety. It covers stage organization, approval gates, progressive delivery strategies (canary, blue-green, rolling), health check configuration, and automated rollback triggers. Developers use it when setting up multi-environment promotion workflows, implementing zero-downtime deployments, debugging failed gates, or reducing mean time to recovery. Key workflows include defining pipeline stages with job dependencies, configuring metric-based promotion gates, establishing deep readiness probes, and versioning migration rollback scripts for backward compatibility.

  • Design multi-stage pipelines with approval gates between environments and mandatory security scanning
  • Implement progressive delivery with canary weights, blue-green switchover, or rolling deployment parameters
  • Configure deep health checks that verify actual dependencies, not shallow ping endpoints
  • Automate rollback on metric degradation using Prometheus queries and analysis templates
  • Make database migrations backward-compatible and version undo scripts alongside forward migrations

Deployment Pipeline Design by the numbers

  • 10,877 all-time installs (skills.sh)
  • +228 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #22 of 1,453 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

deployment-pipeline-design capabilities & compatibility

Capabilities
design multi stage pipeline architecture with ap · select and configure deployment strategies (cana · define health checks and readiness probes · establish metric driven promotion gates · plan rollback strategies and migration safety · debug failed deployments and stuck gates
Works with
github · gitlab · azure devops · kubernetes · datadog · terraform · docker
Use cases
ci cd · devops · debugging · orchestration
Platforms
macOS · Windows · Linux
Runs
Remote server
Pricing
Free
From the docs

What deployment-pipeline-design says it does

Design robust, secure deployment pipelines that balance speed with safety through proper stage organization, automated quality gates, and progressive delivery strategies.
skill:wshobson/agents#deployment-pipeline-design
npx skills add https://github.com/wshobson/agents --skill deployment-pipeline-design

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs10.9k
repo stars38.3k
Security audit3 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorywshobson/agents

What it does

Design multi-stage CI/CD pipelines with approval gates, canary rollouts, and automated health checks for production deployments.

Who is it for?

Platform engineers, DevOps architects, and teams deploying microservices or containerized applications across multiple environments needing zero-downtime updates.

Skip if: Single-environment deployments, static site hosting, or teams without automated testing infrastructure.

When should I use this skill?

Designing CI/CD for a new service, implementing deployment gates, configuring multi-environment promotion, establishing canary strategies, or debugging production deployment failures.

What you get

Engineers design pipelines that balance deployment velocity with safety through automated gates, canary validation, and metric-driven promotion decisions.

  • Pipeline stage definitions with job dependencies and parallelism strategy
  • Chosen deployment strategy with annotated configuration (canary weights, blue-green switchover, rolling parameters)
  • Health check setup: shallow vs deep readiness probes and smoke test scripts

By the numbers

  • Covers three deployment strategies: canary, blue-green, and rolling with configurable parameters
  • Addresses migration safety across at least two-release-cycle rollback windows
  • Includes troubleshooting for four common pipeline failure patterns

Files

SKILL.mdMarkdownGitHub ↗

Deployment Pipeline Design

Architecture patterns for multi-stage CI/CD pipelines with approval gates, deployment strategies, and environment promotion workflows.

Purpose

Design robust, secure deployment pipelines that balance speed with safety through proper stage organization, automated quality gates, and progressive delivery strategies. This skill covers both the structural design of pipeline architecture and the operational patterns for reliable production deployments.

Input / Output

What You Provide

  • Application type: Language/runtime, containerized or bare-metal, monolith or microservices
  • Deployment target: Kubernetes, ECS, VMs, serverless, or platform-as-a-service
  • Environment topology: Number of environments (dev/staging/prod), region layout, air-gap requirements
  • Rollout requirements: Acceptable downtime, rollback SLA, traffic splitting needs, canary vs blue-green preference
  • Gate constraints: Approval teams, required test coverage thresholds, compliance scans (SAST, DAST, SCA)
  • Monitoring stack: Prometheus, Datadog, CloudWatch, or other metrics sources used for automated promotion decisions

What This Skill Produces

  • Pipeline configuration: Stage definitions, job dependencies, parallelism, and caching strategy
  • Deployment strategy: Chosen rollout pattern with annotated configuration (canary weights, blue-green switchover, rolling parameters)
  • Health check setup: Shallow vs deep readiness probes, post-deployment smoke test scripts
  • Gate definitions: Automated metric thresholds and manual approval workflows
  • Rollback plan: Automated rollback triggers and manual runbook steps

When to Use

  • Design CI/CD architecture for a new service or platform migration
  • Implement deployment gates between environments
  • Configure multi-environment pipelines with mandatory security scanning
  • Establish progressive delivery with canary or blue-green strategies
  • Debug pipelines where stages succeed but production behavior is wrong
  • Reduce mean time to recovery by automating rollback on metric degradation

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Troubleshooting

Health check passes in pipeline but service is unhealthy in production

The pipeline health check is hitting a shallow /ping endpoint that returns 200 even when the database is unreachable. Use a deep readiness check that verifies actual dependencies (see Health Checks section above).

Canary deployment never promotes to 100%

Argo Rollouts requires a valid AnalysisTemplate to auto-promote. If the Prometheus query returns no data (e.g., metric name changed), the analysis stays inconclusive and promotion stalls. Add inconclusiveLimit so the rollout fails fast rather than hanging:

spec:
  metrics:
  - name: error-rate
    failureCondition: "result[0] > 0.05"
    inconclusiveLimit: 2   # fail after 2 inconclusive results, not hang indefinitely
    provider:
      prometheus:
        query: |
          sum(rate(http_requests_total{status=~"5.."}[2m]))
          / sum(rate(http_requests_total[2m]))

Staging deploy succeeds but production job never starts

Check that production environment protection rules are configured — a missing reviewer assignment means the approval gate waits indefinitely with no notification. In GitHub Actions, ensure Required reviewers is set to an existing user or team in Settings → Environments → production.

Docker layer cache busted on every run causing slow builds

If COPY . . appears before dependency installation, any source file change invalidates the dependency layer. Reorder to copy dependency manifests first:

# Good: dependencies cached separately from source code
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

Rollback leaves database migrations applied to old code

A service rollback without a migration rollback causes schema/code mismatch errors. Always make migrations backward-compatible (additive only) for at least one release cycle, and keep undo scripts versioned alongside the migration:

# migrations/V20240315__add_nullable_column.sql       (forward)
# migrations/V20240315__add_nullable_column.undo.sql  (backward)

Never run destructive migrations (DROP COLUMN, ALTER NOT NULL) until the old code version is fully retired from all environments.

Advanced Topics

For platform-specific pipeline configurations, multi-region promotion workflows, and advanced Argo Rollouts patterns, see:

  • `references/advanced-strategies.md` — Extended YAML examples, platform-specific configs (GitHub Actions, GitLab CI, Azure Pipelines), multi-region canary patterns, and database migration rollback strategies

Related Skills

  • github-actions-templates - For GitHub Actions implementation patterns and reusable workflows
  • gitlab-ci-patterns - For GitLab CI/CD pipeline implementation
  • secrets-management - For secrets handling in CI/CD pipelines

Related skills

How it compares

Choose deployment-pipeline-design for end-to-end pipeline architecture; use narrower skills when you only need a single Dockerfile or one-off Action step.

FAQ

Why does my health check pass in the pipeline but the service fails in production?

Shallow health checks like `/ping` return 200 even when databases are unreachable. Use deep readiness checks that verify actual dependencies (database connections, external APIs) before declaring a deployment healthy.

How do I prevent canary deployments from hanging indefinitely?

Argo Rollouts hangs when Prometheus queries return no data (e.g., metric renamed). Add `inconclusiveLimit: 2` to fail fast instead of waiting indefinitely.

Why can't I roll back safely when my schema has changed?

Rollback without migration undo causes code/schema mismatch. Make migrations backward-compatible (additive only), version undo scripts alongside migrations, and delay destructive changes (DROP COLUMN) until old code is retired.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.