terraform-style-guide

Enforce Terraform formatting, naming, and AVM compliance across projects.

5|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/agentdevsl/agentpane --skill terraform-style-guide-agentdevsl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-style-guide
Source: https://github.com/agentdevsl/agentpane/tree/main/.claude/skills/terraform-style-guide
Command: npx skills add https://github.com/agentdevsl/agentpane --skill terraform-style-guide-agentdevsl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a comprehensive Terraform style guide to ensure consistent code formatting, naming, file organization, and AVM compliance across Terraform projects.

Core Features & Use Cases

  • Code formatting standards: guidelines for indentation, alignment, and block organization to help teams write clean, readable Terraform.
  • Naming and file organization: rules for resource names, variables, outputs, and a standard file layout to improve maintainability.
  • AVM integration: recommendations aligned with Azure Verified Modules to ensure AVM compliance for Azure-focused modules.
  • Use cases include starting a new Terraform module, performing code reviews, or auditing an existing codebase for style conformance.

Quick Start

Audit your Terraform project against these rules and then run terraform fmt and terraform validate to verify conformity.

Frequently Asked Questions about terraform-style-guide

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

FAQPage Schema
How do I enforce Terraform naming conventions and code formatting across multiple environments?

Terraform style guidelines enforce consistent formatting, naming, and file organization across multi-environment setups. You apply these rules to new modules and existing codebases to ensure code quality and maintainability.

What are Azure Verified Modules (AVM) compliance standards for Terraform module development?

AVM compliance standards for Terraform module development ensure Azure-focused modules meet specific naming, documentation, and testing requirements. They align module structure with Azure Verified Modules to maintain consistent infrastructure as code quality.

How do I audit an existing Terraform codebase for style conformance and AVM compliance?

Audit your Terraform project against established style rules for file structure and naming clarity. After reviewing the codebase for AVM compliance, run terraform fmt and terraform validate to verify formatting and configuration conformity.

What's the best way to structure Terraform files and variables for module maintainability?

The best way to structure Terraform files for maintainability is applying standard file layout rules for resources, variables, and outputs. This organization improves code readability and ensures consistent block organization across modules.

Do I need to use Azure Verified Modules to apply these Terraform style guidelines?

You do not need Azure Verified Modules to apply basic Terraform style guidelines for formatting and naming. However, AVM integration is required if you want to ensure AVM compliance for Azure-focused module development and documentation.