terraform-skill

Provide Terraform/OpenTofu best-practices guidance for infrastructure-as-code workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mrwyx12369/TeamPaw --skill terraform-skill-mrwyx12369
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-skill
Source: https://github.com/mrwyx12369/TeamPaw/tree/main/plugins/bundle/cloudpaw/skills/terraform-skill
Command: npx skills add https://github.com/mrwyx12369/TeamPaw --skill terraform-skill-mrwyx12369

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This knowledge base delivers structured, best-practice guidance for designing, testing, and securing Terraform/OpenTofu infrastructure as code, reducing errors and deployment risk.

Core Features & Use Cases

  • Module patterns, testing strategies (native tests, Terratest), CI/CD templates, and security guidance for IaC.
  • For developers and operators building, validating, and operating infrastructure code across environments.
  • Use case: When creating a new Terraform module, Claude guides you through structure, variable design, and validation rules.

Quick Start

Describe your Terraform/OpenTofu project and ask Claude to generate a complete, standards-aligned guidance package.

Frequently Asked Questions about terraform-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for structuring a new Terraform module?

Terraform module best practices involve standardizing directory structure, defining strict variable validation, and isolating environments to reduce deployment risk. Proper module design ensures reusable infrastructure-as-code components that are maintainable and testable across projects.

How do I test Terraform code effectively before deploying to production?

You can test Terraform code using native Terraform tests for configuration validation or Terratest for end-to-end infrastructure testing. Implementing these testing strategies catches configuration errors early and validates that deployed resources behave as expected before reaching production.

Does this Terraform guidance apply to OpenTofu workflows?

Yes, this Terraform guidance fully applies to OpenTofu workflows because OpenTofu is a direct fork. It provides comprehensive infrastructure-as-code best practices covering module patterns, security checks, and CI/CD templates that are compatible with both Terraform and OpenTofu implementations.

How do I integrate security checks into a Terraform CI/CD pipeline?

Integrate Terraform security checks into CI/CD pipelines by automating infrastructure-as-code scanning during the build phase. This enforces security standards continuously, preventing vulnerable resource configurations from being applied across any target environment.

What is the best way to manage Terraform state across multiple environments?

The best way to manage Terraform state across environments is using isolated state backends with strict module boundaries. This infrastructure-as-code pattern prevents state corruption and allows independent lifecycle management for development, staging, and production deployments.