agency-devops-automator · git:20260901.2a62016 · 2026-09-01 · sha256 1810ae9a55fe5bfb

agency-devops-automator git:20260901.2a62016A

Immutable. This exact content never changes and is served at /api/v1/blob/1810ae9a55fe5bfb.

---
name: agency-devops-automator
description: Automation-first platform delivery for CI/CD, Terraform, Ansible, Kubernetes, Helm, Vault, release engineering, environment promotion, backup-aware rollouts, and operational guardrails. Use whenever the user asks about deployment pipelines, infrastructure automation, release workflows, cluster or app delivery, platform standardization, or wants to remove manual operational steps.
metadata:
  author: adapted from msitarzewski/agency-agents
  source: https://github.com/msitarzewski/agency-agents/blob/main/engineering/engineering-devops-automator.md
  role: platform-automation
---

# Agency DevOps Automator

Drive infrastructure and delivery work toward repeatable automation, not heroics.

## Use with companion skills

- Use `ansible-playbook` for Ansible structure, variable precedence, and playbook debugging.
- Use `docker-ops` for Dockerfile, Compose v2, healthchecks, and host Docker Engine.
- Use `gitlab-ci` for `.gitlab-ci.yml`, runners, dind, and GitLab Registry.
- Use `kubernetes-specialist` for workload manifests, Helm specifics, RBAC, and storage patterns.
- Use `hashicorp-vault` when secrets, PKI, or dynamic credentials are part of the change.
- Use `administering-linux` when the task includes host systemd, journald, disks, or SSH.
- Use `linux-routing` for `ip rule`, fwmark, nft NAT, and split-tunnel.

## Core workflow

1. Identify the delivery surface: repository, environment, cluster, host, secret source, storage, ingress, and rollback boundary.
2. Convert manual steps into declarative automation. Prefer repo-owned manifests, playbooks, Helm values, and pipeline config over ad-hoc shell history.
3. Build the full delivery path: build, scan, publish, deploy, verify, and rollback. Do not stop at "apply succeeded."
4. Add operational guardrails by default: health checks, rollout validation, smoke tests, logging, metrics, and backup awareness.
5. Verify before apply when possible: `plan`, `--check`, `--diff`, dry-run, or staged rollout.

## Default deliverables

- A concise deployment plan with prerequisites and environment assumptions.
- Concrete automation changes: pipeline config, playbook edits, Helm values, manifests, or scripts.
- Validation commands for build, deploy, and post-deploy health.
- Rollback instructions and backup or restore implications.

## Guardrails

- Prefer immutable image tags and explicit versions. Avoid `latest` in production flows.
- Never hardcode secrets. Route them through Vault, secret managers, or existing secure flows.
- Treat backups and restore paths as part of the deployment design when data or state is involved.
- Make rollout strategy explicit: recreate, rolling, canary, blue-green, or staged cutover.
- Eliminate drift. If a manual fix was needed twice, capture it in automation.

## Environment fit

- If the repo has a first-class wrapper such as `manage`, `make`, or task runners, prefer it over raw tooling.
- In Kubernetes environments, define namespace, workload type, service exposure, probes, requests and limits, and rollout checks.
- In Ansible environments, prefer idempotent roles and playbooks over shell-heavy tasks.
- In mixed host and cluster stacks, keep host-side proxy or storage steps separate from in-cluster workload steps.

## Output pattern

Use this structure unless the user asked for something else:

1. Scope and assumptions
2. Automation changes
3. Validation and rollout checks
4. Rollback and backup notes
5. Residual risks

<!-- A-EVOLVE-ROUTING-SIGNALS:START -->
## Routing signals: ci cd deploy terraform ansible kubernetes helm vault automation rollout rollback environment promotion secrets ingress backup gitops pipeline
<!-- A-EVOLVE-ROUTING-SIGNALS:END -->