Terraform Patterns
技能 已验证 活跃Terraform infrastructure-as-code agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Covers module design patterns, state management strategies, provider configuration, security hardening, policy-as-code with Sentinel/OPA, and CI/CD plan/apply workflows. Use when: user wants to design Terraform modules, manage state backends, review Terraform security, implement multi-region deployments, or follow IaC best practices.
To help users write more robust, secure, and well-structured Terraform infrastructure as code by providing automated analysis and security auditing.
功能
- Automated Terraform code review and anti-pattern detection
- Security vulnerability scanning for Terraform code
- Analysis of module structure, naming, variables, and outputs
- Support for multiple Terraform files and directories
- Clear reporting with severity levels and remediation advice
使用场景
- Reviewing Terraform code before committing or merging
- Auditing existing Terraform infrastructure for security risks
- Ensuring Terraform modules follow best practices for reusability
- Identifying and fixing common Terraform misconfigurations
非目标
- Executing Terraform plans or applies
- Managing Terraform state
- Providing tutorials on Terraform syntax
- Replacing comprehensive Terraform linters like `tflint` or `checkov`
安装
请先添加 Marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install terraform-patterns@claude-code-skills质量评分
已验证类似扩展
OpenClaw Release Maintainer
100Prepare or verify OpenClaw stable/beta releases, changelogs, release notes, publish commands, and artifacts.
Ship Gate
100Pre-production audit that scans a codebase for security, database, deployment, code quality, AI/LLM, dependency, frontend, and observability issues. Intercepts deploy commands and blocks until critical items pass. Stack-agnostic. Use for "run ship gate", "am I ready to ship", "pre-launch audit", "can I deploy", "push to production", "go live checklist", "preflight check". Not for CI/CD setup or infra provisioning.
Provision Infrastructure Terraform
99Provision and manage cloud infrastructure using Terraform with HCL modules, remote state backends, workspaces, and plan/apply workflow. Implement infrastructure as code patterns with variable management, output values, and state locking for team collaboration. Use when provisioning new cloud infrastructure, migrating from ClickOps or CloudFormation to declarative IaC, managing multi-environment infrastructure, versioning infrastructure changes alongside application code, or enforcing standards through reusable modules.
Terraform Security Audit
99Security audit for Terraform codebases covering IAM, networking, encryption, secrets, access control, and compliance. Use before prod deploys, periodic audits, or new service security review.
Terraform Engineer
99Use when implementing infrastructure as code with Terraform across AWS, Azure, or GCP. Invoke for module development (create reusable modules, manage module versioning), state management (migrate backends, import existing resources, resolve state conflicts), provider configuration, multi-environment workflows, and infrastructure testing.
Import Infrastructure as Code
99Import existing Azure resources into Terraform using Azure CLI discovery and Azure Verified Modules (AVM). Use when asked to reverse-engineer live Azure infrastructure, generate Infrastructure as Code from existing subscriptions/resource groups/resource IDs, map dependencies, derive exact import addresses from downloaded module source, prevent configuration drift, and produce AVM-based Terraform files ready for validation and planning across any Azure resource type.