Lang Terraform
Plan, validate, and format Terraform infra.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-terraform |
| Version | 1.1.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
Reference: full SKILL.md
info
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Terraform / OpenTofu Language Pack Skill
Drive Terraform / OpenTofu work with the project index and standard CLI recipes.
LSP hint: terraform-ls (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Язык/инструмент Infrastructure as Code: описываете облако (серверы, сети, БД) файлами, а не руками в консоли.
Лучше всего для:
- AWS / GCP / Azure инфраструктура
- повторяемые окружения (dev/stage/prod)
- сети, DNS, Kubernetes-кластеры как код
When to Use
Выбирай этот pack, если:
- нужно поднять/изменить облачную инфраструктуру
- есть *.tf / *.tfvars
- интернет-проект требует серверов, балансировщиков, managed DB
Manifests (автодетект репозитория): *.tf, *.tfvars, .terraform.lock.hcl
Обычно рядом: Любой язык приложения; часто рядом Docker/K8s.
См. также skill choose-language-pack, если цель ещё не ясна.
When NOT to use
- только код приложения без инфры → язык приложения (TS/Go/…)
- одноразовый ручной эксперимент → можно CLI облака, но не для прода
Prerequisites
vibeos pack apply lang-terraform --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
terraform fmt -check -recursive
terraform validate
terraform plan
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-terraform --apply |
| Doctor | vibeos language doctor terraform |
| Primary test | terraform test |
| Choose guide | skill choose-language-pack |
Procedure
- Если язык ещё не выбран для нового проекта — сначала
choose-language-pack. - Work from the project root that matches pack manifests.
- Index query →
read_file→ edit → path-scoped tests when iterating. - Prefer the package manager / toolchain already locked in the repo.
- Explain non-obvious toolchain choices in plain language for the user.
Pitfalls
- Never apply without explicit user ask; prefer plan + validate.
- Secrets stay in env / remote state — never commit keys.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor terraform
terraform validate || tofu validate