new-terraform-provider

Scaffold a Terraform provider project with the Plugin Framework and Go.

5|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill new-terraform-provider-lidge-jun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: new-terraform-provider
Source: https://github.com/lidge-jun/cli-jaw-skills/tree/main/terraform/provider-development/skills/new-terraform-provider
Command: npx skills add https://github.com/lidge-jun/cli-jaw-skills --skill new-terraform-provider-lidge-jun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github.com/hashicorp/terraform-plugin-framework@latest, and includes assets (resource) components.

What problem does it solve?

This Skill automates the setup of a new Terraform provider project, ensuring all necessary initial files and configurations are in place.

Core Features & Use Cases

  • Project Initialization: Creates a new workspace with the correct directory structure.
  • Dependency Management: Installs the required Terraform Plugin Framework.
  • Boilerplate Code: Generates essential Go files like main.go and sets up module definitions.
  • Use Case: When starting a new infrastructure module that requires custom Terraform logic, use this Skill to quickly bootstrap the provider project.

Quick Start

Use the new-terraform-provider skill to scaffold a new Terraform provider.

Frequently Asked Questions about 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?▼

To scaffold a new Terraform provider, this Skill automates project directory creation, Go module initialization, and boilerplate code generation using the Terraform Plugin Framework, yielding a clean, buildable provider structure ready for development.

What do I need to set up before creating a custom Terraform provider?▼

Before creating a custom Terraform provider, you need a proper Go environment. This Skill handles initializing the Go module and installing the required terraform-plugin-framework dependency to ensure your project is buildable.

Does this scaffolding tool generate main.go and test files for Terraform providers?▼

Yes, this scaffolding tool generates essential Go boilerplate code, specifically including main.go and test files, ensuring your new Terraform provider project has the foundational structure ready for development.

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

You should create a custom Terraform provider when starting a new infrastructure module that requires custom Terraform logic not covered by existing modules, allowing you to bootstrap the provider project quickly.

What is the best way to initialize a Terraform provider project in Go?▼

The best way to initialize a Terraform provider project is to use this Skill, which automates workspace creation, dependency installation, and boilerplate code generation to ensure a clean, buildable provider structure.