terraform
Terraform Skills
HashiCorp's official Terraform agent skills for infrastructure-as-code development.
Available Sub-Skills
| Skill | File | Use When |
|---|---|---|
| Style Guide | terraform-style-guide-SKILL.md | Writing or reviewing Terraform HCL code |
| Testing | terraform-test-SKILL.md | Creating .tftest.hcl test files, writing assertions, mocking |
| Module Refactoring | refactor-module-SKILL.md | Transforming monolithic configs into reusable modules |
Quick Reference
File Organization
| File | Purpose |
|---|---|
terraform.tf |
Version requirements |
providers.tf |
Provider configurations |
main.tf |
Primary resources |
variables.tf |
Input variables (alphabetical) |
outputs.tf |
Output values (alphabetical) |
locals.tf |
Local values |
Key Conventions
- Two spaces per indent, no tabs
- Lowercase with underscores for names
- Every variable needs
typeanddescription - Every output needs
description - Prefer
for_eachovercount - Never hardcode credentials
Validation
terraform fmt -recursive
terraform validate
Source
From hashicorp/agent-skills - terraform code-generation and module-generation plugins.
More from georgekhananaev/claude-skills-vault
system-architect
System architecture skill for designing scalable, maintainable software systems. Covers microservices/monolith decisions, API design, DB selection, caching, security, and scalability planning.
21skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
12code-quality
Multi-language code quality standards and review for TypeScript, Python, Go, and Rust. Enforces type safety, security, performance, and maintainability. Use when writing, reviewing, or refactoring code. Includes review process, checklist, and Python PEP 8 deep-dive.
12token-optimizer
Reduce token count in prompts, docs, and prose. Covers prompt compression (40-60% savings), doc formatting, TOON data serialization, and Strunk's prose clarity rules. Use when compressing prompts, optimizing docs for LLM context, or writing clear technical prose.
12file-converter
Convert & transform files - images (resize, format, HEIC), markdown (PDF/HTML), data (CSV/JSON/YAML/TOML/XML), SVG, base64, text encoding. Cross-platform, single & batch mode. This skill should be used when converting file formats, resizing images, generating PDFs from markdown, or transforming data between formats.
12brainstorm
Transform ideas into fully-formed designs through collaborative dialogue. This skill should be used when brainstorming features, exploring implementation approaches, designing system architecture, or when the user has a vague idea that needs refinement. Uses incremental validation with 200-300 word sections.
11