Terraform Style Guide

🌐Community
by kentoshimizu · vlatest · Repository

Enforces Kentoshimizu's Terraform style guide for consistent, maintainable infrastructure code across your cloud projects.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add kentoshimizu-terraform-style-guide npx -- -y @trustedskills/kentoshimizu-terraform-style-guide
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "kentoshimizu-terraform-style-guide": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/kentoshimizu-terraform-style-guide"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides guidance and enforces best practices for Terraform code style. It helps ensure consistency, readability, and maintainability within infrastructure as code projects. The agent can analyze existing Terraform configurations or provide recommendations during the creation of new ones to adhere to defined stylistic rules.

When to use it

  • Reviewing Terraform Code: Use this skill when you need a quick assessment of your Terraform files for style violations before merging changes.
  • Creating New Infrastructure: Integrate it into your workflow to automatically apply consistent formatting and naming conventions during infrastructure provisioning.
  • Onboarding New Team Members: Help new developers quickly understand and adhere to the team's Terraform coding standards.
  • Automating Style Checks: Incorporate this skill into CI/CD pipelines for automated style enforcement.

Key capabilities

  • Terraform code analysis
  • Style rule enforcement
  • Formatting suggestions
  • Naming convention recommendations

Example prompts

  • "Analyze this Terraform file and identify any style violations: [paste Terraform code]"
  • "What are the recommended naming conventions for resources in my Terraform project?"
  • "Format this Terraform configuration according to best practices: [paste Terraform code]"

Tips & gotchas

This skill assumes a basic understanding of Terraform concepts. The specific rules enforced will depend on the underlying style guide being used, so ensure you are aware of any custom configurations or extensions.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
kentoshimizu
Installs
3

🌐 Community

Passed automated security scans.