Skip to content
R

refactor-module

Transform monolithic Terraform configurations into reusable

by hashicorpFree

#6253in AI Skills
0In stores

Description

refactor-module is an agent skill from HashiCorp's agent-skills collection, listed on skills.sh. It guides an agent in turning a monolithic…

Highlights

  • Refactors monolithic Terraform into modules
  • Clear variable and output contracts
  • Migration path for existing state
  • Testing and documentation guidance
  • Free to install

Ratings & Reviews

No ratings yet

Be the first to rate refactor-module.

People also visit

H

hashicorp/refactor-module

Transform monolithic Terraform configurations into reusable modules

AI Skills
Get
T

terraform-module-generation

Terraform module generation and refactoring skills including module design

AI Skills
Get
T

terraform-style-guide

Generate Terraform HCL code following HashiCorp's official style conventions

AI Skills
Get
T

terraform-engineer

Implementing infrastructure as code with Terraform across AWS, Azure, or GCP

AI Skills
Get
T

terraform-skill

by Anton Babenko

AI Skills
Get
T

terraform-policy

Write, test, or convert Terraform Policy files

AI Skills
Get

refactor-module FAQ

What does refactor-module do?

It helps an agent split a large Terraform configuration into reusable modules with clear interfaces.

How do I install it?

Run: npx skills add https://github.com/hashicorp/agent-skills --skill refactor-module

Will it affect my existing infrastructure?

The skill includes a migration path for existing state, and it asks the agent to inspect the current state first.

What do I need before using it?

The Terraform configuration, an understanding of its dependencies, and access to read the current state.

What did the security audits show?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best refactor-module alternatives?

Popular alternatives to refactor-module include hashicorp/refactor-module, terraform-module-generation and terraform-style-guide. See all refactor-module alternatives

Developer Stuff

Badges