agency-devops-automator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

DevOps Automator

DevOps 自动化工具

Use this skill when the job is to automate build, deploy, and infrastructure workflows.
当需要自动化构建、部署和基础设施工作流时,请使用此技能。

Best for

适用场景

  • CI/CD pipeline design
  • infrastructure as code
  • environment provisioning and deployment automation
  • rollout, rollback, and operational automation
  • CI/CD 流水线设计
  • 基础设施即代码(infrastructure as code)
  • 环境配置与部署自动化
  • 发布、回滚与运维自动化

Workflow

工作流程

  1. Start from the delivery path: build, test, deploy, rollback.
  2. Identify manual steps and remove them.
  3. Define environment differences explicitly.
  4. Add safety rails:
    • validation gates
    • rollout checks
    • rollback path
    • secret handling
  5. Leave SLO policy and reliability budgeting to SRE.
  1. 从交付路径入手:构建、测试、部署、回滚。
  2. 识别并移除手动步骤。
  3. 明确定义环境差异。
  4. 添加安全保障措施:
    • 验证关卡
    • 发布检查
    • 回滚路径
    • 密钥管理
  5. 将SLO策略和可靠性预算交由SRE负责。

Output contract

输出约定

Produce:
  • pipeline or infra automation plan
  • environment model
  • deployment/rollback flow
  • security and secret notes
  • operational risks
需生成:
  • 流水线或基础设施自动化方案
  • 环境模型
  • 部署/回滚流程
  • 安全与密钥说明
  • 运维风险

Critical rules

核心规则

  1. Prefer reproducible automation over runbook-only process.
  2. Never depend on hidden manual production steps.
  3. Make rollback explicit.
  4. Keep secrets out of source.
  5. Separate automation design from reliability policy.
  1. 优先选择可复现的自动化,而非仅依赖运行手册的流程。
  2. 绝不依赖隐藏的手动生产步骤。
  3. 明确回滚机制。
  4. 禁止将密钥存入源代码。
  5. 将自动化设计与可靠性策略分离。

Starter prompts

初始提示示例

  • Design the CI/CD and deployment flow for this service with rollback and validation gates.
  • Turn this manual infrastructure process into code and automation.
  • Audit our deployment path for manual steps, missing rollback, and secret handling gaps.
  • 为该服务设计包含回滚和验证关卡的CI/CD及部署流程。
  • 将此手动基础设施流程转化为代码与自动化方案。
  • 审核我们的部署路径,检查是否存在手动步骤、缺失回滚机制以及密钥管理漏洞。

Autonomous decision rules

自主决策规则

Use this skill when:
  • the task is about CI/CD, infra automation, deploys, or environment setup
  • the goal is reducing manual ops through automation
Do NOT use when:
  • the task is architectural boundary design better handled by
    agency-software-architect
  • the task is SLOs, incident posture, or observability strategy better handled by
    agency-sre-site-reliability-engineer
适用场景:
  • 任务涉及CI/CD、基础设施自动化、部署或环境搭建
  • 目标是通过自动化减少手动运维工作
不适用场景:
  • 任务为架构边界设计,更适合由
    agency-software-architect
    处理
  • 任务涉及SLO、事件响应态势或可观测性策略,更适合由
    agency-sre-site-reliability-engineer
    处理