omh-iac-change
하는 일
저장된 인프라 계획을 읽어 드리프트, 영향 범위, 비용 변화를 보여 주고, 단계별 적용을 계획합니다. 각 단계마다 상태 점검과 롤백을 둡니다. 클라우드나 클러스터 설정을 바꾸는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓Terraform이나 OpenTofu 계획에 드리프트가 보여서 먼저 검토하고 싶을 때.
- ✓Kubernetes 매니페스트나 Helm 차트를 바꾸고 위험을 이해하고 싶을 때.
- ✓각 단계에 롤백을 둔 인프라 적용을 단계화하고 싶을 때.
스킬 링크
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-iac-change/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Terraform 계획에서 Kubernetes 클러스터의 드리프트가 보여요. 검토하고 적용을 안전하게 단계화해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 저장된 계획을 읽고, 기존 드리프트와 제안된 변경을 구분하며, 적용을 여러 단계로 정렬합니다. 각 단계에는 상태 점검과 롤백 단계가 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Iac Change
This is an OMH iac-change workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
iac-change exists because infrastructure changes had no owner: deploy-and-monitor watches an application release, release-cut decides one, and inference-serving deploys a model server, while a Terraform plan with drift, a Helm chart change, or a manifest edit reached a generic planner with no blast radius, cost delta, or staged apply at all.
First Steps
- Ask for the saved plan or the diff output before assessing anything.
- Separate existing drift from the proposed change before ordering stages.
Do Not Use When
- The ask is shipping a new version of the application and watching its health signals after the deploy; use
omh-deploy-and-monitor. - The ask is deciding a versioned release -- what goes in, its tag, or its canary -- rather than changing declared infrastructure; use
omh-release-cut. - The ask is choosing and deploying a model-serving engine; use
omh-inference-serving. - Production is down or degraded right now and the ask is command of the incident; use
omh-live-incident-response.
Examples
Good example:
- Prompt: terraform plan shows drift in the kubernetes cluster, stage the apply
- Expected behavior: Separate the drift from a refresh-only plan, read the saved plan's creates, replacements and destroys, give the cost delta or mark it unestimated, and stage the apply from staging to production with a rollout-status gate and a rollback per stage.
- Why: Applying over unresolved drift changes resources nobody meant to touch.
Bad example:
- Prompt: just run terraform apply -auto-approve in prod, the plan looked fine yesterday
- Expected behavior: Refuse the fresh apply: re-plan, save the plan, read its replacements and destroys, and apply that saved plan behind a health gate.
- Why: Yesterday's plan is not today's apply; drift and other merges change what a fresh apply does.
Completion Checklist
- Existing drift is separated from the proposed change.
- Every replacement or destroy is listed, and each stateful one waits for explicit approval.
- The cost delta is observed or marked unestimated.
- Every stage names its health gate and its rollback.
- OMH ran nothing, and every fact cites observed output or is marked unverified.
Recovery Notes
- If no saved plan exists, stop at the plan step and ask for one; do not assess from the diff of the code alone.
- If a resource cannot be rolled back, say so in its stage and ask for approval before that stage.
When to Use
Use when a change to declared infrastructure is about to be applied or has drifted: a Terraform, OpenTofu, Pulumi or CloudFormation plan, a Kubernetes manifest or kustomization, or a Helm chart or values change. The output is the drift between state and reality, the blast radius and cost delta read from the saved plan, and a staged apply where every stage has a health gate and a rollback; OMH applies nothing.
Strong routing signals: `iac-change`, `iac change`, `infrastructure as code`, `infrastructure-as-code`, `terraform plan`, `terraform apply`, `terraform state`, `terraform drift`, `terraform module`, `terraform change`, `opentofu`, `tofu plan`, `pulumi`, `pulumi preview`, `pulumi up`, `cloudformation`, `cloudformation change set`, `helm upgrade`, `helm diff`, `helm chart`, `helm chart change`, `kubectl apply`, `kubectl diff`, `kustomize`, `kubernetes manifest`, `kubernetes manifests`, `k8s manifest`, `k8s manifests`, `infracost`, `drift detection`, `cost delta`, `staged apply`, `stage the apply`
Catalog Metadata
Category: planning
Phase: iac-change
Quality tier: staged-apply-gated
Reasoning demand: standard
Quality bar:
- Read the saved plan or diff before anything else; the blast radius is what the plan says, not what the change was meant to do.
- Load
references/iac-change-method.mdfor the per-tool drift, plan, health and rollback commands and the replacement markers instead of recalling them. - Resolve existing drift before the apply, so the apply changes only what the change meant to.
- Give every stage a health gate and a rollback; a stage with neither is not a stage.
- Keep prepared, applied, and verified as separate states for every stage.
Required inputs:
- the tool and the unit of change: the Terraform workspace or stack, the cluster and namespace, or the Helm release
- the environments the change reaches,
자주 묻는 질문
변경을 직접 적용하나요?
단계별 적용을 계획합니다. 실제 적용은 여러분이 통제하는 작업입니다.
앱 릴리스도 다루나요?
아니요. 앱 버전 배포는 배포 모니터링 스킬이 다룹니다.
저장된 계획이 필요한가요?
네. 무엇을 평가하기 전에 저장된 계획이나 디프 출력에서 시작합니다.
상세 정보
작성자의 원본 설명
[omh] Infrastructure-as-code change -- Terraform, OpenTofu, Pulumi, a Kubernetes manifest, a Helm chart: read the drift, the blast radius and the cost delta from the saved plan, then stage the apply behind a health gate with a rollback per stage. Use when the user says: iac-change, iac change, infrastructure as code, infrastructure-as-code, terraform plan, terraform apply, terraform state, terraform drift.
repo: rlaope/oh-my-hermes
인기도
- GitHub 스타
- 5.1k
- 순위
- #15116
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
omh-accessibility-audit
5.1k에이전트가 화면이나 흐름을 키보드 사용, 스크린 리더 레이블, 명암비, 터치 대상 크기 측면에서 접근성 부족이 없는지 점검하도록 돕습니다.
omh-adversarial-consensus
5.1k에이전트가 기술 제안을 독립된 여러 관점에서 공격하고, 결정 전에 살아남는 내용을 요약하도록 돕습니다.
omh-agent-debug
5.1k다른 AI 에이전트가 왜 멈추거나, 반복하거나, 방향을 잃는지 알아내고, 가장 작고 안전한 복구 방법을 제안하도록 돕습니다.
omh-agent-instructions
5.1kAI 도구가 프로젝트에서 어떻게 작업할지 알려 주는 지침 파일, 예를 들어 AGENTS.md나 CLAUDE.md를 작성하거나 업데이트하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.