Registry / hashicorp

hashicorp/agent-skills/provider-test-patterns

Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing

Agent skill · version 0.0.0-main.1793923138.g5e30fa5 · from hashicorp/agent-skills

Install

npx yarkr-cli add skill:hashicorp/agent-skills/provider-test-patterns

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:hashicorp/agent-skills/provider-test-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:hashicorp/agent-skills/provider-test-patterns

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:hashicorp/agent-skills/provider-test-patterns

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.