Migrate Terraform provider resources and data sources from Plugin SDKv2 to the Plugin Framework: muxing both plugins in one provider (terraform-plugin-mux, tf5to6server), per-resource migration workflow, SDKv2-to-Framework schema mapping (ForceNew, ValidateFunc, DiffSuppressFunc, Default, Timeouts, blocks), null-vs-zero-value behavioral traps, and state-compatibility verification.
安装
npx skills add hashicorp/agent-skills --skill provider-framework-migrationnpx skills add hashicorp/agent-skills --skill provider-framework-migration -a claude-code -gnpx skills add hashicorp/agent-skills --skill provider-framework-migration -a codex -ggemini skills install https://github.com/hashicorp/agent-skills.git --path plugins/terraform/skills/provider-framework-migrationgh skill install hashicorp/agent-skills provider-framework-migrationgit clone --depth 1 https://github.com/hashicorp/agent-skills /tmp/hashicorp__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/provider-framework-migration ~/.claude/skills/provider-framework-migration # Claude Code
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/provider-framework-migration ~/.agents/skills/provider-framework-migration # Codex, Cursor, Gemini CLI, Copilot, OpenCode