Back to skills

new-terraform-provider

infrastructure

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. Manua

Setup & Installation

npx skills add https://github.com/hashicorp/new-terraform-provider --skill new-terraform-provider
or paste the link and ask your coding assistant to install it
https://github.com/hashicorp/new-terraform-provider
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

  • Working with new terraform provider functionality
  • Implementing new terraform provider features
  • Debugging new terraform provider related issues