SkillsLib.ai

Terraform Module Architect

Design production-grade Terraform modules with safe refactoring strategies

0.0(0 reviews)
100+ downloads
Updated Sep 2026

What You Can Do

This skill audits your existing Terraform infrastructure, designs production-ready module structures, and creates detailed migration plans with safety checkpoints. You get comprehensive refactoring guidance, dependency analysis, test strategies, and step-by-step migration playbooks that minimize production risk.

Features

Module architecture design

Assess current Terraform structure and design modular, reusable, production-grade architecture patterns

Monolith-to-modules refactoring

Break down monolithic Terraform into composable, maintainable modules with clear boundaries

Safety-first migration planning

Create detailed, risk-assessed migration plans with pre-checks, validation gates, and rollback procedures

Dependency graph analysis

Map module dependencies, identify circular dependencies, and optimize the dependency tree for parallel execution

Variable and output design

Design consistent variable schemas, output contracts, and public/internal interfaces for module consumers

Test strategy & validation

Generate unit test plans, integration test strategies, and pre-production validation checklists

Documentation generation

Produce module README templates, variable documentation, and usage examples for all modules

Terraform best practices audit

Validate modules against AWS/Azure/GCP best practices and organizational standards

Example Output

Architecture Review Output

Current State: Monolithic main.tf with 2,400 lines spanning VPC, Kubernetes, monitoring, and databases.

Proposed Module Structure:

code
modules/
  network/          # VPC, subnets, routing, security groups
  kubernetes/       # EKS cluster, node groups, add-ons
  observability/    # CloudWatch, Prometheus, Grafana configs
  databases/        # RDS, ElastiCache, backup policies
  iam/              # Roles, policies, service accounts

Migration Plan:

  1. Extract IAM module (no infrastructure dependencies) — Phase 1, Week 1
  2. Extract Network module (depended on by K8s/RDS) — Phase 1, Week 2
  3. Extract Databases module (safe to run in parallel) — Phase 2, Week 1
  4. Migrate Kubernetes to new network module — Phase 2, Week 2
  5. Validate with terraform plan and smoke tests — Phase 3

Risk Assessment: Medium — Plan shows 45 resource additions, 12 resource deletions (safe via moved blocks), zero data loss expected.

What's Included

  • SKILL.md: Core Terraform module architecture and refactoring workflow
  • Module Design Template: Production-ready module structure checklist
  • Migration Planning Worksheet: Step-by-step template for safe refactoring with validation gates
  • Dependency Graph Analysis Template: Map and visualize Terraform module dependencies
  • Safety Validation Checklist: Pre-migration and post-migration verification steps
  • Test Strategy Workbook: Unit test patterns, integration test plans, and validation procedures
  • Module Documentation Template: Consistent README, variable docs, and usage examples for all modules
  • Terraform Best Practices Guide: Reference for variable naming, output design, and module composition patterns

Who It's For

  • DevOps Engineers — Restructure legacy Terraform to scale with team and projects
  • Infrastructure/Platform Engineers — Design modular, reusable infrastructure-as-code libraries
  • Cloud Architects — Plan production-grade infrastructure refactoring with safety and minimal downtime
  • Terraform Leads/Tech Leads — Establish module standards and migration governance for large teams

Best For

  • Auditing and redesigning monolithic Terraform into modular architecture
  • Planning safe migrations from flat infrastructure code to production modules
  • Designing module contracts (variables, outputs, dependencies) for team consumption
  • Creating risk assessments and migration playbooks with validation gates
  • Documenting and standardizing Terraform module patterns across teams

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.

$30.00