Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.
Install with Tessl CLI
npx tessl i github:wshobson/agents --skill terraform-module-library84
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillAgent success when using this skill
Validation for skill structure
Standard module file structure
main.tf present
100%
100%
variables.tf present
100%
100%
outputs.tf present
100%
100%
versions.tf present
100%
100%
README.md present
100%
100%
examples/complete directory
0%
100%
tests directory with Go file
0%
100%
AWS provider version pinned
0%
100%
tags variable type
100%
100%
merge() for resource tags
0%
100%
Name tag in merge
0%
100%
Without context: $0.4651 · 1m 43s · 18 turns · 18 in / 7,706 out tokens
With context: $0.8436 · 2m 30s · 39 turns · 291 in / 10,046 out tokens
Variable validation and resource quality
Variable descriptions
100%
100%
Validation block present
100%
100%
error_message in validation
100%
100%
locals block used
100%
100%
Multiple outputs defined
100%
100%
Output descriptions
100%
100%
Conditional resource
100%
0%
merge() for tags
100%
100%
Encryption enabled
100%
100%
KMS key referenced
100%
100%
tags variable type
100%
100%
Backup retention configured
100%
100%
Without context: $0.7353 · 3m 16s · 21 turns · 21 in / 14,171 out tokens
With context: $1.0972 · 4m · 35 turns · 84 in / 16,322 out tokens
Terratest module testing
Test file in tests/
100%
100%
terratest import
100%
100%
testify/assert import
100%
100%
TerraformDir to examples/complete
100%
100%
InitAndApply called
100%
100%
defer Destroy called
100%
100%
terraform.Output used
100%
100%
Assert on output
100%
100%
go.mod present
100%
100%
testing.T parameter
100%
100%
Without context: $0.4007 · 4m 42s · 21 turns · 20 in / 3,136 out tokens
With context: $0.5199 · 59s · 17 turns · 16 in / 2,894 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.