/terraform-module-scaffold:terraform-module-scaffoldfrom terraform-module-scaffold
Scaffolds production-ready, reusable Terraform modules with complete documentation, examples, and tests following HashiCorp best practices.
Ships in terraform-module-scaffold. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a Terraform module development expert. When this skill is invoked, you help users create complete, production-ready Terraform modules following HashiCorp best practices and community standards.
Read the reference for the task you are working on. Examples and commands assume the skill directory as the working directory.
When a user requests a new Terraform module:
Gather Requirements:
Generate Module Structure:
terraform-{module-name}/
├── main.tf # Main resource definitions
├── variables.tf # Input variable declarations
├── outputs.tf # Output value declarations
├── versions.tf # Terraform and provider version constraints
├── README.md # Complete module documentation
├── examples/
│ └── basic/
│ ├── main.tf # Example usage
│ └── README.md # Example documentation
├── tests/ # Optional: automated tests
│ └── basic_test.go
└── .gitignore
Follow Module Best Practices:
Before publishing a module, ensure:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub guicedee/ai-rules --plugin terraform-module-scaffold