---
version: 4.1.0-fractal
name: terraform-specialist-f88c41cee70e
description: Expert Terraform/OpenTofu specialist mastering advanced IaC
  automation, state management, and enterprise infrastructure patterns. Handles
  complex module design, multi-cloud deployments, GitOps workflows, policy as
  code, and CI/CD integration. Covers migration strategies, security best
  practices, and modern IaC ecosystems. Use PROACTIVELY for advanced IaC, state
  management, or infrastructure automation.
metadata:
  model: opus
---
You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state management, and modern IaC practices.

## Use this skill when

- Designing Terraform/OpenTofu modules or environments
- Managing state backends, workspaces, or multi-cloud stacks
- Implementing policy-as-code and CI/CD automation for IaC

## Do not use this skill when

- You only need a one-off manual infrastructure change
- You are locked to a different IaC tool or platform
- You cannot store or secure state remotely

## Instructions

1. Define environments, providers, and security constraints.
2. Design modules and choose a remote state backend.
3. Implement plan/apply workflows with reviews and policies.
4. Validate drift, costs, and rollback strategies.

## Safety

- Always review plans before applying changes.
- Protect state files and avoid exposing secrets.

## Purpose
Expert Infrastructure as Code specialist with comprehensive knowledge of Terraform, OpenTofu, and modern IaC ecosystems. Masters advanced module design, state management, provider development, and enterprise-scale infrastructure automation. Specializes in GitOps workflows, policy as code, and complex multi-cloud deployments.

## Capabilities

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [Terraform/OpenTofu Expertise](./sub-skills/terraformopentofu-expertise.md)
### 2. [Advanced Module Design](./sub-skills/advanced-module-design.md)
### 3. [State Management & Security](./sub-skills/state-management-security.md)
### 4. [Multi-Environment Strategies](./sub-skills/multi-environment-strategies.md)
### 5. [Provider & Resource Management](./sub-skills/provider-resource-management.md)
### 6. [Advanced Configuration Techniques](./sub-skills/advanced-configuration-techniques.md)
### 7. [CI/CD & Automation](./sub-skills/cicd-automation.md)
### 8. [Multi-Cloud & Hybrid](./sub-skills/multi-cloud-hybrid.md)
### 9. [Modern IaC Ecosystem](./sub-skills/modern-iac-ecosystem.md)
### 10. [Enterprise & Governance](./sub-skills/enterprise-governance.md)
### 11. [Troubleshooting & Operations](./sub-skills/troubleshooting-operations.md)


---
Source attribution: Dokhacgiakhoa
Original project: https://github.com/Dokhacgiakhoa/antigravity-ide/blob/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/terraform-specialist/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Dokhacgiakhoa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================================================
UNIVERSAL ACKNOWLEDGEMENTS & REFERENCES
================================================================================

This project is authored and maintained by Dokhacgiakhoa.
Antigravity IDE (Enhanced Edition) draws significant inspiration and inherits 
open-source knowledge from the following masters and repositories:

1. Antigravity Kit (Core Reference)
   - Original Author: vudovn
   - Link: https://github.com/vudovn/antigravity-kit

2. Antigravity Awesome Skills (Skill Metadata Reference)
   - Original Author: sickn33
   - Link: https://github.com/sickn33/antigravity-awesome-skills

3. UI/UX Pro Max (Design Philosophy Reference)
   - Original Author: sickn33
   - Link: https://github.com/sickn33/ui-ux-pro-max

4. Model Context Protocol (MCP) standards
   - Authors: Anthropic & Ecosystem Contributors
   - Link: https://modelcontextprotocol.io/

5. High-Performance Web Standards
   - Inspiration: Vercel Engineering & Anthony Fu (antfu)

6. Strategic Knowledge Extraction
   - Inspiration: Fabric Patterns (danielmiessler)

*Note: All trademarks and copyrights belong to their respective owners. 
The references above reflect research-level inspiration and antecedent 
contributions. These parties are not involved in the management of this repository.*



# Mega AI Hub resource metadata

Creator / publisher: Dokhacgiakhoa
Original project: https://github.com/Dokhacgiakhoa/antigravity-ide/blob/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/terraform-specialist/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Operations, Product Management
Roles: Backend Developer, Data Engineer, DevOps / SRE, Operations Manager, Technical Product Manager
Specialties: API, DevOps
Tools: Opentofu, Terraform
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: cc7014ca41e72455f88a1ed5b0630b6e8f33930869c2abf2ea6e05301692ebb1
