terraform-patterns
Installation
SKILL.md
Terraform Patterns
Category: Engineering Domain: Infrastructure as Code
Overview
The Terraform Patterns skill provides automated analysis of Terraform configurations for module complexity, security misconfigurations, and infrastructure best practices. It catches open ports, public buckets, missing encryption, and overly permissive IAM policies before they reach production.
Clarify First
Before analyzing or scanning, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Target path: the module or environment directory to analyze (
--path; the subject). - Task: module complexity/quality analysis vs security misconfiguration scan (selects
tf_module_analyzervstf_security_scanner). - Minimum severity / gate: the severity bar for findings and whether it blocks a PR (
--min-severity; changes the report and CI pass/fail).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.