Install any skill in seconds. Free to start, no credit card required.
Get Started Free →borghei/terraform-patterns
This skill should be used when the user asks to "analyze Terraform modules", "scan IaC for security issues", "review Terraform configurations", "check infrastructure code for misconfigurations", or "audit cloud resources".
Passed 20 of 23 test cases with the skill, and 12 of 23 without it.
and 6 more in the full report
8 fixed12 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to run a full quality audit across our entire repository to analyze all nested Terraform modules without checking each folder individually. What Python tool command and flag enables nested directory scanning?
| Checked | Without skill | With skill |
|---|---|---|
| Includes the --recursive flag to analyze nested module directories. | Missed | Passed |
The instructions your model reads when the skill loads.
Category: Engineering Domain: Infrastructure as Code
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.
Before analyzing or scanning, confirm these inputs. If any is unknown or vague, ASK — do not assume:
--path; the subject)tf_module_analyzer vs tf_security_scanner)--min-severity; changes the report and CI pass/fail)Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
# Analyze Terraform module structure and complexity
python scripts/tf_module_analyzer.py --path ./modules/vpc
# Scan for security misconfigurations
python scripts/tf_security_scanner.py --path ./environments/production
# JSON output for CI pipelines
python scripts/tf_security_scanner.py --path . --format json
# Recursive analysis of all modules
python scripts/tf_module_analyzer.py --path . --recursive
Analyzes Terraform modules for complexity, structure, dependencies, and documentation quality.
test cases passed, vs 12 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.