Skill 详情

senior-devops

Comprehensive DevOps engineering skill covering pipelines, containers, Kubernetes, Terraform, deployment, and observability.

匹配类型直接匹配已针对 devops 审核
来源borghei/claude-skills外部来源
报告安装量177仅表示受欢迎程度

使用前先检查

自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。

已保存的来源预览

SKILL.md

这段内容是审核时保存的快照。外部来源才是完整且最新的版本。

---
name: senior-devops
description: >
  DevOps for CI/CD, containers, Kubernetes, and Terraform. Use when building pipelines,
  containerizing apps, managing clusters, provisioning cloud infra, deploying with blue-
  green/canary, or handling infrastructure incidents.
license: MIT + Commons Clause
metadata:
  version: 2.2.0
  author: borghei
  category: engineering
  domain: infrastructure
  updated: 2026-06-17
  tags: [docker, kubernetes, terraform, ci-cd, monitoring]
  python-tools: pipeline_generator.py, terraform_scaffolder.py, deployment_manager.py
  tech-stack: python, docker, kubernetes, terraform, prometheus
---
# 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

| Tool | Purpose | Command |
|------|---------|---------|
| `pipeline_generator.py` | Analyze 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.py` | Scaffold a Terraform module structure with state config | `python scripts/terraform_scaffolder.py <target-path> --json` |
| `deployment_manager.py` | Produce a deployment plan with health checks and rollback | `python 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:

- **[references/devops-workflows-and-operations.md](references/devops-workflows-and-operations.md)** — the three end-to-end workflows (containerize & deploy, Terraform IaC, CI/CD design) with worked Dockerfile/YAML/HCL examples, the deployment-strategy selection matrix and canary ladder, monitoring essentials (Four Golden Signals, SLO targets), anti-patterns, and the troubleshooting table. Read when executing any workflow or diagnosing an incident.
- **[references/cicd_pipeline_guide.md](references/cicd_pipeline_guide.md)** — pipeline patterns, platform comparisons, optimization.
- **[
在 GitHub 阅读完整来源 (打开外部页面)
相关上下文

相关工作