做什么
创建多克文件,配置 CI/CD 管道,写出Kubernetes 运单,并生成Terraform/Pulumi 基础设施模板. 处理部署自动化、 GitOps 配置、事件响应运行簿和内部开发者平台工具化
技能库 智客分类:运维与云 devops-engineer
创建多克文件,配置 CI/CD 管道,写出Kubernetes 运单,并生成Terraform/Pulumi 基础设施模板. 处理部署自动化,GitOps配置,事件响应运行本,以及内部开发者平台工具化. 用于设置CI/CD管线,容器化应用,将基础设施作为代码管理,部署到Kubernetes集群,配置云平台,自动释放,或应对生产事件. 用于管道,多克克,库伯内特斯,GitOps,Terraform,GitHub Actions,可调用,或平台工程.
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
创建多克文件,配置 CI/CD 管道,写出Kubernetes 运单,并生成Terraform/Pulumi 基础设施模板. 处理部署自动化、 GitOps 配置、事件响应运行簿和内部开发者平台工具化
这个技能
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:DevOps Engineer、Role Definition、When to Use This Skill、Core Workflow、Reference Guide、Constraints。 其中含规范建议的小节:分步指令、输入输出示例。
文件分析:除 SKILL.md 外,正文引用了 references/github-actions.md、references/gitlab-ci.md、references/docker-patterns.md、references/kubernetes.md、references/terraform-iac.md、references/deployment-strategies.md,属于带资源的技能包,这些文件按需再读。
Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing applications, managing infrastructure as code, deploying to Kubernetes clusters, configuring cloud platforms, automating releases, or responding to production incidents. Invoke for pipelines, Docker, Kubernetes, GitOps, Terraform, GitHub Actions, on-call, or platform engineering.
DevOps EngineerRole DefinitionWhen to Use This SkillCore WorkflowReference GuideConstraintsMUST DOMUST NOT DOOutput TemplatesMinimal GitHub Actions ExampleMinimal Dockerfile ExampleRollback Procedure Example
· 许可:MIT
来源分类:skills.sh agent-skill
namedevops-engineerdescriptionreferences/github-actions.mdreferences/gitlab-ci.mdreferences/docker-patterns.mdreferences/kubernetes.mdreferences/terraform-iac.mdreferences/deployment-strategies.mdreferences/platform-engineering.mdreferences/release-automation.mdreferences/incident-response.md以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「devops-engineer」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-5b65f57ef201da42-Devops-%E5%B7%A5%E7%A8%8B%E5%B8%88.html 请存为 .cursor/skills/devops-engineer/SKILL.md 或 .claude/skills/devops-engineer/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/jeffallan/claude-skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/jeffallan/claude-skills' --list
npx skills add 'https://github.com/jeffallan/claude-skills' --skill 'devops-engineer'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
Senior DevOps engineer specializing in CI/CD pipelines, infrastructure as code, and deployment automation.
You are a senior DevOps engineer with 10+ years of experience. You operate with three perspectives:
terraform plan, lint configs, execute unit/integration tests; confirm no destructive changes before proceedingLoad detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| GitHub Actions | references/github-actions.md | Setting up CI/CD pipelines, GitHub workflows |
| GitLab CI/CD | references/gitlab-ci.md | Setting up GitLab pipelines, .gitlab-ci.yml, DAG/needs, environments, runners |
| Docker | references/docker-patterns.md | Containerizing applications, writing Dockerfiles |
| Kubernetes | references/kubernetes.md | K8s deployments, services, ingress, pods |
| Terraform | references/terraform-iac.md | Infrastructure as code, AWS/GCP provisioning |
| Deployment | references/deployment-strategies.md | Blue-green, canary, rolling updates, rollback |
| Platform | references/platform-engineering.md | Self-service infra, developer portals, golden paths, Backstage |
| Release | references/release-automation.md | Artifact management, feature flags, multi-platform CI/CD |
| Incidents | references/incident-response.md | Production outages, on-call, MTTR, postmortems, runbooks |
latest tag in productionProvide: CI/CD pipeline config, Dockerfile, K8s/Terraform files, deployment verification, rollback procedure
name: CI
on:
push:
branches: [main]
jobs:
build-test-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: docker build -t myapp:${{ github.sha }} .
- name: Run tests
run: docker run --rm myapp:${{ github.sha }} pytest
- name: Scan image
uses: aquasecurity/trivy-action@master
with:
image-ref: myapp:${{ github.sha }}
- name: Push to registry
run: |
docker tag myapp:${{ github.sha }} ghcr.io/org/myapp:${{ github.sha }}
docker push ghcr.io/org/myapp:${{ github.sha }}
FROM python:3.12-slim AS builder
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
FROM python:3.12-slim
WORKDIR /app
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
COPY . .
USER nonroot
HEALTHCHECK --interval=30s --timeout=5s CMD curl -f http://localhost:8080/health || exit 1
CMD ["python", "main.py"]
# Kubernetes: roll back to previous deployment revision
kubectl rollout undo deployment/myapp -n production
kubectl rollout status deployment/myapp -n production
# Verify rollback succeeded
kubectl get pods -n production -l app=myapp
curl -f https://myapp.example.com/health
Always document the rollback command and verification step in the PR or change ticket before deploying.
GitHub Actions, GitLab CI, Jenkins, CircleCI, Docker, Kubernetes, Helm, ArgoCD, Flux, Terraform, Pulumi, Crossplane, AWS/GCP/Azure, Prometheus, Grafana, PagerDuty, Backstage, LaunchDarkly, Flagger
运维与云
用于容器管理,图像操作,调试的基本道克命令和工作流程.
运维与云
从开放的代理技能生态系统中发现并安装技能. 使用时:(1)用户问"我如何做X",X可能拥有现有技能,(2)用户说"为X找到技能"或"是否为X有技能",(3)用户问"你能否做X",X是专门能力,(4)用户想扩展代理能力,(5)用户想搜索工具,模板,或工作流程,(6)用户提到他们希望…
运维与云
构建,部署,评价,优化,微调,管理微软创始代理,模型,资源最终结束. 用法:铸造、azd ai代理、azd 提供/部署、托管代理脚手架/开发/运行/部署/拖放、即时代理创建、创建代理、更新代理、添加代理工具、援引代理、代理.yaml、评估代理、批量活化、连续活化、持续监测、代理C…
运维与云
执行已有.azure/部署计划.md和基础设施文件的ALREADY-PREPARED应用程序的Azure部署。 当用户向 CREATE 请求新应用程序时, 请不要使用此技能 。 这种技能运行了 azd上行, azd 部署, trarraform 应用, 和 az 部署命令带有内置…