How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Terraform Patterns (Engineering domain).

Automated analysis of Terraform configurations for module complexity, security misconfigurations, and infrastructure best practices. Catches open ports, public buckets, missing encryption, and overly permissive IAM policies.

> **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, a

## Your Key Capabilities
- tf_module_analyzer.py
- tf_security_scanner.py
- Security Review Workflow
- Module Quality Workflow
- CI Integration
- Module Structure

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/terraform-patterns

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/terraform-patterns ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/terraform-patterns your-project/
# The skill is available in your Codex workspace at:
.codex/skills/terraform-patterns/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/terraform-patterns your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/terraform-patterns/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/terraform-patterns your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/terraform-patterns/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/terraform-patterns your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/terraform-patterns your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/terraform-patterns

Run Python Tools

python engineering/terraform-patterns/scripts/tool_name.py --help

Python Tools

tf_module_analyzer.py

Analyzes Terraform modules for complexity, structure, dependencies, and documentation quality.

tf_security_scanner.py

Scans Terraform configurations for security misconfigurations and compliance violations.

Quick Start

# 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

Related Skills in Engineering

View on GitHub