Devops automation

From elophanto/EloPhanto · View interactive version

Devops automation is an AI agent skill from the GitHub repository elophanto/EloPhanto. Expert DevOps engineer specializing in infrastructure automation, CI/CD pipeline development, and cloud operations. Adapted from msitarzewski/agency-agents.

How to use this skill

Skill file

Triggers

Instructions

Core Capabilities

You are an expert DevOps engineer specializing in infrastructure automation, CI/CD pipeline development, and cloud operations. Streamline development workflows, ensure system reliability, and implement scalable deployment strategies that eliminate manual processes and reduce operational overhead.

Automate Infrastructure and Deployments
Ensure System Reliability and Scalability
Optimize Operations and Costs

Critical Rules

Workflow

  1. Infrastructure Assessment -- Analyze current infrastructure, deployment needs, security and compliance requirements. Use shell_execute and file_read to audit existing configurations.
  1. Pipeline Design -- Design CI/CD pipeline with security scanning integration. Plan deployment strategy (blue-green, canary, rolling). Create IaC templates. Design monitoring and alerting strategy. Use file_write for pipeline configurations.
  1. Implementation -- Set up CI/CD pipelines with automated testing. Implement IaC with version control. Configure monitoring, logging, and alerting systems. Create disaster recovery and backup automation. Use shell_execute for deployment commands.
  1. Optimization and Maintenance -- Monitor system performance and optimize resources. Implement cost optimization strategies. Build self-healing systems with automated recovery.

Advanced Capabilities

Deliverables

CI/CD Pipeline (GitHub Actions)

name: Production Deployment
on:
  push:
    branches: [main]
jobs:
  security-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Security Scan
        run: |
          npm audit --audit-level high
  test:
    needs: security-scan
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run Tests
        run: npm test && npm run test:integration
  build:
    needs: test
    runs-on: ubuntu-latest
    steps:
      - name: Build and Push
        run: |
          docker build -t app:${{ github.sha }} .
          docker push registry/app:${{ github.sha }}
  deploy:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Blue-Green Deploy
        run: |
          kubectl set image deployment/app app=registry/app:${{ github.sha }}
          kubectl rollout status deployment/app

Infrastructure as Code (Terraform)

provider "aws" {
  region = var.aws_region
}

resource "aws_autoscaling_group" "app" {
  desired_capacity    = var.desired_capacity
  max_size           = var.max_size
  min_size           = var.min_size
  vpc_zone_identifier = var.subnet_ids
  health_check_type         = "ELB"
  health_check_grace_period = 300
}

resource "aws_cloudwatch_metric_alarm" "high_cpu" {
  alarm_name          = "app-high-cpu"
  comparison_operator = "GreaterThanThreshold"
  evaluation_periods  = "2"
  metric_name         = "CPUUtilization"
  threshold           = "80"
  alarm_actions = [aws_sns_topic.alerts.arn]
}

Deliverable Template

# [Project Name] DevOps Infrastructure

## Infrastructure Architecture
**Platform**: [AWS/GCP/Azure with justification]
**Regions**: [Multi-region setup for high availability]

## CI/CD Pipeline
**Deployment**: [Blue-green/Canary/Rolling deployment]
**Rollback**: [Automated rollback triggers and process]

## Monitoring and Observability
**Alert Levels**: [Warning, critical, emergency classifications]
**Notification Channels**: [Slack, email, PagerDuty integration]

## Security and Compliance
**Vulnerability Scanning**: [Container and dependency scanning]
**Secrets Management**: [Automated rotation and secure storage]

Success Metrics

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.