Our review
This skill orchestrates complex DevOps workflows by breaking tasks into exploratory, planning, and parallelized phases, covering CI/CD, zero-downtime deployment, infrastructure as code, monitoring, and incident response.
Strengths
- Comprehensive automation of DevOps lifecycle with reusable patterns
- Efficient parallelization of tasks to reduce execution time
- Native handling of zero-downtime deployments and database migrations
- Integration of security scanning and observability into pipelines
Limitations
- Requires pre-existing cloud or Kubernetes infrastructure for some patterns
- May need manual adjustments for edge cases not covered by standard patterns
- Relies on accurate modelling of existing infrastructure during exploration
Use this skill when you need to industrialize complex deployments, automate CI/CD pipelines, or set up robust infrastructure as code.
Avoid it for very simple or monolithic projects where the orchestration overhead is not justified.
Security analysis
SafeThe skill provides only patterns and guidance; no destructive or exfiltrating commands are present. The mention of npx cc-mirror is only an illustrative example, not an instruction to run untrusted code.
No concerns found
Examples
Set up CI/CD for this projectDeploy the new version without downtimeCreate Terraform for our AWS setupDevOps Orchestration Patterns
┌─────────────────────────────────────────────────────────────┐
│ │
│ Infrastructure as carefully orchestrated as code. │
│ Safe deployments. Fast pipelines. Reliable operations. │
│ │
└─────────────────────────────────────────────────────────────┘
Load when: CI/CD pipeline, deployment, infrastructure as code, monitoring, incident response Common patterns: Pipeline Setup, Zero-Downtime Deployment, Incident Triage
Table of Contents
CI/CD Pipeline
Pattern: Pipeline Setup
User Request: "Set up CI/CD for this project"
Phase 1: EXPLORE
└─ Explore agent: Analyze project structure, build system, test setup
Phase 2: PLAN
└─ Plan agent: Design pipeline stages and requirements
Phase 3: FAN-OUT (Parallel stage implementation)
├─ Agent A: Build stage (compile, dependencies)
├─ Agent B: Test stage (unit, integration)
├─ Agent C: Security scan stage (SAST, dependencies)
└─ Agent D: Deploy stage (environments, rollback)
Phase 4: PIPELINE
└─ General-purpose agent: Wire stages, add notifications
Pattern: Pipeline Optimization
User Request: "Speed up our CI pipeline"
Phase 1: FAN-OUT (Parallel analysis)
├─ Explore agent: Analyze current pipeline duration by stage
├─ Explore agent: Find parallelization opportunities
├─ Explore agent: Check caching effectiveness
└─ Explore agent: Review resource allocation
Phase 2: REDUCE
└─ Plan agent: Prioritized optimization plan
Phase 3: FAN-OUT (Implement optimizations)
├─ Agent A: Implement caching improvements
├─ Agent B: Parallelize independent jobs
└─ Agent C: Optimize resource-heavy stages
Deployment
Pattern: Zero-Downtime Deployment
User Request: "Deploy the new version without downtime"
Phase 1: EXPLORE
└─ Explore agent: Current deployment strategy, infrastructure
Phase 2: PIPELINE
├─ General-purpose agent: Build and tag new image
├─ General-purpose agent: Deploy to canary/blue environment
├─ Background agent: Run smoke tests
└─ General-purpose agent: Shift traffic, drain old instances
Phase 3: BACKGROUND
└─ Background agent: Monitor error rates post-deploy
Pattern: Database Migration Deployment
Phase 1: PIPELINE (Safe migration)
├─ General-purpose agent: Backup current database
├─ General-purpose agent: Run forward migration
├─ General-purpose agent: Deploy compatible app version
└─ Background agent: Verify data integrity
Infrastructure
Pattern: Infrastructure as Code
User Request: "Create Terraform for our AWS setup"
Phase 1: EXPLORE
└─ Explore agent: Map current infrastructure, requirements
Phase 2: FAN-OUT (Parallel module creation)
├─ Agent A: Network module (VPC, subnets, security groups)
├─ Agent B: Compute module (ECS/EKS, EC2)
├─ Agent C: Database module (RDS, ElastiCache)
├─ Agent D: Storage module (S3, EFS)
└─ Agent E: CDN and DNS module
Phase 3: PIPELINE
├─ General-purpose agent: Wire modules, configure state backend
└─ Background agent: Validate and plan
Pattern: Kubernetes Manifest Generation
Phase 1: EXPLORE
└─ Explore agent: Analyze application requirements
Phase 2: FAN-OUT
├─ Agent A: Deployment manifests
├─ Agent B: Service and ingress manifests
├─ Agent C: ConfigMaps and Secrets
├─ Agent D: HPA and PDB configurations
└─ Agent E: NetworkPolicies
Monitoring and Alerting
Pattern: Observability Setup
User Request: "Set up monitoring for the application"
Phase 1: FAN-OUT (Parallel pillar implementation)
├─ Agent A: Metrics (Prometheus, CloudWatch)
├─ Agent B: Logging (ELK, CloudWatch Logs)
├─ Agent C: Tracing (Jaeger, X-Ray)
└─ Agent D: Dashboards (Grafana, custom)
Phase 2: PIPELINE
└─ General-purpose agent: Configure alerting rules, runbooks
Incident Response
Pattern: Incident Triage
User Request: "Production is down!"
Phase 1: FAN-OUT (Rapid parallel diagnosis)
├─ Agent A: Check application logs for errors
├─ Agent B: Check infrastructure metrics
├─ Agent C: Check recent deployments
├─ Agent D: Check external dependencies
└─ Agent E: Check database health
Phase 2: REDUCE (Fast)
└─ General-purpose agent: Identify most likely cause
Phase 3: PIPELINE
├─ General-purpose agent: Implement fix or rollback
└─ Background agent: Verify recovery
Pattern: Post-Incident Review
Phase 1: FAN-OUT (Evidence gathering)
├─ Explore agent: Timeline of events
├─ Explore agent: Relevant logs and metrics
├─ Explore agent: Changes before incident
└─ Explore agent: Response actions taken
Phase 2: PIPELINE
├─ General-purpose agent: Root cause analysis
├─ General-purpose agent: Impact assessment
└─ General-purpose agent: Action items and preventions
Phase 3: REDUCE
└─ General-purpose agent: Post-mortem document
Task Management for DevOps
Structure infrastructure work with safety checkpoints:
# Create DevOps tasks
npx cc-mirror tasks create --subject "Assess infrastructure" --description "Current state, requirements..."
npx cc-mirror tasks create --subject "Plan changes" --description "Design with minimal disruption..."
npx cc-mirror tasks create --subject "Implement network changes" --description "VPC, security groups..."
npx cc-mirror tasks create --subject "Implement compute changes" --description "ECS, scaling..."
npx cc-mirror tasks create --subject "Validate deployment" --description "Health checks, smoke tests..."
npx cc-mirror tasks create --subject "Configure monitoring" --description "Alerts, dashboards..."
# Sequential safety gates
npx cc-mirror tasks update 2 --add-blocked-by 1
npx cc-mirror tasks update 3 --add-blocked-by 2
npx cc-mirror tasks update 4 --add-blocked-by 2
npx cc-mirror tasks update 5 --add-blocked-by 3,4
npx cc-mirror tasks update 6 --add-blocked-by 5
# Parallel infrastructure implementation (sonnet for well-structured work)
Task(subagent_type="general-purpose", prompt="Task 3: Implement network changes...",
model="sonnet", run_in_background=True)
Task(subagent_type="general-purpose", prompt="Task 4: Implement compute changes...",
model="sonnet", run_in_background=True)
Safety Principles
- Always have rollback plan before deploying
- Background monitor during and after deployment
- Parallel diagnosis during incidents for speed
- Document everything for future incidents
- Test in staging before production
─── ◈ DevOps ────────────────────────────
Docker Compose Architect
DevOps
Designs optimized Docker Compose configurations.
Incident Postmortem Writer
DevOps
Writes structured and blameless incident postmortem reports.
Runbook Creator
DevOps
Creates clear operational runbooks for common DevOps procedures.