Skip to content
Development
Skill

/new-terraform-provider

Use this when scaffolding a new Terraform provider.

From plugin
hashicorp-agent-skills
79017 skills
Install
$ npx -y skills add hashicorp/agent-skills --skill new-terraform-provider --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/new-terraform-provider

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use this when scaffolding a new Terraform provider.

SKILL.md

new-terraform-provider.SKILL.md
name: new-terraform-provider
description: Use this when scaffolding a new Terraform provider.
license: MPL-2.0
metadata:
  copyright: Copyright IBM Corp. 2026
  version: "0.0.1"

To scaffold a new Terraform provider with Plugin Framework:

1. If I am already in a Terraform provider workspace, then confirm that I want to create a new workspace. If I do not want to create a new workspace, then skip all remaining steps. 1. Create a new workspace root directory. The root directory name should be prefixed with "terraform-provider-". Perform all subsequent steps in this new workspace. 1. Initialize a new Go module.. 1. Run `go get -u github.com/hashicorp/terraform-plugin-framework@latest`. 1. Write a main.go file that follows [the example](assets/main.go). 1. Remove TODO comments from `main.go` 1. Run `go mod tidy` 1. Run `go build -o /dev/null` 1. Run `go test ./...`

Ships withhashicorp-agent-skills

A collection of Agent skills and Claude Code plugins for HashiCorp products. Legal Note: Your use of a third party MCP Client/LLM is subject solely to the terms of use for such MCP/LLM, and IBM is not responsible for the performance of such third party tools.

Get the whole plugin
Stats
791
Stars
118
Forks
Active
Maintenance
HCL
Language
MPL-2.0
License
5d ago
Last commit
9mo ago
Created

Repo: hashicorp/agent-skills