hashicorp/new-terraform-provider
Scaffold a new Terraform provider project using the Plugin Framework
Open source
Description
new-terraform-provider is an agent skill from HashiCorp that scaffolds a new Terraform provider project using the Plugin Framework. It sets up the Go module, installs dependencies, writes a main.go entry point, and checks that the build compiles and the tests pass. The page says that bootstrapping a provider by hand means cross-referencing Plugin Framework docs, writing correct main.go boilerplate and running several go commands in the right order, and the skill does all of that in one step. Example jobs from the page are starting a provider from a clean directory structure, wiring up the Plugin Framework entry point without reading the boilerplate docs, generating a workspace that builds and passes tests from the start, adding a second provider to a repository without mixing it into an existing workspace, and getting a go.mod and dependency tree in place before the first resource is written. It is for developers who are building a new Terraform provider in Go. Install it with npx skills add https://github.com/hashicorp/agent-skills --skill new-terraform-provider. HashiCorp publishes it in its agent-skills repository on GitHub, and the page labels it official.…
Highlights
- Creates the Go module and installs dependencies
- Writes main.go for the Plugin Framework
- Checks the build compiles
- Checks that the tests pass
- Works in a clean or existing repository
Ratings & Reviews
No ratings yet
Be the first to rate hashicorp/new-terraform-provider.
People also visit

terraform-provider-development
Terraform provider development skills including resources, data sources
hashicorp/provider-actions
Implement Terraform Provider Actions using the Plugin Framework

terraform-module-generation
Terraform module generation and refactoring skills including module design
hashicorp/new-terraform-provider FAQ
What does this skill create?
A new Terraform provider project using the Plugin Framework, with a Go module, main.go and passing build and tests.
How do I install it?
Run npx skills add https://github.com/hashicorp/agent-skills --skill new-terraform-provider.
Does it need Go?
The skill builds a Go module and runs go commands, so Go needs to be set up. The page does not list other requirements.
Can I add a second provider to a repo?
Yes. The page says it can add one without mixing it into an existing workspace.
Who publishes it?
HashiCorp, in its agent-skills repository on GitHub. The page labels it official.
What are the best hashicorp/new-terraform-provider alternatives?
Popular alternatives to hashicorp/new-terraform-provider include new-terraform-provider, terraform-skill and terraform-provider-development. See all hashicorp/new-terraform-provider alternatives





