state-discipline

Installation
SKILL.md

Skill: State Discipline (IaC)

Tool-agnostic (Terraform/OpenTofu, Pulumi, or the project's tool — memory-long §stack). The execution restriction binds always: preview/apply/destroy are human-only.

State hygiene

  • State is never edited by hand or by agent — state surgery (mv, rm, import) is proposed as exact commands for the human, with a backup step first
  • Remote backend + locking from day one (backend config from memory-long §conventions)
  • One state per blast-radius boundary (env/component) — monolithic state = monolithic failure

Module discipline

  • Rule of three: third similar resource block → module proposal (sr-infra)
  • Modules expose intent, not internals: few required inputs, sane defaults, documented outputs · versioned/pinned when shared across repos
  • No module reaches into another's resources — cross-boundary needs go through outputs/data sources

Drift & change safety

Installs
1
GitHub Stars
6
First Seen
Nov 6, 2026