terraform-patterns

Review Terraform infrastructure code for security, structure, and state-management issues.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Veloxia-agency/VELOXIA-WEB --skill terraform-patterns-veloxia-agency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-patterns
Source: https://github.com/Veloxia-agency/VELOXIA-WEB/tree/main/.claude/skills/engineering/terraform-patterns/skills/terraform-patterns
Command: npx skills add https://github.com/Veloxia-agency/VELOXIA-WEB --skill terraform-patterns-veloxia-agency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the guesswork from Terraform work by turning messy infrastructure code into secure, maintainable, production-ready patterns.

Core Features & Use Cases

  • Module design and refactoring: Structure reusable Terraform modules with clear inputs, outputs, validation, and composition rules.
  • State and backend strategy: Choose and implement safe remote state setups, locking, encryption, and environment isolation.
  • Security and policy review: Catch hardcoded secrets, overly permissive IAM, open security groups, missing encryption, and other infrastructure risks.
  • CI/CD and deployment workflows: Support review, plan, apply, drift detection, multi-region patterns, and policy-as-code practices.
  • Use case: A platform team can use this Skill to audit a Terraform repo, fix security gaps, standardize modules, and prepare repeatable deployment workflows.

Quick Start

Use the terraform-patterns skill to review the attached Terraform codebase for module structure, state management, security issues, and best-practice improvements.

Frequently Asked Questions about terraform-patterns

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

FAQPage Schema
How do I review Terraform code for security and state management problems?

Terraform module design involves structuring reusable components with clear inputs, outputs, and validation rules. This skill evaluates module composition and refactoring patterns to ensure your infrastructure code scales cleanly and maintains strict environment isolation across deployments.

What is the best way to set up remote state and backend configuration for Terraform?

Remote state setup requires implementing safe locking, encryption, and environment isolation in your backend configuration. This skill reviews your state and backend strategy to ensure safe multi-region deployments and prevent concurrent state corruption issues.

Does this skill work with Terragrunt layouts and CI/CD plan-apply workflows?

Yes, it analyzes Terragrunt layouts and supports CI/CD workflows by reviewing plan-apply processes, drift detection, and multi-region deployment patterns. It validates policy-as-code practices across your infrastructure pipeline for secure, repeatable deployments.

Can I use this to catch overly permissive IAM and open security groups in my infrastructure?

Yes, the security and policy review identifies overly permissive IAM, open security groups, missing encryption, and hardcoded secrets. It audits your .tf files to catch infrastructure risks and applies policy-as-code standards for compliance.

How do I standardize Terraform modules for a platform team managing multiple environments?

Standardizing modules requires clear input validation, output definitions, and composition rules. This skill audits your Terraform repository to fix security gaps, standardize module structures, and prepare repeatable deployment workflows for platform teams.