terraform-skill

Guide Terraform and OpenTofu module development, testing, CI/CD, and security scanning.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/matheus3301/skills --skill terraform-skill-matheus3301
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-skill
Source: https://github.com/matheus3301/skills/tree/main/terraform
Command: npx skills add https://github.com/matheus3301/skills --skill terraform-skill-matheus3301

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for using Terraform and OpenTofu, enabling users to write more robust, secure, and maintainable Infrastructure as Code.

Core Features & Use Cases

  • Module Development: Learn to structure, write, and version reusable Terraform modules.
  • Testing Strategies: Implement effective testing with native tests, Terratest, and static analysis.
  • CI/CD Integration: Set up automated pipelines for validation, planning, and deployment.
  • Security & Compliance: Harden your IaC with security scanning and compliance checks.
  • Use Case: A developer needs to create a new Terraform module for an S3 bucket. They can use this Skill to understand best practices for variable definitions, output values, testing, and security configurations, ensuring the module is production-ready.

Quick Start

Use the terraform skill to generate a new Terraform module for an AWS S3 bucket.

Frequently Asked Questions about terraform-skill

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

FAQPage Schema
How do I structure and version reusable Terraform modules for production?

To structure reusable Terraform modules, follow established patterns for variable definitions, output values, and security configurations. This ensures your Infrastructure as Code is robust, maintainable, and production-ready.

What is the best way to test Terraform and OpenTofu configurations?

The best way to test Terraform configurations is by implementing native tests, Terratest, and static analysis. These testing frameworks validate your Infrastructure as Code before deployment to prevent runtime errors.

How do I integrate Infrastructure as Code into CI/CD pipelines?

Integrate Infrastructure as Code into CI/CD by setting up automated pipelines for validation, planning, and deployment. This automates Terraform workflows and ensures consistent infrastructure changes across environments.

Can I harden Terraform modules with security scanning and compliance checks?

Yes, you can harden Terraform modules by integrating security scanning and compliance checks into your workflow. This identifies vulnerabilities within your Infrastructure as Code before it reaches production.

Do I need to understand HCL syntax before writing Infrastructure as Code?

Yes, understanding HCL syntax and cloud provider concepts is required. This prerequisite knowledge allows you to effectively apply best practices for module development and version management.