
antonbabenko/terraform-skill
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Terraform & OpenTofu AI エージェント向けスキル - テスト、モジュール、CI/CD、本番パターン
概要
TerraformやOpenTofu、AIコーディングエージェント(Claude Code、Cursor、Copilot、Gemini CLI、OpenCode、Codex、Kiroなど)向けのベストプラクティススキルです。エージェントがコードをテストし、モジュールを構築し、CI/CDを設定し、本番環境のインフラコードを書くのを助けます。 AWS、Azure、GCPはすべて一流です。例ではAWSがデフォルトですが、同じバックエンド、認証、セキュリティ、リソースのガイダンスが3つすべてに適用されます。AzureやGCPのパターンに相当するものを求めれば、スキルがマッピングします。 - ネイティブテストとTerratestの判定行列- テストワークフロー(静的、統合、E2E)- 例とパターン - 構造と命名規則 - バージョン管理戦略 - 公開モジュールとプライベートモジュールのパターン - リモートバックエンド(S3、Azure、GCS、Terraform Cloud) - ロックとセキュリティ - マルチチーム状態隔離 - 移行および回復手順 - GitHub Actionsワークフロー - GitLab CI例 - コスト最適化 - コンプライアンス自動化 - TrivyとCheckovの統合- ポリシー・アズ・コードのパターン-...
概要(AI 翻訳)
TerraformやOpenTofu、AIコーディングエージェント(Claude Code、Cursor、Copilot、Gemini CLI、OpenCode、Codex、Kiroなど)向けのベストプラクティススキルです。エージェントがコードをテストし、モジュールを構築し、CI/CDを設定し、本番環境のインフラコードを書くのを助けます。
AWS、Azure、GCPはすべて一流です。例ではAWSがデフォルトですが、同じバックエンド、認証、セキュリティ、リソースのガイダンスが3つすべてに適用されます。AzureやGCPのパターンに相当するものを求めれば、スキルがマッピングします。
このスキルがもたらすもの
フレームワークのテスト
- ネイティブテストとTerratestの決定行列
- ワークフローのテスト(静的、統合、E2E)
- 例とパターン
モジュール開発
- 構造と命名規則
- バージョン管理戦略
- パブリックモジュールとプライベートモジュールのパターン
国家管理
- リモートバックエンド(S3、Azure、GCS、Terraform Cloud)
- 施錠とセキュリティ
- マルチチーム状態隔離
- 移行および回復手続き
CI/CD統合
- GitHub Actionsワークフロー
- GitLab CIの例
- コスト最適化
- コンプライアンス自動化
セキュリティとコンプライアンス
- トリビ積分とチェコフ積分
- ポリシー・アズ・コードのパターン
- コンプライアンススキャンワークフロー
簡単な参照
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Terraform & OpenTofu Skill for AI Agents
A best-practices skill for Terraform and OpenTofu, for AI coding agents (Claude Code, Cursor, Copilot, Gemini CLI, OpenCode, Codex, Kiro, and more). It helps the agent test code, structure modules, set up CI/CD, and write production infrastructure code.
AWS, Azure, and GCP are all first-class. AWS stays the default in examples, but the same backend, auth, security, and resource guidance applies to all three - ask for the Azure or GCP equivalent of any pattern and the skill maps it.
What this skill provides
Testing frameworks
- Decision matrix for native tests vs Terratest
- Testing workflows (static, integration, E2E)
- Examples and patterns
Module development
- Structure and naming conventions
- Versioning strategies
- Public vs private module patterns
State management
- Remote backends (S3, Azure, GCS, Terraform Cloud)
- Locking and security
- Multi-team state isolation
- Migration and recovery procedures
CI/CD integration
- GitHub Actions workflows
- GitLab CI examples
- Cost optimization
- Compliance automation
Security and compliance
- Trivy and Checkov integration
- Policy-as-code patterns
- Compliance scanning workflows
Quick reference
- Decision flowcharts
- Common patterns (DO vs DON’T)
- Cheat sheets
Installation
Installed through one Claude Code marketplace, antonbabenko/agent-plugins
(terraform-skill is listed there as an external plugin). Do not also add
antonbabenko/terraform-skill as a marketplace - both use the same marketplace
name and will clash.
Quick install (any agent)
Works with any Agent Skills-compatible tool:
npx skills add https://github.com/antonbabenko/terraform-skill
Per-host instructions
/plugin install https://github.com/antonbabenko/terraform-skill
# or
git clone https://github.com/antonbabenko/terraform-skill.git ~/.copilot/skills/terraform-skill
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add antonbabenko/terraform-skill