refactor-module

Community

Transform Terraform into reusable modules.

AuthorMehdiRtal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of managing large, monolithic Terraform configurations by transforming them into modular, reusable, and maintainable units, adhering to best practices.

Core Features & Use Cases

  • Automated Refactoring: Systematically converts existing Terraform code into well-structured modules.
  • Best Practice Adherence: Ensures modules follow HashiCorp's design principles and community standards.
  • Use Case: Refactor a sprawling main.tf file that defines an entire VPC, subnets, and security groups into a dedicated, versioned VPC module that can be easily reused across multiple environments.

Quick Start

Use the refactor-module skill to transform the Terraform configuration in '/path/to/monolith' into a new module named 'new-vpc-module', preserving state.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor-module
Download link: https://github.com/MehdiRtal/dotfiles/archive/main.zip#refactor-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.