terragrunt-specialist

Audit Terragrunt configurations for DRY violations and dependency graph errors.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/kaiohenricunha/dotbabel --skill terragrunt-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terragrunt-specialist
Source: https://github.com/kaiohenricunha/dotbabel/tree/main/plugins/dotbabel/templates/claude/skills/terragrunt-specialist
Command: npx skills add https://github.com/kaiohenricunha/dotbabel --skill terragrunt-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually debugging complex multi-environment Terragrunt setups is time-consuming and error-prone, with issues like broken dependency graphs, duplicated configuration, incorrect hooks, and state collisions often going unnoticed until they cause costly infrastructure outages or failed deployments.

Core Features & Use Cases

  • DRY Pattern Audits: Scans all Terragrunt leaves to identify duplicated inputs and locals, eliminating config redundancy across environments.
  • Dependency Graph Validation: Checks for missing, circular, or incorrectly typed dependency blocks that break run-all orchestration order.
  • Hook & State Safety Review: Audits hook trigger logic and remote state key isolation to prevent accidental cross-environment state leaks and unexpected hook execution.
  • Use Case: Infrastructure teams managing Terraform across multiple cloud accounts and environments can use this skill to catch misconfigurations in CI before they reach production, avoiding failed applies and unrecoverable state issues.

Quick Start

Use the terragrunt-specialist skill to perform a full audit of your Terragrunt infrastructure configuration to catch DRY violations, broken dependency graphs, and unsafe run-all settings.

Frequently Asked Questions about terragrunt-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Terragrunt configurations for DRY pattern violations?

To audit Terragrunt configurations for DRY violations, scan all Terragrunt leaves to identify duplicated inputs and locals. This eliminates configuration redundancy across environments and ensures consistent infrastructure deployments.

Why does my Terragrunt run-all operation fail due to broken dependency graphs?

Terragrunt run-all operations fail due to broken dependency graphs when there are missing, circular, or incorrectly typed dependency blocks. Validating the dependency graph ensures correct orchestration order and prevents failed deployments in multi-environment setups.

How do I prevent cross-environment state collisions in Terragrunt?

To prevent cross-environment state collisions in Terragrunt, review remote state key isolation and hook trigger logic. Auditing these settings ensures environments remain separated and avoids accidental state leaks during infrastructure applies.

Can I use Terragrunt to manage Terraform across multiple cloud accounts safely?

Yes, you can use Terragrunt to manage Terraform across multiple cloud accounts safely by performing structured phase-based investigations. Auditing dependency graphs, hooks, and state configurations catches misconfigurations before they reach production.

What is the best way to catch incorrect Terragrunt hook trigger logic before deployment?

The best way to catch incorrect Terragrunt hook trigger logic before deployment is to perform a full hook and state safety review. Auditing hook validation prevents unexpected execution during CI pipelines and avoids costly infrastructure outages.