From sorah-guides
Provides Terraform coding conventions and best practices for resource naming, file organization, variable definitions, locals, data sources, and AWS-specific IAM roles and policies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sorah-guides:terraformThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Coding conventions and best practices for Terraform projects. Project-specific conventions (CLAUDE.md, style guides) always take priority over this guidance.
Coding conventions and best practices for Terraform projects. Project-specific conventions (CLAUDE.md, style guides) always take priority over this guidance.
data.aws_region.current, data.aws_caller_identity.current)jsonencode to compose JSON objects instead of raw string literalsname = "FooBar", use resource "..." "FooBar")Ec2Bastion, EcsApp)ec2-default, dns-cache)Standard file structure per Terraform directory:
aws.tf — AWS provider configuration with standard data sources (data.aws_region.current, data.aws_caller_identity.current, data.aws_default_tags.current)backend.tf — S3 backend configurationversions.tf — Provider version constraintsvpc.tf, sg.tf, route53.tf, iam.tf, etc.iam_lambda.tf, iam_states.tf, iam_ec2_default.tfoutputs.tf — Output definitions (when needed)locals.tf — Local values (when needed)type for variablesdefault = {} for optional map variablesdata.aws_iam_policy_document whenever possible instead of jsonencodedata.aws_iam_policy when availabledefault_tags at provider level for Project and Component tagsaws_iam_role)data.aws_iam_policy_document with -trust suffixNetKea, NwEc2Default)description field referencing the Terraform pathaws_iam_instance_profile)aws_iam_role.Role.name for both name and role attributesnpx claudepluginhub sorah/config --plugin sorah-guidesProvides quick reference for Terraform best practices including file organization, naming conventions, modules, state management, security, and anti-patterns. Useful when writing or reviewing Terraform code.
Generates and formats Terraform HCL code following HashiCorp's official style guide, including file organization, naming conventions, and best practices for writing or reviewing configurations.
Guides writing and organizing Terraform HCL configurations for cloud resource provisioning, including providers, resources, variables, outputs, data sources, locals, commands, and file structure best practices.