terraform
Skill4 starsChanged 4 months agoApache-2.0View on GitHub
Terraform conventions and patterns. Use when writing, reviewing, or debugging Terraform code, HCL files, or infrastructure-as-code.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- iliaal/ai-skillstheir own version, first seen Oct 3, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- AvilaCarlosDev/openclaw-skillstheir own version, first seen Sep 19, 2026
- Rikinshah787/agent-skills-production-skillstheir own version, first seen Aug 10, 2026
- Jylhis/skillstheir own version, first seen Aug 5, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
Used with
Projects with it also use ansible, kubernetes and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
KubementatSkillansible
Ansible automation reference for playbooks, roles, inventory, variables, and modules. Includes Proxmox VE and Docker integration via community.general and community.docker collections. Use when writing playbooks, troubleshooting Ansible runs, or designing automation workflows. Triggers: ansible, playbook, inventory, role, task, handler, vars, jinja2, galaxy, proxmox_kvm, proxmox_lxc, docker_container, docker_compose.
Also in 3 projects that use this
mjunaidcaSkillkubernetes
Production-grade Kubernetes manifests and debugging for containerized applications. This skill should be used when users ask to deploy to Kubernetes, create K8s manifests, containerize for K8s, set up Deployments/Services/Jobs/StatefulSets/CronJobs, create namespaces with resource quotas, set up multi-team isolation, configure ResourceQuota/ LimitRange, secure with RBAC (ServiceAccount, Role, RoleBinding), configure init containers (model download, db wait, migrations), set up sidecars (logging, metrics), or debug pods (CrashLoopBackOff, logs, exec, describe, events). Auto-detects from Dockerfile/code, generates hardened manifests with educational comments. CKAD-aligned.
Also in 3 projects that use this
thomashartmSkillgithub-actions
Manage GitHub Actions workflows. Use when the user wants to list workflows, view run history, check running workflows, trigger workflow_dispatch, view logs, or cancel runs. Auto-detects repository from git remote. Triggers on phrases like "list workflows", "workflow runs", "trigger workflow", "start deploy", "github actions", "view logs", "cancel run", "running workflows".
Also in 4 projects that use this
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 4 projects that use this
OpenAISkillnextjs
Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware/proxy, data fetching, rendering strategies, and deployment on Vercel.
Also in 3 projects that use this
akornmeierSkilldocker
Guide for using Docker - a containerization platform for building, running, and deploying applications in isolated containers. Use when containerizing applications, creating Dockerfiles, working with Docker Compose, managing images/containers, configuring networking and storage, optimizing builds, deploying to production, or implementing CI/CD pipelines with Docker.
Also in 4 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- Mindrally/skills★ 266same name
- magnus919/agent-skills★ 109same name
- iliaal/ai-skills★ 43same name
- georgekhananaev/claude-skills-vault★ 28same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- greedychipmunk/agent-skills★ 19same name
- iuliandita/skills★ 7same name
- DongDuong2001/pudo-code-system★ 5same name
- antoniodiaz02/opencode-devops-skills★ 4same name
- benjaminwestern/google-engineer-skills★ 4same name
8 more not listed
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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- commit-messagesSkill
- securitySkill
- speckit-analyzeSkill
- speckit-checklistSkill
- speckit-clarifySkill
- speckit-constitutionSkill
- speckit-git-commitSkill
- speckit-git-featureSkill
- speckit-git-initializeSkill
- speckit-git-remoteSkill
- speckit-git-validateSkill
- speckit-implementSkill
- speckit-planSkill
- speckit-specifySkill
- speckit-tasksSkill
- speckit-taskstoissuesSkill
- speckit-workflow-post-implSkill
- speckit-workflow-post-planSkill
- speckit-workflow-post-specSkill
- speckit-workflow-pre-commitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 6 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use terraform.tfvars for environment-specific values, never commit it
- Very specific: line 20
Prefer for_each over count — avoids index shift problems on removal
- Very specific: line 21
Use locals for computed values and repeated expressions
- Distinctive: line 22
Use data sources to reference existing resources, never hardcode ARNs
- Very specific: line 24
Use sensitive = true for any output containing secrets
- Very specific: line 27
Never use "*" in IAM policy resources or actions unless explicitly justified
- Distinctive: line 28
Prefer IAM roles with OIDC over long-lived access keys
- Distinctive: line 31
Use security groups with least-privilege ingress/egress rules
- Very specific: line 34
Run terraform fmt after every change
- Very specific: line 35
Run terraform validate before plan
- Very specific: line 36
Run tflint for linter checks
- Very specific: line 37
Run checkov or tfsec for security scanning
- Very specific: line 38
Always show terraform plan output before any apply
- Very specific: line 41
Never use terraform apply -auto-approve in any environment
- Distinctive: line 42
Never hardcode AWS account IDs — use data sources or variables
- Distinctive: line 43
Never store state locally — always use remote backend
- Distinctive: line 44
Never use default VPC or default security groups
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Terraform Conventions
Structure
- One resource per file when files exceed 200 lines
- Group related resources in the same file when small
- Variables in
variables.tf, outputs inoutputs.tf - Use
terraform.tfvarsfor environment-specific values, never commit it
Naming
- Resources: snake_case, descriptive (
aws_iam_role.lambda_execution) - Variables: snake_case with clear purpose (
vpc_cidr_block, notcidr) - Outputs: snake_case matching the resource attribute they expose
Patterns
- Prefer
for_eachovercount— avoids index shift problems on removal - Use
localsfor computed values and repeated expressions - Use data sources to reference existing resources, never hardcode ARNs
- Remote state in S3 with DynamoDB lock table
- Use
sensitive = truefor any output containing secrets
Security
- Never use
"*"in IAM policy resources or actions unless explicitly justified - Prefer IAM roles with OIDC over long-lived access keys
- Tag all resources:
environment,team,project,managed_by = "terraform" - Enable encryption at rest and in transit by default
- Use security groups with least-privilege ingress/egress rules
Validation
- Run
terraform fmtafter every change - Run
terraform validatebefore plan - Run
tflintfor linter checks - Run
checkovortfsecfor security scanning - Always show
terraform planoutput before any apply
Anti-Patterns
- Never use
terraform apply -auto-approvein any environment - Never hardcode AWS account IDs — use data sources or variables
- Never store state locally — always use remote backend
- Never use default VPC or default security groups
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.

