SkillsLib.ai

Terraform Plan Reviewer

Review Terraform plans for security & cost risks

0.0(0 reviews)
100+ downloads
Updated Oct 2026

What You Can Do

You can analyze Terraform execution plans to identify security vulnerabilities, cost optimization opportunities, and AWS best practice violations before resources are deployed. This skill reviews your Terraform code for IAM misconfiguration, unencrypted resources, over-provisioned instances, and architectural antipatterns—then provides specific remediation steps for each finding.

Features

Security scanning

Detects IAM policy overpermissions, unencrypted storage/databases, exposed credentials, and public resource access

Cost optimization

Identifies over-provisioned instances, unused resources, inefficient storage classes, and recommends right-sizing

AWS best practices validation

Checks against AWS Well-Architected Framework pillars (security, reliability, performance, cost, operations)

Compliance checking

Ensures resources comply with common standards (encryption, logging, tagging, VPC isolation)

Remediation guidance

Provides specific Terraform code changes to fix each issue, not just problem statements

Dependency analysis

Maps resource relationships and flags circular dependencies or cascade risks

Change impact assessment

Analyzes what's being created, modified, or destroyed and potential consequences

Example Output

Security Findings

HIGH — IAM Role lacks explicit deny policies

  • Resource: aws_iam_role.lambda_execution
  • Issue: s3:* permission on all buckets violates principle of least privilege
  • Fix: Scope to specific bucket ARN — arn:aws:s3:::my-app-uploads/*

MEDIUM — RDS database not encrypted at rest

  • Resource: aws_db_instance.main
  • Issue: storage_encrypted = false allows unencrypted data
  • Fix: Add storage_encrypted = true and enable encrypted backups

Cost Optimizations

  • EC2 instance type: t3.large ($60/mo) → t3.small ($13/mo) — 78% savings
  • RDS instance class: db.r5.2xlarge → db.r5.large — saves $1,200/month
  • S3 storage class: STANDARD → Intelligent-Tiering — ~30% savings with auto-archival

AWS Best Practices

✓ VPC endpoints configured for private API calls ✓ CloudTrail logging enabled

  • ⚠️ NAT Gateway in single AZ (single point of failure) — add second AZ
  • ⚠️ Backup retention too aggressive (90 days) — reduce to 30 days

What's Included

  • SKILL.md: Complete Terraform review workflow, evaluation criteria, and remediation patterns
  • Security Checklist: 25-point validation template (IAM, encryption, network, logging)
  • Cost Optimization Guide: Common AWS savings patterns with Terraform examples
  • AWS Best Practices Reference: Well-Architected Framework mapping and checks
  • Review Report Template: Structured output format (findings, recommendations, impact)
  • Remediation Examples: Code snippets for common fixes (IAM scoping, encryption, scaling)

Who It's For

  • DevOps engineers — Catch infrastructure misconfigurations before production deploys
  • Cloud architects — Validate multi-environment designs against AWS best practices
  • Security engineers — Audit IAM, encryption, and compliance in infrastructure code
  • Engineering leads — Review infrastructure changes during code review process
  • SREs — Ensure operational best practices in infrastructure deployments

Best For

  • Pre-deployment Terraform plan reviews in CI/CD pipelines
  • Security audits of infrastructure-as-code changes
  • Cost optimization analysis before provisioning resources
  • AWS best practices validation across dev/staging/prod environments
  • Knowledge transfer on infrastructure security patterns

You might also like

Photojournalist Story Prep & Editorial Workflow
$30
News3.8(5)
Photojournalist Story Prep & Editorial Workflow

You can rapidly accelerate every stage of photojournalism—from initial story research and competitive analysis to comprehensive shot lists, optimized captions, and polished editorial submissions. The workflow guides you through breaking news scenarios, helping you research context, plan coverage angles, write SEO-optimized captions, and format submissions for maximum editorial impact. Save hours on administrative work and focus on capturing the story.

Docker Container Troubleshooting & Performance Optimization
$35
Docker Container Troubleshooting & Performance Optimization

Analyze Docker container logs instantly to identify root causes of failures, crashes, and resource bottlenecks. Get actionable recommendations for resource allocation, network configuration, and architectural improvements that eliminate production issues before they cascade.

Terraform Rapid Module Design & Review
$45
Terraform Rapid Module Design & Review

Quickly architect scalable, reusable Terraform modules that follow HashiCorp best practices and organizational standards. Get automated reviews that catch common pitfalls—variable naming, provider configuration, resource dependencies—before they reach production. Standardize your infrastructure-as-code across teams with instant feedback on module quality, security posture, and cost optimization opportunities.

Story Development & Editorial Workflow
$40
News3.3(6)
Story Development & Editorial Workflow

Manage your entire story development pipeline—from assignment briefs and source research guidance to fact-checking verification and copy editing—all within Claude's context. You'll generate assignment templates, receive real-time editorial feedback, identify verification gaps, and receive copyediting suggestions with tracked changes. The skill handles complex multi-source stories, deadline pressure, and maintains editorial standards across your publication.

Interactive Data Narrative Builder
$35
Interactive Data Narrative Builder

You can transform complex datasets into compelling interactive narratives that maintain coherence while inviting exploration. This skill helps you architect data-driven stories where insights unfold naturally through guided discovery points, keeping readers engaged without limiting their agency. Readers navigate your narrative with purpose, uncovering patterns and relationships that would remain hidden in static presentations.

Grafana Dashboard Design & Query Optimization
$30
Grafana Dashboard Design & Query Optimization

Create production-ready Grafana dashboards that visualize your metrics effectively and perform efficiently. Claude helps you write optimized PromQL and other database queries, configure smart alerts with custom thresholds, and design intuitive layouts that surface the metrics that matter most. You get dashboard JSON, query recommendations, and alert configurations ready to deploy.

Investigative Evidence Architecture
$30
Investigative Evidence Architecture

Map complex investigations into structured evidence chains that verify source credibility, identify logical gaps, and build defensible narratives before publication. You can validate citations, assess counter-arguments, and document your research methodology in publication-ready format. This ensures your findings withstand scrutiny and legal challenges.

Visual Story Angles & Assignment Analysis for News
$40
News3.8(5)
Visual Story Angles & Assignment Analysis for News

Transform breaking news briefs into compelling visual story frameworks that guide photographers toward impactful coverage. You'll receive multiple narrative angles, detailed shot lists organized by scene and purpose, and complete assignment briefs with sourcing guidance. Each output ensures comprehensive emotional and contextual storytelling from first frame to final edit.

$40.00