Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

deployment-strategies

verified

Deployment strategies and patterns

View on GitHub

Marketplace

alphaagent-team

the-answerai/alphaagent-team

Plugin

aai-devops

devops

Repository

the-answerai/alphaagent-team

plugins/aai-devops/skills/deployment-strategies/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/the-answerai/alphaagent-team/blob/main/plugins/aai-devops/skills/deployment-strategies/SKILL.md -a claude-code --skill deployment-strategies

Installation paths:

Claude
.claude/skills/deployment-strategies/
Powered by add-skill CLI

Instructions

# Deployment Strategies Skill

Patterns for deploying applications safely.

## Strategy Comparison

| Strategy | Downtime | Risk | Rollback | Complexity |
|----------|----------|------|----------|------------|
| Recreate | Yes | High | Slow | Low |
| Rolling | No | Medium | Medium | Low |
| Blue-Green | No | Low | Instant | Medium |
| Canary | No | Low | Fast | High |
| A/B Testing | No | Low | Fast | High |

## Rolling Deployment

### Kubernetes Configuration

```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
spec:
  replicas: 5
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1        # Extra pods during update
      maxUnavailable: 0  # No downtime
  template:
    spec:
      containers:
        - name: app
          image: app:v2
          readinessProbe:
            httpGet:
              path: /health
              port: 8080
            initialDelaySeconds: 5
            periodSeconds: 5
```

### Rollout Commands

```bash
# Start rollout
kubectl set image deployment/app app=app:v2

# Watch rollout progress
kubectl rollout status deployment/app

# Pause rollout
kubectl rollout pause deployment/app

# Resume rollout
kubectl rollout resume deployment/app

# Rollback
kubectl rollout undo deployment/app
```

## Blue-Green Deployment

### Architecture

```
                    ┌─────────────┐
                    │   Router    │
                    │ (Service)   │
                    └──────┬──────┘
                           │
           ┌───────────────┴───────────────┐
           │                               │
           ▼                               ▼
    ┌─────────────┐                 ┌─────────────┐
    │    Blue     │                 │   Green     │
    │   (v1.0)    │                 │   (v1.1)    │
    │   Active    │                 │   Standby   │
    └─────────────┘                 └─────────────┘
```

### Implementation

```yaml
# Blue deployment (current)
apiVersion: apps/v1
kind: Deployment
metadata:
  name:

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6078 chars