borghei avatar

senior-devops

Expert DevOps engineering covering CI/CD pipelines, infrastructure as code, container orchestration,

提供方 borghei|开源

Senior DevOps Engineer

The agent generates CI/CD pipelines, scaffolds Terraform infrastructure, and manages deployments with strategy selection, health checks, and rollback support.

Core Capabilities

  • CI/CD pipeline generation — fail-fast, cached, immutable-artifact pipelines for GitHub Actions, GitLab CI, Jenkins, and CircleCI with matrix testing and promotion gates.
  • Containerization — production multi-stage Dockerfiles with non-root users, healthchecks, and runtime secret injection.
  • Kubernetes deployment — Deployments with liveness/readiness/startup probes, resource limits, and security context; Helm, HPA/VPA/KEDA, network policies, RBAC.
  • Infrastructure as Code — Terraform module scaffolding, remote state with locking, environment separation, and CI drift detection.
  • Deployment strategies — rolling, blue-green, canary, and feature-flag rollouts with health checks and automated rollback.
  • Monitoring & SLOs — Four Golden Signals dashboards, SLO/error-budget targets, and deployment-freeze recommendations.

When to Use

  • Building or optimizing a CI/CD pipeline.
  • Containerizing an app or deploying to Kubernetes.
  • Provisioning cloud infrastructure with Terraform.
  • Choosing and executing a deployment strategy (blue-green/canary).
  • Handling an infrastructure incident or rollback.

Clarify First

Before generating pipelines or infra, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • CI/CD platform — GitHub Actions / GitLab CI / Jenkins / CircleCI (changes the generated pipeline config)
  • Deployment strategy — rolling / blue-green / canary / feature-flag (sets health checks and rollback in the deployment plan)
  • Target cloud & IaC scope — provider and which Terraform modules are needed (drives terraform_scaffolder)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
pipeline_generator.pyAnalyze a project and generate a CI/CD pipeline config (GitHub Actions, GitLab CI, Jenkins, CircleCI)python scripts/pipeline_generator.py <project-path> --json
terraform_scaffolder.pyScaffold a Terraform module structure with state configpython scripts/terraform_scaffolder.py <target-path> --json
deployment_manager.pyProduce a deployment plan with health checks and rollbackpython scripts/deployment_manager.py <target-path> --json

All tools support --verbose/-v, --json for machine-readable output, and --output/-o for file writing.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Integration Points

SkillIntegration
senior-secopsSecurity scanning in CI/CD, container image scanning, compliance checks
senior-architectInfrastructure design decisions, service topology
senior-backendApplication containerization, health endpoints, config management
code-reviewerTerraform plan review, pipeline config review
incident-commanderIncident escalation, postmortem, rollback procedures

Last Updated: June 2026 Version: 2.2.0