lang-tf
Terraform / OpenTofu standards and tooling.
适合你,如果日常用 Terraform 或 OpenTofu 管理云基础设施
/ 通过 npx 安装 校验哈希
npx oh-my-skill add dragoscirjan/opencode-config/lang-tf/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dragoscirjan/opencode-config/lang-tf/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dragoscirjan/opencode-config/lang-tf安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~129上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 f561928 · 表述以原文为准它做什么
Claude 会按照 HashiCorp 风格指南编写 Terraform/OpenTofu 代码,使用 terraform fmt 格式化,并推荐模块化结构、固定 provider 版本、使用变量验证块,以及远程状态后端。
什么时候触发
当你要求编写或审查 Terraform/OpenTofu 配置时触发。
装好后可以这样说
Claude 会生成符合规范的代码。
Claude 会审查并给出改进建议。
技能原文 SKILL.md
TF Standards
- Style: HashiCorp Style Guide.
- Tooling:
terraform fmt/tofu fmt,tflint,tfsec/checkov. - Structure: One concern per file (
main.tf,variables.tf,outputs.tf). - Best Practices: Use Modules for reusable components. Pin provider versions. Use
validationblocks on variables. - State: Use remote state backends with state locking. Never commit
.tfstate.
Always load clean-code alongside this skill.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…