# Deployment patterns

> Deployment patterns is an open-source agent skill for cloud and infrastructure. Guides an AI agent through CI/CD, Docker, health checks and release readiness. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/deployment-patterns
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** deployment-patterns
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill gives an agent a reference of deployment approaches for web applications: rolling, blue-green and canary releases, each with its trade-offs and when it fits. It supplies starter Dockerfiles for Node.js, Go and Python/Django that use multi-stage builds, non-root users and built-in health checks, along with general container practices to follow and avoid.

For pipelines, it outlines a GitHub Actions workflow that runs lint, typecheck and tests, builds and pushes an image to GitHub Container Registry on main, then deploys, plus a staged flow from pull request preview through staging smoke tests to production. It also covers health endpoints with detailed dependency checks, Kubernetes liveness, readiness and startup probes, twelve-factor environment configuration with startup validation, and rollback steps with a checklist.

The material is example-driven and expects a Node.js, Go or Python project, with Docker and GitHub Actions for the pipeline. Deployment commands shown for Railway, Vercel and Kubernetes are placeholders the user must adapt to their own platform.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/deployment-patterns)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/deployment-patterns)

## Features

- **Deployment strategy overview:** Compares rolling, blue-green and canary releases with their pros, cons and suitable use cases.
- **Dockerfile templates:** Multi-stage Dockerfile examples for Node.js, Go and Python/Django applications.
- **CI/CD pipeline example:** A GitHub Actions workflow covering test, image build and production deploy stages.
- **Health check patterns:** Simple and detailed health endpoints plus Kubernetes liveness, readiness and startup probes.
- **Environment configuration:** Twelve-factor config via environment variables with schema validation at startup.
- **Rollback and release checklists:** Rollback commands, a rollback checklist and a production readiness checklist.

## Good for

- Set up a CI/CD pipeline for a web app
- Write a Dockerfile for a Node.js service
- Add health check endpoints for a containerized app
- Plan a blue-green or canary release
- Review a production readiness checklist before launch
- Define a rollback procedure for a failed deploy

## Install

### Claude Code

This skill ships in the `rea-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath
```

Or copy only this skill to `~/.claude/skills/deployment-patterns`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/deployment-patterns &&
cp -R "$tmp/.agents/skills/deployment-patterns" ~/.claude/skills/deployment-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/deployment-patterns` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/deployment-patterns` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/deployment-patterns &&
cp -R "$tmp/.agents/skills/deployment-patterns" ~/.agents/skills/deployment-patterns &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/deployment-patterns` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/deployment-patterns` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/deployment-patterns &&
cp -R "$tmp/.agents/skills/deployment-patterns" ~/.cursor/skills/deployment-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/deployment-patterns` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/deployment-patterns
```

Or copy the folder to `~/.gemini/skills/deployment-patterns` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/deployment-patterns`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/deployment-patterns &&
cp -R "$tmp/.agents/skills/deployment-patterns" ~/.copilot/skills/deployment-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/deployment-patterns` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git
```

Then copy `REA_Skill/.agents/skills/deployment-patterns` into your agent's skills folder as `deployment-patterns`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What kinds of applications does Deployment patterns cover?

It targets web applications and includes examples for Node.js, Go and Python/Django projects.

### Does Deployment patterns run any scripts?

No scripts are included; the skill consists of a SKILL.md with reference patterns and checklists.

### Which deployment strategies does Deployment patterns describe?

Rolling deployment as the default, blue-green deployment and canary deployment, each with pros, cons and when to use it.

### Which CI/CD platform does the example use?

The example pipeline is written for GitHub Actions and pushes images to GitHub Container Registry.

### How do I install Deployment patterns in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/deployment-patterns to use it in all your projects, or to .claude/skills/deployment-patterns in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

### Does Deployment patterns run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Deployment patterns?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Deployment patterns?

The closest alternatives to Deployment patterns are Gem devops guidelines, Devops rollout plan, Ci cd, Shipping and Cicd pipeline skill.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Gem devops guidelines](https://ai-powered.com/skills/gem-devops-guidelines): Gem devops guidelines is an open-source agent skill for cloud and infrastructure.
- [Devops rollout plan](https://ai-powered.com/skills/devops-rollout-plan): Devops rollout plan is an open-source agent skill for cloud and infrastructure.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [Shipping](https://ai-powered.com/skills/shipping): Shipping is an open-source agent skill for developer tools.
- [Cicd pipeline skill](https://ai-powered.com/skills/cicd-pipeline-skill): Cicd pipeline skill is an open-source agent skill for developer tools.
- [Azure kubernetes app deploy](https://ai-powered.com/skills/azure-kubernetes-app-deploy): Azure kubernetes app deploy is an open-source agent skill for developer tools.
- [Docker patterns](https://ai-powered.com/skills/docker-patterns): Docker patterns is an open-source agent skill for developer tools.
- [Gke app onboarding](https://ai-powered.com/skills/gke-app-onboarding): Gke app onboarding is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/deployment-patterns
