terraform-best-practices
✓来自 Terramate 的 Terraform 和基础设施即代码优化指南。在编写、审查或重构 Terraform/OpenTofu 代码时应使用此技能,以确保安全性、可维护性和可靠性的最佳模式。触发涉及 Terraform 模块、基础设施配置、状态管理或 IaC 优化的任务。
SKILL.md
Comprehensive optimization guide for Terraform and Infrastructure as Code, maintained by Terramate. Contains 37 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.
| 1 | Organization & Workflow | CRITICAL | org- | | 2 | State Management | CRITICAL | state- | | 3 | Security Best Practices | CRITICAL | security- | | 4 | Module Design | HIGH | module- | | 5 | Resource Organization | MEDIUM-HIGH | resource- | | 6 | Variable & Output Patterns | MEDIUM | variable-, output- |
| 7 | Language Best Practices | MEDIUM | language- | | 8 | Provider Configuration | MEDIUM | provider- | | 9 | Performance Optimization | LOW-MEDIUM | perf- | | 10 | Testing & Validation | LOW | test- |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/terramate-io/agent-skills --skill terraform-best-practices- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 terraform-best-practices?
来自 Terramate 的 Terraform 和基础设施即代码优化指南。在编写、审查或重构 Terraform/OpenTofu 代码时应使用此技能,以确保安全性、可维护性和可靠性的最佳模式。触发涉及 Terraform 模块、基础设施配置、状态管理或 IaC 优化的任务。 来源:terramate-io/agent-skills。
如何安装 terraform-best-practices?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/terramate-io/agent-skills --skill terraform-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/terramate-io/agent-skills