plugins marketplace
← All plugins

terraform-provider-development

v1.0.0

Terraform provider development skills for Claude Code, including resources, data sources, actions, and acceptance testing.

Claude Code6 skills

by HashiCorpMPL-2.0790updated 5 days ago

Source

git clone https://github.com/hashicorp/agent-skills

Clone the source, then follow the repository's marketplace instructions for your runtime. The plugin root is terraform/provider-development/ inside the repository.

Layout

terraform/provider-development/
├── .claude-plugin/plugin.json
├── skills/new-terraform-provider/SKILL.md
├── skills/provider-actions/SKILL.md
├── skills/provider-docs/SKILL.md
├── skills/provider-resources/SKILL.md
├── skills/provider-test-patterns/SKILL.md
└── skills/run-acceptance-tests/SKILL.md

Skills6

new-terraform-providerskills/new-terraform-provider/SKILL.md

Use this when scaffolding a new Terraform provider.

provider-actionsskills/provider-actions/SKILL.md

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).

provider-docsskills/provider-docs/SKILL.md

Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.

provider-resourcesskills/provider-resources/SKILL.md

Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and acceptance testing for provider resources.

provider-test-patternsskills/provider-test-patterns/SKILL.md

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, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.

run-acceptance-testsskills/run-acceptance-tests/SKILL.md

Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.

Manifests1

terraform/provider-development/.claude-plugin/plugin.json
{
  "name": "terraform-provider-development",
  "version": "1.0.0",
  "description": "Terraform provider development skills for Claude Code, including resources, data sources, actions, and acceptance testing.",
  "author": {
    "name": "HashiCorp",
    "url": "https://github.com/hashicorp"
  },
  "homepage": "https://developer.hashicorp.com/terraform/plugin/framework",
  "repository": "https://github.com/hashicorp/agent-skills",
  "license": "MPL-2.0",
  "keywords": [
    "terraform",
    "provider",
    "plugin-framework",
    "resources",
    "testing"
  ]
}