一键导入
terraform-style
Enforce Windsor Core Terraform module structure, naming, and style conventions. Use when creating or editing any Terraform file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforce Windsor Core Terraform module structure, naming, and style conventions. Use when creating or editing any Terraform file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Inspect the local Windsor cluster health and Flux tuning — kustomizations, helm releases, sources, pods, recent events, suspended/stalled resources, reconciliation intervals, and controller resource usage.
Pre-push review for Windsor Core. Runs parallel passes over staged changes to catch bugs in facets, kustomize, Terraform, and schema before the branch hits CI.
Author Windsor facets, config expressions, and schema additions. Knows facet YAML structure, expression syntax, the layering system (provider > option > addon), and how to write matching test cases.
Push the current branch and open or update its pull request with a Conventional-Commits title. Does NOT author a PR description -- the claude-code-review workflow upserts the canonical summary into the body on every push, so this skill leaves the body empty for CI to fill and never touches an existing one. Run after committing and before announcing the PR. Use whenever the user asks to "open the PR", "push and PR", or after the project's gates are green and the branch is ready.
Author and maintain reference Markdown for the core Windsor blueprint for ingestion into windsorcli.github.io. Use when writing docs under docs/, Terraform module reference, Kustomize stack operator guides (README per stack), or compatibility matrices.
Walk through review comments and failed CI checks on the current branch's PR, propose a fix per finding, and stage it for the author to review BEFORE committing. One pause-and-review cycle per finding. Use when the user says "address PR feedback", "fix the PR comments", "go through the review", or after a `gh pr checks` shows failures and the author wants to work through them one at a time. Pairs with create-pr (outgoing) and review-pr (pre-commit).
| name | terraform-style |
| description | Enforce Windsor Core Terraform module structure, naming, and style conventions. Use when creating or editing any Terraform file. |
*.tf or *.tftest.hcl file.Every module requires exactly these files:
main.tfvariables.tfoutputs.tftest.tftest.hclREADME.mdFolder layout: terraform/<layer>/<implementation> (e.g. terraform/gitops/flux, terraform/cluster/talos). Implementations may be vendor-prefixed (e.g. aws-eks).
main.tf sections in order, using this exact header format:
# =============================================================================
# [SECTION NAME]
# =============================================================================
Common sections: Provider Configuration, then logical resource groups (e.g. Network Resources, Compute Resources). Define locals within their relevant section, not in a separate block.
resource "azurerm_virtual_network" "core" not "core_network".validation blocks for user-facing inputs.sensitive = true on both variables and outputs.# The [Resource] is a [brief description].
# It provides [explanation].
resource "type" "name" { ... }
No inline comments inside resource blocks.
terraform_remote_state.depends_on only for non-inferable dependencies.