MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Deployment Pipeline Design

Deployment Pipeline Design is an design AI skill with a core value of Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. It helps developers solve real-world problems in the design domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing Gi...

Last verified on: 2026-07-07

Quick Facts

Category design
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-07
Risk Level Low
mkdir -p ./skills/deployment-pipeline-design && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/deployment-pipeline-design/SKILL.md -o ./skills/deployment-pipeline-design/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Deployment Pipeline Design


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


Do not use this skill when


- The task is unrelated to deployment pipeline design

- You need a different domain or tool outside this scope


Instructions


- Clarify goals, constraints, and required inputs.

- Apply relevant best practices and validate outcomes.

- Provide actionable steps and verification.

- If detailed examples are required, open `resources/implementation-playbook.md`.


Purpose


Design robust, secure deployment pipelines that balance speed with safety through proper stage organization and approval workflows.


Use this skill when


- Design CI/CD architecture

- Implement deployment gates

- Configure multi-environment pipelines

- Establish deployment best practices

- Implement progressive delivery


Pipeline Stages


Standard Pipeline Flow


text
┌─────────┐   ┌──────┐   ┌─────────┐   ┌────────┐   ┌──────────┐
│  Build  │ → │ Test │ → │ Staging │ → │ Approve│ → │Production│
└─────────┘   └──────┘   └─────────┘   └────────┘   └──────────┘

Detailed Stage Breakdown


1. **Source** - Code checkout

2. **Build** - Compile, package, containerize

3. **Test** - Unit, integration, security scans

4. **Staging Deploy** - Deploy to staging environment

5. **Integration Tests** - E2E, smoke tests

6. **Approval Gate** - Manual approval required

7. **Production Deploy** - Canary, blue-green, rolling

8. **Verification** - Health checks, monitoring

9. **Rollback** - Automated rollback on failure


Approval Gate Patterns


Pattern 1: Manual Approval


yaml
# GitHub Actions
production-deploy:
  needs: staging-deploy
  environment:
    name: production
    url: https://app.example.com
  runs-on: ubuntu-latest
  steps:
    - name: Deploy to production
      run: |
        # Deployment commands

Pattern 2: Time-Based Approval


yaml
# GitLab CI
deploy:production:
  stage: deploy
  script:
    - deploy.sh production
  environment:
    name: production
  when: delayed
  start_in: 30 minutes
  only:
    - main

Pattern 3: Multi-Approver


yaml
# Azure Pipelines
stages:
- stage: Production
  dependsOn: Staging
  jobs:
  - deployment: Deploy
    environment:
      name: production
      resourceType: Kubernetes
    strategy:
      runOnce:
        preDeploy:
          steps:
          - task: ManualValidation@0
            inputs:
              notifyUsers: 'team-leads@example.com'
              instructions: 'Review staging metrics before approving'

**Reference:** See `assets/approval-gate-template.yml`


Deployment Strategies


1. Rolling Deployment


yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-app
spec:
  replicas: 10
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 2
      maxUnavailable: 1

**Characteristics:**

- Gradual rollout

- Zero downtime

- Easy rollback

- Best for most applications


2. Blue-Green Deployment


yaml
# Blue (current)
kubectl apply -f blue-deployment.yaml
kubectl label service my-app version=blue

# Green (new)
kubectl apply -f green-deployment.yaml
# Test green environment
kubectl label service my-app version=green

# Rollback if needed
kubectl label service my-app version=blue

**Characteristics:**

- Instant switchover

- Easy rollback

- Doubles infrastructure cost temporarily

- Good for high-risk deployments


3. Canary Deployment


yaml
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: my-app
spec:
  replicas: 10
  strategy:
    canary:
      steps:
      - setWeight: 10
      - pause: {duration: 5m}
      - setWeight: 25
      - pause: {duration: 5m}
      - setWeight: 50
      - pause: {duration: 5m}
      - setWeight: 100

**Characteristics:**

- Gradual traffic shift

- Risk mitigation

- Real user testing

- Requires service mesh or similar


4. Feature Flags


python
from flagsmith import Flagsmith

flagsmith = Flagsmith(environment_key="API

🎯 Best For

  • Security auditors
  • DevSecOps teams
  • Compliance officers
  • Claude users
  • Designers

💡 Use Cases

  • Auditing dependencies for known CVEs
  • Scanning API endpoints for auth gaps
  • Design system documentation
  • Component specification creation

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Deployment Pipeline Design to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Can this replace a dedicated SAST tool?

AI-based security review is complementary to SAST tools. Use it as a first-pass filter, not a replacement.

Does Deployment Pipeline Design generate production-ready design specs?

It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.

How do I install Deployment Pipeline Design?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/deployment-pipeline-design/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Only scanning surface-level issues

Deep security review requires understanding your app architecture, not just regex patterns.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills