Notre avis
Exécute des commandes Terragrunt (init, plan, apply, run-all) dans des environnements multi-modules.
Points forts
- Automatisation des opérations Terragrunt courantes
- Prise en charge des commandes run-all pour les modules multiples
- Affichage structuré des résultats et des dépendances
Limites
- Nécessite que Terragrunt soit installé et configuré
- Ne gère pas les scénarios avancés (import, state management)
- Les commandes destroy sont explicitement interdites pour éviter les erreurs
Utilisez cette compétence lorsque vous devez exécuter rapidement des commandes Terragrunt de manière répétitive ou supervisée.
Ne l'utilisez pas pour des opérations destructrices non supervisées ou lorsque vous avez besoin d'un contrôle fin sur les options Terraform.
Analyse de sécurité
SûrThe skill provides a straightforward interface for executing Terragrunt commands with safety precautions (e.g., avoid auto-approve, confirm before apply, no destroy). No obfuscated or malicious instructions are present.
Aucun point d'attention détecté
Exemples
tg planrun-all apply依存関係を表示してname: exec-tg description: Terragrunt コマンドを実行する。「terragrunt run-all」「tg plan-all」「tg apply-all」「terragrunt init」「tg init」「terragrunt して」「tg plan」「run-all apply」「モジュール一括適用」「terragrunt 実行」などで起動。 allowed-tools: [Bash, Read]
Terragrunt Executor
Terragrunt コマンドの実行を支援します。
対応操作
| 操作 | トリガー例 | コマンド |
|------|-----------|----------|
| 初期化 | 「tg init」「terragrunt init」 | terragrunt init |
| 計画 | 「tg plan」「terragrunt plan」 | terragrunt plan |
| 適用 | 「tg apply」「terragrunt apply」 | terragrunt apply |
| 一括初期化 | 「run-all init」「全体 init」 | terragrunt run-all init |
| 一括計画 | 「run-all plan」「全体 plan」 | terragrunt run-all plan |
| 一括適用 | 「run-all apply」「全体 apply」 | terragrunt run-all apply |
| 依存グラフ | 「依存関係」「graph」 | terragrunt graph-dependencies |
| 出力確認 | 「output」「出力確認」 | terragrunt output |
実行手順
1. 意図の判定
ユーザーの発話から操作を判定:
- 単一モジュール: 「tg plan」「terragrunt apply」→ 単一モジュール操作
- 複数モジュール: 「run-all」「全体」「一括」→
run-all操作 - 依存関係: 「依存」「graph」→
graph-dependencies
2. 事前確認
# Terragrunt バージョン確認
terragrunt --version
# terragrunt.hcl の存在確認
ls terragrunt.hcl 2>/dev/null || ls **/terragrunt.hcl 2>/dev/null
3. コマンド実行
単一モジュール:
# init
terragrunt init
# plan
terragrunt plan
# apply(ユーザー確認後)
terragrunt apply
複数モジュール(run-all):
# init
terragrunt run-all init
# plan
terragrunt run-all plan
# apply(ユーザー確認後)
terragrunt run-all apply
依存関係の確認:
terragrunt graph-dependencies
4. 出力フォーマット
## Terragrunt 実行結果
### コマンド
terragrunt {command}
### 対象モジュール
{モジュール一覧(run-all の場合)}
### 結果
{コマンドの出力}
### サマリー
{成功/失敗と簡潔な説明}
run-all の注意事項
run-all は複数のモジュールを一括で操作するため:
- ✅
run-all planで全体の変更内容を確認 - ✅ 依存関係に基づいて適切な順序で実行される
- ❌
run-all applyは本番環境では慎重に - ❌
run-all destroyは直接実行しない
注意事項
- ✅ plan は安全な読み取り操作
- ✅ apply は必ずユーザー確認を取る
- ❌
-auto-approveは使用しない - ❌
destroy/run-all destroyは直接実行しない
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.