provider-new-terraform-provider

Scaffold Terraform provider projects with a Go module and Plugin Framework skeleton.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09 --skill provider-new-terraform-provider
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: provider-new-terraform-provider
Source: https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09/tree/main/.claude/skills/provider-new-terraform-provider
Command: npx skills add https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09 --skill provider-new-terraform-provider

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill helps engineers scaffold a new Terraform provider project using the Terraform Plugin Framework, providing a ready-to-run structure and guardrails for consistent development.

Core Features & Use Cases

  • Scaffolds a new Terraform provider workspace with standard Go module, provider entry point, and build/test configuration.
  • Demonstrates a minimal provider using the Plugin Framework, including a main.go skeleton and example import paths.
  • Use Case: When starting a new Terraform provider for an organization, quickly bootstrap the repository with starter files and build commands.

Quick Start

Scaffold a new Terraform provider workspace named terraform-provider-<your-name> and generate a main.go with a minimal provider using the Plugin Framework.

Frequently Asked Questions about provider-new-terraform-provider

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Terraform provider using the Plugin Framework?

You can scaffold a Terraform provider by generating a standardized Go module and a main.go entry point skeleton using the Plugin Framework. This produces a ready-to-run workspace with reproducible build and test workflows for immediate development.

What do I need to start building a custom Terraform provider?

Building a custom Terraform provider requires a Go environment to support the generated Go module. This scaffold supplies the Plugin Framework skeleton, standard import paths, and reproducible build and test workflow configurations to bootstrap the repository.

When should I create a custom Terraform provider instead of using existing ones?

You should create a custom Terraform provider when your organization needs to manage infrastructure resources unsupported by existing providers. Scaffolding a new project with the Plugin Framework establishes a standardized Go module structure for consistent internal development.

Does the Terraform Plugin Framework provide a standard project structure for Go providers?

Yes, the Terraform Plugin Framework supports a standard Go project structure. This scaffold generates a minimal provider entry point in main.go, initializes a Go module, and provides a reproducible build and test workflow configuration.

What is the best way to bootstrap a Terraform provider repository for a team?

The best way to bootstrap a Terraform provider repository for a team is to scaffold a standardized Go module and Plugin Framework skeleton. This ensures a consistent project structure, minimal main.go entry point, and ready-to-run build commands for all developers.

Can I customize the main.go skeleton after scaffolding a Terraform provider?

Yes, you can customize the main.go skeleton after scaffolding. The generated Terraform provider workspace provides a minimal starter structure using the Plugin Framework that is explicitly designed to be ready-to-customize for your specific resources.