--- name: devops-deployer description: Comprehensive DevOps and deployment workflow that orchestrates infrastructure automation, CI/CD pipelines, container orchestration, and cloud deployment. Handles everything from infrastructure as code and pipeline setup to monitoring, scaling, and disaster recovery. license: Apache 2.0 tools: [] --- # DevOps Deployer - Complete DevOps and Deployment Workflow ## Overview This skill provides end-to-end DevOps and deployment services by orchestrating DevOps architects, infrastructure specialists, and automation experts. It transforms deployment requirements into production-ready infrastructure with comprehensive automation, monitoring, and operational excellence. **Key Capabilities:** - πŸ—οΈ **Infrastructure as Code** - Automated infrastructure provisioning and management - πŸ”„ **CI/CD Pipeline Automation** - Complete continuous integration and deployment workflows - ☸️ **Container Orchestration** - Docker, Kubernetes, and microservice deployment - πŸ“Š **Monitoring & Observability** - Comprehensive monitoring, logging, and alerting systems - πŸ›‘οΈ **Reliability & Scaling** - High availability, auto-scaling, and disaster recovery ## When to Use This Skill **Perfect for:** - CI/CD pipeline design and implementation - Infrastructure as code and cloud automation - Container orchestration and microservice deployment - Monitoring, logging, and observability setup - Disaster recovery and high availability implementation - DevOps process optimization and automation **Triggers:** - "Set up CI/CD pipeline for [application]" - "Implement infrastructure as code for [environment]" - "Deploy containerized application with Kubernetes" - "Create monitoring and observability system" - "Implement disaster recovery and backup strategies" ## DevOps Expert Panel ### **DevOps Architect** (DevOps Strategy & Architecture) - **Focus**: DevOps strategy, pipeline architecture, automation design - **Techniques**: CI/CD patterns, infrastructure as code, DevOps maturity models - **Considerations**: Team collaboration, automation efficiency, reliability ### **Infrastructure Specialist** (Cloud & Infrastructure) - **Focus**: Cloud infrastructure, networking, security, and scaling - **Techniques**: AWS, Azure, GCP, Terraform, CloudFormation, networking - **Considerations**: Cost optimization, security, compliance, scalability ### **Container Orchestration Expert** (Containers & Kubernetes) - **Focus**: Docker, Kubernetes, service mesh, container security - **Techniques**: Container orchestration, microservices, service discovery - **Considerations**: Resource optimization, security, monitoring, scaling ### **Automation Engineer** (Pipeline & Automation) - **Focus**: CI/CD pipelines, automation scripts, testing automation - **Techniques**: Jenkins, GitLab CI, GitHub Actions, Ansible, scripting - **Considerations**: Pipeline efficiency, reliability, security, maintainability ### **Monitoring Specialist** (Observability & Reliability) - **Focus**: Monitoring, logging, alerting, performance optimization - **Techniques**: Prometheus, Grafana, ELK stack, APM tools, SRE practices - **Considerations**: System reliability, performance visibility, incident response ## DevOps Implementation Workflow ### Phase 1: DevOps Requirements Analysis & Strategy **Use when**: Starting DevOps implementation or process improvement **Tools Used:** ```bash /sc:analyze devops-requirements DevOps Architect: DevOps maturity assessment and strategy Infrastructure Specialist: infrastructure requirements and constraints Automation Engineer: automation opportunities and pipeline needs ``` **Activities:** - Analyze current DevOps maturity and identify improvement areas - Define DevOps goals and success metrics - Assess infrastructure requirements and constraints - Identify automation opportunities and pipeline needs - Plan team training and cultural transformation ### Phase 2: Infrastructure Design & Architecture **Use when**: Designing infrastructure architecture and cloud strategy **Tools Used:** ```bash /sc:design --type infrastructure cloud-architecture Infrastructure Specialist: cloud infrastructure design and optimization DevOps Architect: infrastructure patterns and best practices Monitoring Specialist: monitoring and observability requirements ``` **Activities:** - Design cloud infrastructure architecture and networking - Plan infrastructure as code implementation strategy - Design security and compliance frameworks - Plan monitoring, logging, and observability architecture - Define scaling and high availability strategies ### Phase 3: CI/CD Pipeline Design & Implementation **Use when**: Creating continuous integration and deployment workflows **Tools Used:** ```bash /sc:design --type pipeline cicd-workflow Automation Engineer: CI/CD pipeline design and implementation DevOps Architect: pipeline patterns and best practices Infrastructure Specialist: pipeline infrastructure and environments ``` **Activities:** - Design CI/CD pipeline architecture and workflows - Implement build, test, and deployment automation - Create environment management and promotion strategies - Implement code quality gates and security scanning - Design rollback and recovery procedures ### Phase 4: Container Orchestration & Microservices **Use when**: Implementing containerization and microservice architecture **Tools Used:** ```bash /sc:implement container-orchestration Container Orchestration Expert: Kubernetes setup and configuration Infrastructure Specialist: container infrastructure and networking Monitoring Specialist: container monitoring and observability ``` **Activities:** - Design container architecture and microservice patterns - Implement Kubernetes clusters and configuration - Set up service mesh and inter-service communication - Configure container security and networking - Implement container monitoring and logging ### Phase 5: Monitoring & Observability Implementation **Use when**: Setting up comprehensive monitoring and observability systems **Tools Used:** ```bash /sc:implement monitoring-observability Monitoring Specialist: monitoring stack setup and configuration DevOps Architect: observability strategy and SRE practices Infrastructure Specialist: monitoring infrastructure and data retention ``` **Activities:** - Implement monitoring stack (Prometheus, Grafana, etc.) - Set up centralized logging and log aggregation - Create alerting rules and incident response procedures - Implement distributed tracing and APM - Design monitoring dashboards and reporting ### Phase 6: Reliability & Disaster Recovery **Use when**: Implementing high availability and disaster recovery capabilities **Tools Used:** ```bash /sc:implement disaster-recovery Infrastructure Specialist: backup and recovery implementation DevOps Architect: reliability engineering and SRE practices Monitoring Specialist: reliability monitoring and alerting ``` **Activities:** - Implement backup and disaster recovery procedures - Set up high availability and failover mechanisms - Create disaster recovery testing and validation - Implement incident response and runbook automation - Design reliability metrics and SLO monitoring ## Integration Patterns ### **SuperClaude Command Integration** | Command | Use Case | Output | |---------|---------|--------| | `/sc:design --type infrastructure` | Infrastructure design | Complete infrastructure architecture | | `/sc:implement cicd` | CI/CD pipeline | Production-ready CI/CD workflows | | `/sc:implement kubernetes` | Container orchestration | Kubernetes cluster and configuration | | `/sc:implement monitoring` | Monitoring system | Complete observability stack | | `/sc:implement disaster-recovery` | DR setup | Disaster recovery procedures | ### **Cloud Provider Integration** | Provider | Role | Capabilities | |----------|------|------------| | **AWS** | Cloud infrastructure | Complete AWS infrastructure and services | | **Azure** | Enterprise cloud | Azure-specific services and integration | | **GCP** | Cloud platform | Google Cloud services and optimization | | **Multi-cloud** | Hybrid infrastructure | Multi-cloud strategies and management | ### **MCP Server Integration** | Server | Expertise | Use Case | |--------|----------|---------| | **Sequential** | DevOps reasoning | Complex infrastructure design and problem-solving | | **Web Search** | DevOps trends | Latest DevOps practices and tools | | **Firecrawl** | Documentation | DevOps tool documentation and best practices | ## Usage Examples ### Example 1: Complete CI/CD Pipeline Setup ``` User: "Set up a complete CI/CD pipeline for a microservices application with automated testing and deployment" Workflow: 1. Phase 1: Analyze CI/CD requirements and current development workflow 2. Phase 2: Design pipeline architecture with build, test, and deploy stages 3. Phase 3: Implement GitHub Actions pipeline with automated testing 4. Phase 4: Set up containerization and Kubernetes deployment 5. Phase 5: Configure monitoring and observability for deployed services 6. Phase 6: Implement rollback procedures and disaster recovery Output: Production-ready CI/CD pipeline with comprehensive automation and monitoring ``` ### Example 2: Kubernetes Infrastructure Setup ``` User: "Implement a Kubernetes infrastructure for a scalable web application with auto-scaling" Workflow: 1. Phase 1: Analyze infrastructure requirements and scaling needs 2. Phase 2: Design Kubernetes cluster architecture and networking 3. Phase 3: Implement Kubernetes cluster with proper security configuration 4. Phase 4: Set up service mesh and inter-service communication 5. Phase 5: Configure monitoring, logging, and auto-scaling 6. Phase 6: Test cluster reliability and disaster recovery procedures Output: Production-ready Kubernetes infrastructure with auto-scaling and monitoring ``` ### Example 3: Monitoring and Observability System ``` User: "Create a comprehensive monitoring and observability system for our cloud infrastructure" Workflow: 1. Phase 1: Analyze monitoring requirements and observability needs 2. Phase 2: Design monitoring stack architecture with Prometheus and Grafana 3. Phase 3: Implement centralized logging with ELK stack 4. Phase 4: Set up distributed tracing and APM 5. Phase 5: Create alerting rules and incident response procedures 6. Phase 6: Implement monitoring dashboards and SLO tracking Output: Complete observability system with comprehensive monitoring and alerting ``` ## Quality Assurance Mechanisms ### **Multi-Layer DevOps Validation** - **Infrastructure Validation**: Infrastructure design and implementation validation - **Pipeline Testing**: CI/CD pipeline testing and validation - **Monitoring Validation**: Monitoring system effectiveness and accuracy - **Reliability Testing**: Disaster recovery and high availability validation ### **Automated Quality Checks** - **Infrastructure Testing**: Automated infrastructure validation and compliance checking - **Pipeline Validation**: Automated pipeline testing and security scanning - **Monitoring Testing**: Automated monitoring system validation and alert testing - **Reliability Testing**: Automated disaster recovery testing and validation ### **Continuous DevOps Improvement** - **Pipeline Optimization**: Continuous pipeline performance monitoring and optimization - **Infrastructure Optimization**: Cost and performance optimization recommendations - **Monitoring Enhancement**: Continuous monitoring system improvement and enhancement - **Reliability Improvement**: Ongoing reliability assessment and improvement ## Output Deliverables ### Primary Deliverable: Complete DevOps System ``` devops-system/ β”œβ”€β”€ infrastructure/ β”‚ β”œβ”€β”€ terraform/ # Infrastructure as code templates β”‚ β”œβ”€β”€ cloudformation/ # AWS CloudFormation templates β”‚ β”œβ”€β”€ ansible/ # Configuration management β”‚ └── networking/ # Network configuration and security β”œβ”€β”€ pipelines/ β”‚ β”œβ”€β”€ github-actions/ # GitHub Actions workflows β”‚ β”œβ”€β”€ jenkins/ # Jenkins pipeline configurations β”‚ β”œβ”€β”€ gitlab-ci/ # GitLab CI configurations β”‚ └── scripts/ # Custom automation scripts β”œβ”€β”€ kubernetes/ β”‚ β”œβ”€β”€ manifests/ # Kubernetes manifests β”‚ β”œβ”€β”€ helm-charts/ # Helm charts for applications β”‚ β”œβ”€β”€ operators/ # Custom operators and controllers β”‚ └── monitoring/ # Kubernetes monitoring configuration β”œβ”€β”€ monitoring/ β”‚ β”œβ”€β”€ prometheus/ # Prometheus configuration and rules β”‚ β”œβ”€β”€ grafana/ # Grafana dashboards and configuration β”‚ β”œβ”€β”€ elk-stack/ # ELK stack configuration β”‚ └── alerting/ # Alerting rules and procedures β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ deployment/ # Deployment automation scripts β”‚ β”œβ”€β”€ backup/ # Backup and recovery scripts β”‚ β”œβ”€β”€ monitoring/ # Monitoring and maintenance scripts β”‚ └── testing/ # Automated testing scripts └── documentation/ β”œβ”€β”€ runbooks/ # Incident response runbooks β”œβ”€β”€ architecture/ # Infrastructure and pipeline documentation β”œβ”€β”€ procedures/ # Operational procedures and guides └── monitoring/ # Monitoring and alerting documentation ``` ### Supporting Artifacts - **Infrastructure Templates**: Complete infrastructure as code templates for multiple providers - **Pipeline Configurations**: CI/CD pipeline configurations for multiple platforms - **Monitoring Dashboards**: Comprehensive monitoring dashboards and alerting rules - **Operational Procedures**: Detailed runbooks and operational procedures - **Disaster Recovery Plans**: Complete disaster recovery documentation and testing procedures ## Advanced Features ### **Intelligent Infrastructure Management** - AI-powered infrastructure optimization and cost management - Automated scaling and resource allocation - Predictive maintenance and failure prevention - Intelligent capacity planning and resource optimization ### **Advanced Pipeline Automation** - AI-driven pipeline optimization and performance tuning - Automated quality gates and security scanning - Intelligent deployment strategies and rollback procedures - Advanced testing automation and validation ### **Comprehensive Observability** - AI-powered anomaly detection and alerting - Advanced performance monitoring and optimization - Predictive analytics and capacity planning - Intelligent incident response and resolution ### **Reliability Engineering** - Advanced SRE practices and automation - Automated chaos engineering and resilience testing - Intelligent failure prediction and prevention - Advanced disaster recovery and business continuity ## Troubleshooting ### Common DevOps Implementation Challenges - **Infrastructure Issues**: Use proper infrastructure as code and validation - **Pipeline Problems**: Implement proper testing, monitoring, and rollback procedures - **Monitoring Gaps**: Use comprehensive monitoring and proper alerting - **Reliability Issues**: Implement proper high availability and disaster recovery ### Container and Orchestration Issues - **Container Problems**: Use proper container security and resource management - **Kubernetes Issues**: Use proper cluster configuration and monitoring - **Service Mesh Issues**: Implement proper networking and observability - **Scaling Problems**: Use proper auto-scaling and resource optimization ## Best Practices ### **For Infrastructure as Code** - Use version control for all infrastructure code - Implement proper testing and validation for infrastructure changes - Use modular and reusable infrastructure templates - Implement proper security and compliance controls ### **For CI/CD Pipelines** - Implement proper testing and quality gates - Use automated security scanning and vulnerability assessment - Implement proper rollback and recovery procedures - Use proper environment management and promotion strategies ### **For Container Orchestration** - Use proper container security and resource management - Implement proper monitoring and observability - Use proper networking and service discovery - Implement proper scaling and high availability ### **For Monitoring and Observability** - Implement comprehensive monitoring and alerting - Use proper logging and log aggregation - Implement distributed tracing and APM - Use proper incident response and runbook automation --- This DevOps deployer skill transforms the complex process of DevOps implementation into a guided, expert-supported workflow that ensures reliable, scalable, and maintainable infrastructure with comprehensive automation and monitoring capabilities.