akin-ozer avatar

Terragrunt Generator

Scaffolds Terragrunt HCL files with support for the latest features like stacks, feature flags, and the OpenTofu engine. Handles the tricky parts like multi-environment layouts where your root.hcl needs to stay environment-agnostic while child modules read from env.hcl files. Ships with architecture pattern detection that forces you to pick between Pattern A (multi-env with agnostic root), Pattern B (single env or environment-aware root), or Pattern C (centralized variables in _env). The mandatory checklist before generation is actually helpful since it prevents the common mistake of trying to read env.hcl from a root file that can't see it. Defaults to modern root.hcl naming instead of the legacy terragrunt.hcl convention.

skills.sh installs
1.2K
GitHub stars
337
last updated
Aug 21, 2026

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill terragrunt-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

Terragrunt Generator

Overview

Generate production-ready Terragrunt configurations following current best practices, naming conventions, and security standards. All generated configurations are automatically validated.

Trigger Phrases

Use this skill when the user asks for:

  • A new root.hcl, terragrunt.hcl, or terragrunt.stack.hcl
  • Multi-environment Terragrunt layouts (dev/staging/prod)
  • Terragrunt dependency wiring (dependency or dependencies blocks)
  • Terragrunt module source setup (local, Git, Terraform Registry via tfr:///)
  • Stack catalog unit generation under catalog/units/*

Sponsors

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
DevOps & CI/CD, Automation & Workflows
First seen
Jun 3, 2026

More from akin-ozer/cc-devops-skills

All 31
1bagelhole avatarlinux-administrationbagelhole/devops-security-agent-skillsSystem administration for Linux servers. Manage packages, services, and system configuration. Use when administering Linux systems.833skills.sh installs
2bagelhole avatarlinux-hardeningbagelhole/devops-security-agent-skillsApply CIS benchmarks and secure Linux servers. Configure SSH, manage users, implement firewall rules, and enable security features. Use when hardening Linux sys832skills.sh installs
3akin-ozer avatarbash-script-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or fix bash/shell/.sh scripts via ShellCheck.734skills.sh installs
4akin-ozer avatarterragrunt-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or check Terragrunt .hcl/terragrunt.hcl files, stacks, modules, compliance.703skills.sh installs
5akin-ozer avatarazure-pipelines-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or review azure-pipelines.yml — syntax, security, best practices.680skills.sh installs
6akin-ozer avatarmakefile-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or check Makefiles and .mk files for errors.671skills.sh installs