Skip to main content

provider-resources

Implement Terraform Provider resources and data sources using the Plugin Framework: CRUD operations, schema design, plan modifiers and validators, not-found handling, waiters for eventually consistent APIs, import support, resource design principles, and required acceptance test coverage. Use when adding or changing a resource or data source, deciding whether an API concept should be a resource, wiring a resource to the provider's configured client, handling drift or resource-not-found, or reviewing a resource implementation before submission.

HashiCorpTerraformMPL-2.0

When provider-resources runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /provider-resources in Claude Code or $provider-resources in Codex.

The description says when to use it:

Use when adding or changing a resource or data source, deciding whether an API concept should be a resource, wiring a resource to the provider's configured client, handling drift or resource-not-found, or reviewing a resource…

Install provider-resources

Claude Code

Copy the provider-resources folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/provider-resources .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if provider-resources does not appear.

git clone --depth 1 https://github.com/hashicorp/agent-skills.git /tmp/hashicorp-agent-skills
mkdir -p .agents/skills
cp -r /tmp/hashicorp-agent-skills/plugins/terraform/skills/provider-resources .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for provider-resources and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

provider-resources ships 3 files, 28.4 KB in total. Select a file to load it from GitHub.

SKILL.md17.9 KBView on GitHub ↗

All skills by HashiCorp