New terraform provider
Skill ComeOnOliver/skillshub/skills/hashicorp/agent-skills/new-terraform-provider
Use this when scaffolding a new Terraform provider.From its SKILL.md
npx -y skills add ComeOnOliver/skillshub --skill new-terraform-providerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its file declares
Copied from the file, not written here
The file declares its own license as MPL-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
0.9 KB, 177 tokens by cl100k_base, as published. Nobody here has run it
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 ./...
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.