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