LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/hashicorp/agent-skills --skill new-terraform-provider
or paste the link and ask your coding assistant to install it
https://github.com/hashicorp/agent-skills/tree/main/terraform/provider-development
View on GitHub

What This Skill Does

Scaffolds a new Terraform provider project using the Plugin Framework. Sets up the Go module, installs dependencies, writes a main.go entry point, and verifies the build compiles and tests pass.

Manually bootstrapping a Terraform provider requires cross-referencing the Plugin Framework docs, writing correct main.go boilerplate, and running several go commands in the right order — this skill handles all of it in one step.

When to use it

  • Starting a new Terraform provider from a clean directory structure
  • Wiring up the Plugin Framework entry point without reading through boilerplate docs
  • Generating a provider workspace that builds and passes tests out of the box
  • Adding a second provider to a repo without mixing it into an existing workspace
  • Getting a go.mod and dependency tree in place before writing the first resource