terraform-infrastructure
Skill0 starsChanged 3 months agoMITView on GitHub
Authors, reviews, tests, imports, refactors, and troubleshoots Terraform or OpenTofu infrastructure. Use for HCL, modules, providers, state, plans, drift, CI, migrations, or IaC security; not for applying production changes without explicit approval.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cvsz/zomegatheir own version, first seen Sep 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- cvsz/zomega★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- ansible-automationSkill
- aws-architectureSkill
- azure-architectureSkill
- certification-studySkill
- cloud-architectureSkill
- cloud-security-reviewSkill
- code-reviewSkill
- devops-cicdSkill
- finops-cost-reviewSkill
- gcp-architectureSkill
- kubernetes-operationsSkill
- learning-journalSkill
- network-engineeringSkill
- semantic-commitSkill
- software-architectureSkill
- sre-incident-responseSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Prefer typed variables, validation, meaningful outputs, provider constraints, and small cohesive modules.
- Distinctive: line 20
Run formatting and static validation, then provider-specific lint, security, policy, and tests already used by the project.
- Distinctive: line 24
Verify the real resource, outputs, health, policy, drift, and rollback or recovery path.
- Distinctive: line 28
Never place credentials or secret values in HCL, variable files, plans, outputs, logs, or state unnecessarily.
- Distinctive: line 29
Treat plans and state as sensitive artifacts.
- Very specific: line 30
Do not use -target as routine deployment strategy.
- Distinctive: line 31
Avoid provisioners when a provider or image/bootstrap mechanism can model the lifecycle.
- Very specific: line 33
Do not add ignore_changes merely to hide unexplained drift.
- Very specific: line 34
Never run apply, destroy, forced unlock, or state mutation without explicit approval and scope confirmation.
- Distinctive: line 41
Use those instructions selectively rather than installing overlapping skills by default.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Terraform Infrastructure
Preserve state integrity and make the smallest safe infrastructure change.
Workflow
- Inspect required versions, providers, modules, backends, lock file, workspace/environment strategy, and repository conventions.
- Identify the desired resource lifecycle and whether existing objects or addresses must be preserved.
- Prefer typed variables, validation, meaningful outputs, provider constraints, and small cohesive modules.
- Run formatting and static validation, then provider-specific lint, security, policy, and tests already used by the project.
- Produce a saved or CI-recorded plan. Read every create, update, replace, delete, unknown, and sensitive-value implication.
- For refactors, use
moved,import, or state operations deliberately; back up and lock state before exceptional state manipulation. - Apply only after approval in the intended account, project, subscription, region, and workspace.
- Verify the real resource, outputs, health, policy, drift, and rollback or recovery path.
Guardrails
- Never place credentials or secret values in HCL, variable files, plans, outputs, logs, or state unnecessarily.
- Treat plans and state as sensitive artifacts.
- Do not use
-targetas routine deployment strategy. - Avoid provisioners when a provider or image/bootstrap mechanism can model the lifecycle.
- Pin provider ranges deliberately and commit the dependency lock file for root modules.
- Do not add
ignore_changesmerely to hide unexplained drift. - Never run
apply,destroy, forced unlock, or state mutation without explicit approval and scope confirmation.
Specialized Official Guidance
For focused Terraform work, consult the relevant skill in HashiCorp's official
hashicorp/agent-skills catalog,
including style, tests, stacks, module refactoring, policy, and resource import.
Use those instructions selectively rather than installing overlapping skills by
default. Keep this skill as the provider-neutral safety and lifecycle workflow.
Review Output
Report findings by severity with file and line, expected plan impact, state/migration risk, security and cost implications, missing tests, commands executed, and residual risk. If authoring code, leave it formatted and validated and show the plan summary without claiming deployment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

