Planning skill that interrogates your use case before any code is written, then recommends the right Twilio Conversations stack — ConversationRelay, Memory, Intelligence, Orchestrator, TaskRouter — and the implementation skills to follow.
Terraform to Pulumi Migration
Summary
Pulumi's official migration skill for moving Terraform or OpenTofu projects to Pulumi — translating HCL and importing tfstate without recreating live infrastructure.
Features
- Translates HCL sources into TypeScript, Python or YAML Pulumi programs
- Imports existing Terraform state into a Pulumi stack instead of recreating resources
- Uses the terraform-migrate plugin, explicitly forbidding `pulumi convert`
- Pulls state from remote backends (S3, Pulumi Cloud, Terraform Cloud) when no local .tfstate exists
- Requires scope and target language to be agreed with the user before any change
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Migrate the Terraform project in ./infra to a Pulumi TypeScript program and import the existing state from our S3 backend.
Description
Migrating infrastructure-as-code between tools is dangerous in a specific way: translate the source but lose the state mapping, and the next up destroys and recreates production. pulumi-terraform-to-pulumi is Pulumi's official agent skill for doing the migration the safe way.
The workflow it enforces starts with agreement, not action. Before touching anything the agent must establish where the Terraform sources live, where the Pulumi project should go, which target language to emit (TypeScript, Python, YAML), and — the important question — whether the goal is to carry the stack state across or merely translate the source code. Only then does it create an empty Pulumi project, declare no resources, and run pulumi_up so an initial stack state exists to import into.
It is equally explicit about what not to do, which is where most hand-rolled migrations go wrong:
- Do not run
pulumi convert— the skill routes through theterraform-migrateplugin instead, because that is what preserves the state mapping. - Do not run
pulumi package add terraform-module; that is a different workflow entirely. - Do not create the Pulumi project outside the checked-out repository.
When no local .tfstate is present, the skill assumes a remote backend — S3, Pulumi Cloud, Terraform Cloud — and pulls it with terraform state pull > terraform.tfstate before continuing.
It ships as part of Pulumi's migration plugin group alongside skills for AWS CDK, CloudFormation and Azure ARM/Bicep migrations, and a Pulumi Cloud Discovery-based path for stacks you no longer have templates for. Install with /plugin install pulumi-migration, or /plugin install pulumi for the full end-user set. Apache-2.0.
Best for teams with a real Terraform estate they need to move, not for evaluating Pulumi against Terraform — the skill explicitly declines to trigger on comparison questions.
Related Skills
Foundational fal.ai skill that drives the genmedia CLI across 1200+ hosted generative model endpoints — smart routing, schema inspection, async queues and agent-parseable JSON.
Official AWS skill for authoring, deploying and debugging CDK stacks — construct patterns, bootstrap, drift, resource import and the CloudFormation errors that trap people.
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.