refactor-module
CommunityTerraform module decision expert
Software Engineering#anti-patterns#refactor#IaC#terraform#modularization#module-design#state-migration
Authoracedergren
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Terraform module extraction decisions and anti-pattern awareness to prevent module sprawl and risky state migrations.
Core Features & Use Cases
- Decision framework to determine when to modularize (4+ usages) vs inline (1-2 usages).
- Anti-patterns coverage (Leaky Abstractions, Premature Modularization, State Migration Nightmare, Version Hell) with concrete mitigations.
- Structured refactoring process including duplication analysis, interface design, module extraction, testing, and safe state migration.
- Use case: multi-team environments needing consistent module boundaries and upgrade strategies.
Quick Start
- Identify a repeated Terraform pattern across your repo.
- Assess duplication against the decision framework to decide module extraction.
- Design the module interface, extract resources, write tests, and migrate state with backup.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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/acedergren/agentic-tools/archive/main.zip#refactor-module Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.