terraform-style-guide

Enforces Terraform coding standards for Azure infrastructure.

1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/SandboxServers/github-copilot-agents --skill terraform-style-guide-sandboxservers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-style-guide
Source: https://github.com/SandboxServers/github-copilot-agents/tree/main/skills/terraform-style-guide.skill
Command: npx skills add https://github.com/SandboxServers/github-copilot-agents --skill terraform-style-guide-sandboxservers

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that Terraform code adheres to a set of coding standards, improving readability, maintainability, and reliability of infrastructure as code (IaC).

Core Features & Use Cases

  • Enforce Naming Conventions: Standardizes resource names, variable names, and other Terraform elements.
  • File Organization: Guides the structure of Terraform files for clarity and maintainability.
  • Formatting Rules: Automates the application of formatting rules to Terraform code.
  • Variable Design: Provides guidelines for creating well-designed variables.
  • Use Case: When onboarding new engineers to a Terraform codebase or when creating Terraform modules for Azure infrastructure.

Quick Start

Use the terraform-style-guide skill to apply coding standards to your Terraform codebase.

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 naming conventions in Terraform for Azure infrastructure?

To enforce naming conventions in Terraform for Azure, you apply standardized rules to resource names and variables. This ensures consistency and readability across your infrastructure as code (IaC) project.

What is the best way to standardize file organization and formatting in Terraform?

The best way to standardize file organization and formatting in Terraform is to use a style guide that structures files for clarity. This automates formatting rules and improves code maintainability.

Can I use this to guide variable design for Azure infrastructure as code?

Yes, you can use it to guide variable design for Azure infrastructure as code. It provides specific guidelines for creating well-designed variables, ensuring your IaC modules remain reliable and maintainable.

When do I need coding standards for infrastructure as code?

You need coding standards for infrastructure as code when onboarding new engineers to a Terraform codebase or creating modules. Standards improve readability, maintainability, and reliability across team projects.

Does this style guide work for Terraform modules outside of Azure?

This style guide focuses specifically on Terraform coding standards for Azure infrastructure. While general formatting and file organization principles apply broadly, its naming conventions and variable design guidelines target Azure IaC.