Use this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module setup, provider server main.go, and a provider.go with schema and Configure. Also use when a user wants to start building a provider for a new API or asks how to begin a terraform-provider-* project.
75
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
To scaffold a new Terraform provider with Plugin Framework:
go get -u github.com/hashicorp/terraform-plugin-framework@latest.internal/provider/provider.go file that follows
the example. Rename the demo provider, the
DEMO_* environment variables, and the authentication attributes to
match the target API.main.go and provider.go.go mod tidygo build -o /dev/nullgo test ./...
The scaffold resolves credentials as explicit config with environment
variable fallback. To grow that into a full credential provider chain
(shared credentials files, profiles, platform identity, configure-time
validation), use the provider-configuration skill (if available). To add
the first resource or data source, use the provider-resources skill (if
available).3268468
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.