Agent Plugins Marketplace
All plugins

terraform-code-generation

v1.0.0

Terraform code generation skills for Claude Code, including HCL generation, style guides, and testing.

Claude Code4 Skills1 MCP serverstdio

By HashiCorpLicense: MPL-2.0791 GitHub starsUpdated last month

Directory evidence

Runtimes
Claude Code
Parsed components
5 skill or MCP entries
Source updated
Aug 4, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install terraform-code-generation for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install terraform-code-generation@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/hashicorp/agent-skills

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is terraform/code-generation/.

Plugin files

terraform/code-generation/
├── .claude-plugin/plugin.json
├── skills/azure-verified-modules/SKILL.md
├── skills/terraform-search-import/SKILL.md
├── skills/terraform-style-guide/SKILL.md
├── skills/terraform-test/SKILL.md
└── .mcp.json

Included Skills4

azure-verified-modulesskills/azure-verified-modules/SKILL.md

Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.

terraform-search-importskills/terraform-search-import/SKILL.md

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

terraform-style-guideskills/terraform-style-guide/SKILL.md

Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.

terraform-testskills/terraform-test/SKILL.md

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.

MCP servers1

terraformstdio
command
docker
args
run -i --rm -e TFE_TOKEN -e TFE_ADDRESS hashicorp/terraform-mcp-server
env.TFE_TOKEN
${TFE_TOKEN}
env.TFE_ADDRESS
${TFE_ADDRESS}

Plugin manifests1

terraform/code-generation/.claude-plugin/plugin.json
{
  "name": "terraform-code-generation",
  "version": "1.0.0",
  "description": "Terraform code generation skills for Claude Code, including HCL generation, style guides, and testing.",
  "author": {
    "name": "HashiCorp",
    "url": "https://github.com/hashicorp"
  },
  "homepage": "https://developer.hashicorp.com/terraform/language",
  "repository": "https://github.com/hashicorp/agent-skills",
  "license": "MPL-2.0",
  "keywords": [
    "terraform",
    "hcl",
    "infrastructure",
    "iac",
    "testing",
    "style-guide",
    "search",
    "import",
    "discovery"
  ],
  "mcpServers": {
    "terraform": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_TOKEN",
        "-e",
        "TFE_ADDRESS",
        "hashicorp/terraform-mcp-server"
      ],
      "env": {
        "TFE_TOKEN": "${TFE_TOKEN}",
        "TFE_ADDRESS": "${TFE_ADDRESS}"
      }
    }
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[terraform-code-generation on Agent Plugins Marketplace](https://pluginsmp.com/plugins/terraform-code-generation)