reconcile-iac

Solid

Use this skill to audit Terraform/OpenTofu drift, reconcile state, run a pre-change preflight, or check an incoming IaC diff for ADR compliance. Triggers on "reconcile my infrastructure", "check for drift", "drift audit", "what drifted", "before I change X check drift", "is my infra in sync", "adr-check", "does this change comply", "check this diff against our ADRs", "compliance check this IaC change". Never autonomously applies. Shares generate-iac's references and reviewers.

DevOps & Infrastructure 14 stars 4 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 79/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Skill: reconcile-iac `plan`-based drift audit → ADR compliance check → proposed disposition → route. Audit and propose; a human (or the `release-loop` consent gate) decides. Never autonomously apply. ## Three triggers — all first-class | Trigger | When | What it does | | --- | --- | --- | | **Before-change preflight** | Before every follow-on infrastructure change (mandatory, not optional) | Runs a `plan` against live state to surface drift *before* the new change lands on top of it — prevents layering change on unknown drift | | **On-demand / scheduled** | On request or on a scheduled cadence | Standalone drift snapshot for quiescent infrastructure; the author-side safety net when `release-loop` is absent | | **ADR compliance check** | When an IaC diff arrives that was NOT authored by `generate-iac` (hand-edit, external PR, CI gate) | Checks the diff against the governance-index ADRs — covers the compliance gap for changes the generation skill didn't author | **Recommended cadence (Triggers 1 and 2):** (1) Before every follow-on change — mandatory preflight; (2) Weekly minimum on a scheduled basis — regular drift snapshot even in quiescent periods; (3) Immediately after a known out-of-band event — break-glass action, console change, provider-managed auto-modification, or a known pipeline failure. **Trigger 3 fires on demand**, not on a cadence — invoke when a diff arrives that did not go through `generate-iac`. ## Known blind spot — document and do not hide `terrafo...

Details

Author
eugenelim
Repository
eugenelim/agent-ready-repo
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

generate-iac

Use this skill to author governed, best-practice Terraform/OpenTofu infrastructure from a plain-language intent. Triggers on "provision X", "create Terraform for", "generate IaC for", "set up cloud resources", "write Terraform for", "scaffold infrastructure". Stops at a digest-pinned `terraform plan` (G4 handoff); never runs `apply`. Governance-first — loads the decision-record index before any code.

14 Updated today
eugenelim
AI & Automation Listed

iac-guard

对 Terraform、Kubernetes 与通用 YAML 基础设施代码做安全与最佳实践审查,识别硬编码密钥、特权容器、缺失资源限制、开放安全组、未加密存储、特权提权等风险,并给出分级修复建议与漂移检测思路。当用户说"审查 terraform"、"检查 k8s yaml"、"iac 安全"、"review IaC"、"iac-guard"、"扫描基础设施代码"时使用。

1 Updated today
whaojie797-design
AI & Automation Listed

drift-detection-reconciliation-desk

detect and reconcile cloud infrastructure drift by comparing declared state in code against live provider state on a defined cadence, score the drift inventory by consequence rather than count, attribute each change to its actual origin from audit and activity log evidence, suppress provider-side diff noise deliberately, decide reconciliation disposition across codify and revert and adopt and accept, import unmanaged resources safely, and change the guardrail that stops the drift recurring.

2 Updated 3 days ago
MadewellRD