terraform-test
terraform-test is an agent skill published by hashicorp, listed under deploy & operate. It lives in the hashicorp/agent-skills repository, which has 909 GitHub stars and is licensed under MPL-2.0; we last read it on 2026-09-16.
This repository provides guidance for writing and running Terraform tests, including creating .tftest.hcl files, writing test scenarios, validating infrastructure behavior, mocking providers and data sources, testing module outputs and resource configurations, and troubleshooting test syntax and execution.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads hashicorp/agent-skills’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add hashicorp/agent-skills
Maintenance
Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
terraform-test compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| terraform-test (this page) | hashicorp | Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writ… | 909 | 2026-10-05 |
| new-terraform-provider(same repository) | hashicorp | Use this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module set… | 909 | 2026-10-05 |
| internal-comms | anthropic | A set of resources to help me write all kinds of internal communications, using the formats that my company l… | 183,845 | 2026-10-09 |
| xlsx | anthropic | Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user… | 183,845 | 2026-10-09 |
| ci-cd-and-automation | addyosmani | Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you… | 110,611 | 2026-10-13 |
| observability-and-instrumentation | addyosmani | Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing… | 110,611 | 2026-10-13 |
| agent-platform-endpoint-management | Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serv… | 21,580 | 2026-10-25 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about terraform-test
- What does terraform-test do?
- This repository provides guidance for writing and running Terraform tests, including creating .tftest.hcl files, writing test scenarios, validating infrastructure behavior, mocking providers and data sources, testing module outputs and resource configurations, and troubleshooting test syntax and execution.
- How do I install terraform-test?
- Run npx skills add hashicorp/agent-skills. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes terraform-test?
- hashicorp.
- Is terraform-test maintained, and what licence does it use?
- Its repository has 909 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-05. The repository declares the MPL-2.0 licence.
More agent skills for deploy & operate
- ai-content-pipelineby 101-skills
- explainer-video-guideby 101-skills
- ci-cd-and-automationby addyosmani
- observability-and-instrumentationby addyosmani
- internal-commsby anthropic
- xlsxby anthropic