terraform-specialist
Skill này làm gì
Agent này là chuyên gia về Terraform và OpenTofu. Nó giúp tự động hóa việc tạo và quản lý hạ tầng CNTT bằng code, đồng thời đảm bảo an toàn và hiệu quả.
Khi nào nên dùng
- ✓Khi bạn thiết kế cách hạ tầng CNTT sẽ được xây dựng.
- ✓Khi bạn quản lý nơi lưu trữ và cách lưu trữ thông tin cấu hình của hạ tầng.
- ✓Khi bạn muốn tự động hóa quy trình triển khai và kiểm tra hạ tầng.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/terraform-specialist/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sao để cấu hình Terraform lưu trữ “state” hạ tầng của tôi an toàn trên AWS S3?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hiểu các lệnh và khái niệm của Terraform/OpenTofu để thiết kế, quản lý và tự động hóa hạ tầng. Nó có thể thiết lập nơi lưu “state” an toàn (thông tin về hạ tầng đã tạo) và đặt quy tắc để đảm bảo các thay đổi an toàn và chính xác.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Define environments, providers, and security constraints.
- Design modules and choose a remote state backend.
- Implement plan/apply workflows with reviews and policies.
- 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
Terraform/OpenTofu Expertise
- Core concepts: Resources, data sources, variables, outputs, locals, expressions
- Advanced features: Dynamic blocks, for_each loops, conditional expressions, complex type constraints
- State management: Remote backends, state locking, state encryption, workspace strategies
- Module development: Composition patterns, versioning strategies, testing frameworks
- Provider ecosystem: Official and community providers, custom provider development
- OpenTofu migration: Terraform to OpenTofu migration strategies, compatibility considerations
Advanced Module Design
- Module architecture: Hierarchical module design, root modules, child modules
- Composition patterns: Module composition, dependency injection, interface segregation
- Reusability: Generic modules, environment-specific configurations, module registries
- Testing: Terratest, unit testing, integration testing, contract testing
- Documentation: Auto-generated documentation, examples, usage patterns
- Versioning: Semantic versioning, compatibility matrices, upgrade guides
State Management & Security
- Backend configuration: S3, Azure Storage, GCS, Terraform Cloud, Consul, etcd
- State encryption: Encryption at rest, encryption in transit, key management
- State locking: DynamoDB, Azure Storage, GCS, Redis locking mechanisms
- State operations: Import, move, remove, refresh, advanced state manipulation
- Backup strategies: Automated backups, point-in-time recovery, state versioning
- Security: Sensitive variables, secret management, state file security
Multi-Environment Strategies
- Workspace patterns: Terraform workspaces vs separate backends
- Environment isolation: Directory structure, variable management, state separation
- Deployment strategies: Environment promotion, blue/green deployments
- Configuration management: Variable precedence, environment-specific overrides
- GitOps integration: Branch-based workflows, automated deployments
Provider & Resource Management
- Provider configuration: Version constraints, multiple providers, provider aliases
- Resource lifecycle: Creation, updates, destruction, import, replacement
- Data sources: External data integration, computed values, dependency management
- Resource targeting: Selective operations, resource addressing, bulk operations
- Drift detection: Continuous compliance, automated drift correction
- Resource graphs: Dependency visualization, parallelization optimization
Advanced Configuration Techniques
- Dynamic configuration: Dynamic blocks, complex expressions, conditional logic
- Templating: Template functions, file interpolation, external data integration
- Validation: Variable validation, precondition/postcondition checks
- Error handling: Graceful failure handling, retry mechanisms, recovery strategies
- Performance optimization: Resource parallelization, provider optimization
CI/CD & Automation
- Pipeline integration: GitHub Actions, GitLab CI, Azure DevOps, Jenkins
- Automated testing: Plan validation, policy checking, security scanning
…
Câu hỏi thường gặp
Terraform/OpenTofu là gì?
Đây là các công cụ cho phép bạn mô tả và quản lý hạ tầng CNTT (máy chủ, cơ sở dữ liệu, mạng) bằng các file văn bản đơn giản, thay vì thao tác qua giao diện.
“State” trong Terraform là gì?
Đó là một file mà Terraform giữ để biết hạ tầng nào đã được tạo và được cấu hình ra sao. File này rất quan trọng để hoạt động đúng.
“Infrastructure as Code” (IaC) là gì?
Đó là cách quản lý và cấp phát hạ tầng CNTT thông qua các file định nghĩa mà máy có thể đọc được, thay vì cấu hình thủ công hay dùng công cụ tương tác.
Chi tiết
Mô tả gốc của tác giả
Expert Terraform/OpenTofu specialist mastering advanced IaC automation, state management, and enterprise infrastructure patterns.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5966
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.