terraform-style-guide 是做什麼的?
根據 HashiCorp 官方風格慣例與最佳實務,生成 Terraform HCL 程式碼。在撰寫、審查或產生 Terraform 配置時使用。
根據 HashiCorp 官方風格慣例與最佳實務,生成 Terraform HCL 程式碼。在撰寫、審查或產生 Terraform 配置時使用。
此技能旨在協助開發者與 AI 代理遵循 HashiCorp 的官方 Terraform 風格指南,自動生成符合慣例的 HCL 程式碼。它能提升 Terraform 配置的可讀性、一致性與維護性,同時減少手動檢查風格錯誤所需的心力。支援所有 Terraform 工作流程,包括撰寫新配置、審查現有程式碼,以及自動生成基礎設施即程式碼 (IaC) 區塊。技能會依據 HashiCorp 在 terraform-style-guide 儲存庫中定義的最佳實務,自動調整縮排、變數名稱、資源順序、區塊結構與註解格式。適用於 Terraform CLI、Terraform Cloud、以及整合了 Terraform 的 CI/CD 管道。開發者只需提供原始 HCL 程式碼或配置需求,此技能便能回傳格式化後的版本或直接生成新配置,確保產出與社群接受的標準一致。
npx skills add https://github.com/hashicorp/agent-skills/tree/main/skills/terraform-style-guideInstalled? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
根據 HashiCorp 官方風格慣例與最佳實務,生成 Terraform HCL 程式碼。在撰寫、審查或產生 Terraform 配置時使用。
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.
Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
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.
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.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.