refactor-module은(는) 무엇을 하나요?
모놀리식 Terraform 구성을 HashiCorp의 모듈 설계 원칙과 커뮤니티 모범 사례에 따라 재사용 가능하고 유지 관리가 용이한 모듈로 변환합니다.
모놀리식 Terraform 구성을 HashiCorp의 모듈 설계 원칙과 커뮤니티 모범 사례에 따라 재사용 가능하고 유지 관리가 용이한 모듈로 변환합니다.
이 스킬은 모놀리식 Terraform 구성을 재사용 가능하고 유지 관리가 쉬운 모듈로 리팩토링하는 프로세스를 자동화합니다. HashiCorp의 모듈 설계 원칙과 업계 모범 사례를 기반으로 하여, 기존 코드를 분석하고 적절한 모듈 경계를 식별하며, 변수, 출력, 리소스 종속성을 효과적으로 재구성합니다. 주로 Terraform 프로젝트와 함께 사용되며, 'terraform init', 'terraform fmt', 'terraform validate' 같은 명령어를 활용하여 변경 사항이 적용된 후에도 구성이 유효하고 일관된 상태를 유지하도록 보장합니다. 이 스킬은 IaC 모범 사례의 달성을 가속화하고, 협업을 개선하며, 복잡한 인프라 코드베이스의 유지 보수 부담을 줄여주므로 DevOps 엔지니어, 플랫폼 팀, 대규모 Terraform 배포를 관리하는 모든 개발자에게 유용합니다.
npx skills add https://github.com/hashicorp/agent-skills/tree/main/skills/refactor-module모놀리식 Terraform 구성을 HashiCorp의 모듈 설계 원칙과 커뮤니티 모범 사례에 따라 재사용 가능하고 유지 관리가 용이한 모듈로 변환합니다.
This repo contains 15 individual skills — each has its own dedicated page.
Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.
Build Azure managed images and Azure Compute Gallery images with Packer. Use when creating custom images for Azure VMs.
Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.
Use this when scaffolding a new Terraform provider.
Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).
Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.
Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and acceptance testing for provider resources.
Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.
Push Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. Use when integrating Packer builds with HCP Packer for version control and governance.
Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.
Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.
Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.
Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".