New terraform provider

From eric861129/SKILLS_All-in-one · View interactive version

New terraform provider is an AI agent skill from the GitHub repository eric861129/SKILLS_All-in-one. Use this when scaffolding a new Terraform provider.

How to use this skill

Skill file

To scaffold a new Terraform provider with Plugin Framework:

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

  1. Create a new workspace root directory. The root directory name should be

prefixed with "terraform-provider-". Perform all subsequent steps in this

new workspace.

  1. Initialize a new Go module..
  2. Run go get -u github.com/hashicorp/terraform-plugin-framework@latest.
  3. Write a main.go file that follows the example.
  4. Remove TODO comments from main.go
  5. Run go mod tidy
  6. Run go build -o /dev/null
  7. Run go test ./...
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.