Skills DirectoryCurated open-source Skills from GitHub

deployment-patternscommit d29cf65SKILL.md · Deploy & Release

Deployment Patterns

Covers rolling, blue-green and canary strategies, multi-stage Dockerfiles, CI/CD, health checks, rollback and a production readiness checklist.

npx skills add affaan-m/ECC --skill deployment-patterns
Permissions
  • read-repo
  • write-files
  • shell
  • network
Compatible with
Claude Code, Codex, Cursor, Copilot, OpenCode
GitHub
294.3k
Source
Community · Affaan Mustafa
Status
Scan passed
License
MIT

Core rule

All config comes from environment variables, never from code, and is validated at startup.

Execution Phases

  1. Phase 01Pick a strategy

    Default to rolling; use blue-green for critical services and canary for high-traffic or risky changes.

  2. Phase 02Containerize

    Write multi-stage Dockerfiles with pinned tags, a non-root user and a HEALTHCHECK, keeping secrets out of the image.

  3. Phase 03Build the pipeline

    Configure CI/CD as lint, typecheck, tests, image build, staging deploy, smoke tests, then production.

  4. Phase 04Health checks and config

    Add health endpoints and Kubernetes probes, and validate environment variables against a schema at startup.

  5. Phase 05Rollback and readiness

    Prepare a rollback path and work through the application, infrastructure, monitoring, security and operations checklists.

Permissions (summarised from SKILL.md)

CapabilityNeededDetails
File writesRequiredWrites Dockerfiles, GitHub Actions workflows, health endpoints, Kubernetes probes and config validation code.
Command executionNot requiredRollback commands such as kubectl or vercel appear only as examples; the skill does not ask the agent to run them.
Network outboundNot requiredThe skill makes no network calls; deployment is done by the pipelines it helps write.

SKILL.md frontmatter (YAML)

SKILL.md frontmatter (YAML)commit d29cf65
---
name: deployment-patterns
description: Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up CI/CD, containerizing an app, or checking production readiness before a release.
metadata:
  origin: ECC
---

Related skills

A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.