Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)5.1k · #15116

omh-iac-change

Ce qu’il fait

Il lit un plan d'infrastructure enregistré pour montrer la dérive, le rayon d'impact et l'évolution des coûts, puis planifie une application par étapes avec un contrôle de santé et une restauration à chaque étape. Il s'adresse aux ingénieurs qui modifient une configuration cloud ou de cluster.

Quand l’utiliser

  • ✓Quand un plan Terraform ou OpenTofu montre une dérive et que vous voulez le revoir d'abord.
  • ✓Quand vous modifiez un manifeste Kubernetes ou un chart Helm et voulez comprendre le risque.
  • ✓Quand vous voulez une application d'infrastructure découpée en étapes, avec une restauration à chaque étape.

Lien du skill

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-iac-change/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-iac-change/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Le plan Terraform montre une dérive dans le cluster Kubernetes. Revois-le et prépare une application sûre par étapes.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent lit le plan enregistré, distingue la dérive existante du changement proposé, et ordonne l'application en étapes. Chaque étape comporte un contrôle de santé et une étape de restauration.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.md for 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,
Questions fréquentes

Applique-t-il lui-même le changement ?

Il planifie l'application par étapes. L'application réelle reste une action que vous contrôlez.

Couvre-t-il les versions des applications ?

Non. La mise en production d'une version d'application relève d'une skill de suivi de déploiement.

A-t-il besoin du plan enregistré ?

Oui. Il part du plan ou de la sortie de diff enregistrés avant d'évaluer quoi que ce soit.

Détails

Description originale de l’auteur

[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

Popularité

Étoiles GitHub
5.1k
Position au classement
#15116
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires