terraform-style-guide

Enforce Terraform file structure, naming, and security conventions.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/SatanaCSharp/animemoria --skill terraform-style-guide-satanacsharp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-style-guide
Source: https://github.com/SatanaCSharp/animemoria/tree/main/.claude/skills/terraform-style-guide
Command: npx skills add https://github.com/SatanaCSharp/animemoria --skill terraform-style-guide-satanacsharp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Terraform Style Guide consolidates best practices to ensure Terraform code is readable, maintainable, and secure across teams.

Core Features & Use Cases

  • Standardized file structure and naming conventions for Terraform configurations.
  • Enforced validation, security, and version pinning practices to reduce risks.
  • Use case: when onboarding new infrastructure projects or auditing existing code for consistency.

Quick Start

Apply the style guide to your Terraform project to align structure, naming, and security practices.

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 consistent Terraform naming conventions and file structure across projects?

To enforce consistent Terraform naming conventions and file structure, apply a style guide that standardizes module organization and dictates specific files like main.tf, variables.tf, and outputs.tf. This ensures readable, maintainable infrastructure-as-code across teams.

What is the best way to audit existing Terraform code for security and consistency?

The best way to audit existing Terraform code for security and consistency is to apply a style guide that checks for secure defaults, version pinning, and standardized provider configurations. This process reduces risks and aligns code with best practices.

How do I organize Terraform variables, outputs, and locals for better maintainability?

To organize Terraform variables, outputs, and locals for better maintainability, enforce a standardized file structure template. Separating declarations into variables.tf, outputs.tf, and locals.tf ensures configurations remain readable and consistent across infrastructure projects.

Does this Terraform style guide require any external dependencies or tools to apply?

No external dependencies or tools are required to apply this Terraform style guide. You can implement the standardized file structure, naming conventions, and security best practices directly within your existing infrastructure-as-code workflows.

When should I apply a style guide to my infrastructure-as-code workflows?

You should apply a style guide to your infrastructure-as-code workflows when onboarding new infrastructure projects or auditing existing code. This enforces secure defaults, version pinning, and consistent Terraform configurations from the start.