·refactor-module
</>

refactor-module

Terraform module extraction decision framework. Use when: (1) deciding whether to create module vs keep inline, (2) determining module boundaries, (3) avoiding over-abstraction, (4) handling state migration. NOT a Terraform tutorial. Focuses on the refactoring decision (when to modularize, when to keep inline) and anti-patterns that create module sprawl. Triggers: terraform module, refactor terraform, module boundaries, when to create module, terraform abstraction, module sprawl, state migration.

11Installs·3Trend·@acedergren

Installation

$npx skills add https://github.com/acedergren/agentic-tools --skill refactor-module

How to Install refactor-module

Quickly install refactor-module AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/acedergren/agentic-tools --skill refactor-module
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: acedergren/agentic-tools.

SKILL.md

View raw

Assumption: You know Terraform syntax. This covers when to modularize vs keep inline.

The trap: Over-modularization. Modules add indirection, versioning, testing overhead.

Rule of thumb: Resist creating modules until pain of duplication > pain of abstraction.

Terraform module extraction decision framework. Use when: (1) deciding whether to create module vs keep inline, (2) determining module boundaries, (3) avoiding over-abstraction, (4) handling state migration. NOT a Terraform tutorial. Focuses on the refactoring decision (when to modularize, when to keep inline) and anti-patterns that create module sprawl. Triggers: terraform module, refactor terraform, module boundaries, when to create module, terraform abstraction, module sprawl, state migration. Source: acedergren/agentic-tools.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/acedergren/agentic-tools --skill refactor-module
Category
</>Dev Tools
Verified
First Seen
2026-02-20
Updated
2026-03-10

Browse more skills from acedergren/agentic-tools

Quick answers

What is refactor-module?

Terraform module extraction decision framework. Use when: (1) deciding whether to create module vs keep inline, (2) determining module boundaries, (3) avoiding over-abstraction, (4) handling state migration. NOT a Terraform tutorial. Focuses on the refactoring decision (when to modularize, when to keep inline) and anti-patterns that create module sprawl. Triggers: terraform module, refactor terraform, module boundaries, when to create module, terraform abstraction, module sprawl, state migration. Source: acedergren/agentic-tools.

How do I install refactor-module?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/acedergren/agentic-tools --skill refactor-module Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/acedergren/agentic-tools