Skills wshobson agents

deployment-pipeline-design

Use it when:
You're designing CI/CD for a new service, adding gates between environments, moving to canary or blue-green releases, or debugging a stuck deployment gate.
It does:
Works from your app, deployment target, environments, rollout and gate needs and monitoring stack to lay out stages, gates, rollout strategy, health checks and rollback.
You get:
A pipeline configuration, a chosen rollout strategy with annotated settings, health checks and smoke tests, gate definitions and a rollback plan.
Troubleshoots:
Health checks that pass while production is broken, canaries that never promote, production jobs that never start, slow Docker builds and rollbacks that clash with migrations.
Works with:
GitHub Actions, GitLab CI, Azure Pipelines, Kubernetes and Argo Rollouts, in examples across two reference files.

TL;DR

A reference for pipeline architecture rather than one CI product. The SKILL.md says what to give it and what it produces, then troubleshoots five failures: a shallow /ping health check that hides an unreachable database, an Argo Rollouts canary stuck because its Prometheus query returns no data, a production approval gate with no reviewer assigned, a Dockerfile that copies the source before installing dependencies, and a rollback that leaves new migrations under old code (keep migrations additive, with undo scripts). Its first reference file covers the stages from build to rollback; manual, delayed, multi-approver and metric-based gates; a decision table for rolling, blue-green, canary, recreate and feature-flag releases; shallow and deep health endpoints; a post-deploy check script; automated and manual rollback with kubectl; and DORA metrics. A second file holds full pipelines for GitHub Actions, GitLab CI and Azure Pipelines, multi-region canaries, advanced Argo Rollouts, expand/contract migrations, deployment freeze windows and Slack notifications. It points to github-actions-templates, gitlab-ci-patterns and secrets-management for one platform's details or for secrets.

Summarizes the skill at 4bde316.

npx skills add https://github.com/wshobson/agents --skill deployment-pipeline-design
Weekly Downloads week to Nov 9, 2026
182
-22% in 8 weeks

Fewer weekly downloads than 63% of skills

Weekly values
Week toInstalls
Sep 21234
Sep 28242
Oct 5299
Oct 12243
Oct 19223
Oct 26209
Nov 2221
Nov 9182
Total Downloads on skills.sh
14,200

More downloads than 63% of skills

Repo stars wshobson/agents
42,334

More stars than 76% of repos

Age published Jan 20, 2026
9 months

Older than 82% of skills

Category

Test-first work, implementation from specs, git hygiene and scope control.

Deploy, provision, observe and debug cloud apps.

Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills.

Type

Knowledge and rules the agent applies while it works: best practices, design principles, API references.

Effect

Adds no side effects of its own. It shapes how the agent thinks, writes or reviews. Guidelines and routers are always effect:none, even when the task they support edits code.

Needs

Instructions only. Works in any agent that supports skills.

Publisher

Everyone else. Unverified vendor claims default to community.

Topics

SKILL.md

From wshobson/agents at 4bde316. Checked daily, last changed Nov 6, 2026.

Frontmatter
name: deployment-pipeline-design
description: Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.

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