---
title: "Terraform Provider Scaffold: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/hashicorp-new-terraform-provider/
description: "Scaffold a Plugin Framework provider with configuration schema, unknown-value guards and environment credential fallback."
---

# Terraform Provider Scaffold: review, setup & limitations · Undominated.ai

> Scaffold a Plugin Framework provider with configuration schema, unknown-value guards and environment credential fallback.

[← Explore all skills](/skills/)

INFRASTRUCTURE / hashicorp

# Terraform Provider Scaffold

Scaffold a Plugin Framework provider with configuration schema, unknown-value guards and environment credential fallback.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 5 linked sources
 Publisher hashicorp
 Licence [MPL-2.0 ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE)
 Revision f706481af9b8
 [Read what was—and wasn’t—checked ↓](#review)

“Use this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module setup, provider server main.go, and a provider.go with schema and Configure. …”

 [hashicorp · upstream description ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - It scaffolds a Plugin Framework provider only after confirming a new terraform-provider-* workspace.
- Credentials in the scaffold are explicit config with an environment-variable fallback, not a full provider chain.
- Includes concrete server and provider Go assets rather than only a directory checklist.
- Separates a compiling scaffold from the later resource and credential-chain implementation.

### A good fit for

 - Starting a new Terraform provider repository with main.go and internal/provider/provider.go
- Start a provider for an internal API.
- Create the initial Configure method with explicit-config precedence and environment fallback.
- Align scaffold provider identifiers and credential variable names with the target API.

### Weigh up before choosing

 - The skill stops if the user does not want a new workspace.
- It does not implement shared credentials files, profiles, or platform identity; that is deferred to provider-configuration.
- go get pulls the latest Plugin Framework module from GitHub, which this review did not run.
- This review did not execute the resource.
- The sample has no implemented API client or registered resources/data sources.
- The workflow resolves latest Framework dependencies; pin and review the resulting module versions for reproducibility.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/terraform/skills/new-terraform-provider/SKILL.md
- plugins/terraform/skills/new-terraform-provider/assets/provider.go
- README.md
- LICENSE

### Our findings

 - The first step confirms a new workspace and skips the rest when the user declines.
- The scaffold runs go get against github.com/hashicorp/terraform-plugin-framework and then go mod tidy, go build, and go test.
- Credentials are explicit config plus an environment variable, and the file says that is not yet a full credential provider chain.
- The first resource or data source is not part of this skill.
- provider.go rejects unknown config, marks API keys sensitive and falls back to DEMO_* environment variables.
- Resources and DataSources return empty lists; client handoff remains an explicit TODO.
- The scaffold instructions explicitly rename the demo provider, DEMO environment variables and authentication attributes to the target API before completing the workspace.

### Not established by this review

 - The resource was not executed and its tools were not called.
- No skill execution, authenticated service operation, or outcome benchmark was performed.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md)

DOCUMENTED COMMAND

 npx skills add hashicorp/agent-skills/plugins/terraform/skills/new-terraform-provider Copy command ↗

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

 Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

 npx skills add https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider Copy reviewed-revision command ↗ - Install the pinned skill directory interactively, retaining its bundled references and scripts.
- Create a distinct terraform-provider-* workspace and initialize its Go module.
- Adapt both assets, replace demo identifiers, then build/test before adding actual API operations.

### Before you start

 - Go toolchain and an identified target API
- Terraform Plugin Framework development environment

### Compatibility

Agents supporting directory-based SKILL.md instructions

### Local instructions; runtime access depends on the workflow

 - Creates workspace files and downloads Go modules; generated provider code will later use API credentials.

### Cost model

The skill is free; service usage and infrastructure can incur charges.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned skill definition ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/SKILL.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/SKILL.md Supports: summary, whySelected, bestFor, limitations, install, access, review
- [Publisher repository and installation guidance ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md Supports: install
- [MPL-2.0 licence ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE Supports: license
- [plugins/terraform/skills/new-terraform-provider/assets/provider.go ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/assets/provider.go) Checked 2026-10-14 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/assets/provider.go Supports: review, limitations, access, install
- [Pinned continuation review C2-W35 ↗](https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/new-terraform-provider/SKILL.md Supports: review.findings, bestFor, upstreamDescription

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Azure Verified Module Review ↗ Review Terraform module structure against the pinned AVM requirements guide.](/skills/hashicorp-azure-verified-modules/)[### Packer Azure Image Builder ↗ Prepare Azure managed or Compute Gallery images with Packer.](/skills/hashicorp-azure-image-builder/)[### Terraform Policy Authoring and Tests ↗ Author or migrate policy HCL with version-specific mock schemas and targeted pass/fail policy tests.](/skills/hashicorp-terraform-policy/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
