hashicorp/agent-skills2.5k installs
new-terraform-provider
Use this when scaffolding a new Terraform provider.
How do I install this agent skill?
npx skills add https://github.com/hashicorp/agent-skills --skill new-terraform-providerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a template for scaffolding new Terraform providers using the Go programming language. It follows standard development practices, utilizing common build tools and fetching necessary dependencies from established repositories.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
2/2 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
To scaffold a new Terraform provider with Plugin Framework:
- 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.
- Create a new workspace root directory. The root directory name should be prefixed with "terraform-provider-". Perform all subsequent steps in this new workspace.
- Initialize a new Go module..
- Run
go get -u github.com/hashicorp/terraform-plugin-framework@latest. - Write a main.go file that follows the example.
- Remove TODO comments from
main.go - Run
go mod tidy - Run
go build -o /dev/null - Run
go test ./...
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/hashicorp/agent-skills/new-terraform-provider">View new-terraform-provider on skillZs</a>