Skip to content
Skill

Pulumi upgrade provider

Guides an agent through upgrading a Pulumi provider repo to a new upstream version

Pulumi upgrade provider is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
82
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Pulumi upgrade provider

This skill walks an agent through running the upgrade-provider tool against a Pulumi provider repository in no-submit mode, so the upgrade is built locally and nothing is pushed to GitHub during the run. It covers recording pre-existing local changes before the tool stages files, capturing the run log outside the repository, and scanning for error lines. When the tool fails, the agent is pointed to a bundled error reference for known failure modes such as patch conflicts, missing module mappings, and Plugin SDKv2 to Plugin Framework migrations.

After a successful local run, the skill has the agent review the resulting branch: summarizing changed paths, checking patch commits in the upstream checkout, and auditing replacement entries for unresolved TODO placeholders. Submission is done manually with a lease-protected force push and gh commands, and the skill keeps the release label that the tool proposes rather than changing it. It also defines when to stop and report instead of retrying.

The skill expects a Pulumi provider repository, the upgrade-provider command on the PATH, git, and the GitHub CLI. It refers to a companion upstream-patches skill for patch work.

When your agent uses it

Automate Pulumi provider repo upgrades with the `upgrade-provider` tool. Use when upgrading a pulumi provider repository to a new upstream version, running `upgrade-provider`, and addressing its common failure modes like patch conflicts or missing module mappings.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (35 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the pulumi plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add pulumi/agent-skills
/plugin install pulumi@pulumi-agent-skills

Or copy only this skill to ~/.claude/skills/pulumi-upgrade-provider:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pulumi-upgrade-provider &&
cp -R "$tmp/package-maintenance/skills/pulumi-upgrade-provider" ~/.claude/skills/pulumi-upgrade-provider &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/pulumi-upgrade-provider inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pulumi-upgrade-provider to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pulumi-upgrade-provider &&
cp -R "$tmp/package-maintenance/skills/pulumi-upgrade-provider" ~/.agents/skills/pulumi-upgrade-provider &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/pulumi-upgrade-provider inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pulumi-upgrade-provider to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pulumi-upgrade-provider &&
cp -R "$tmp/package-maintenance/skills/pulumi-upgrade-provider" ~/.cursor/skills/pulumi-upgrade-provider &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pulumi-upgrade-provider inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/pulumi/agent-skills.git --path package-maintenance/skills/pulumi-upgrade-provider

Or copy the folder to ~/.gemini/skills/pulumi-upgrade-provider yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/pulumi-upgrade-provider:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pulumi/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pulumi-upgrade-provider &&
cp -R "$tmp/package-maintenance/skills/pulumi-upgrade-provider" ~/.copilot/skills/pulumi-upgrade-provider &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/pulumi-upgrade-provider inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/pulumi/agent-skills.git

Then copy agent-skills/package-maintenance/skills/pulumi-upgrade-provider into your agent's skills folder as pulumi-upgrade-provider. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Local upgrade run
Runs upgrade-provider in no-submit mode and keeps retries from pushing anything to GitHub.
Error triage loop
Scans the run log for error lines and retries fixes using a bundled reference of known failures.
Pre-upgrade baseline
Records existing working tree changes so unrelated files do not end up in the upgrade branch.
Patch review workflow
Checks out upstream patches, reviews the applied commits, and checks the tree back in.
Placeholder audit
Blocks submission when replacement docs still contain TODO placeholders.
Reviewed PR submission
Pushes with a lease-protected force push and creates or updates the PR with gh, keeping the proposed release label.

Good for

  • Upgrade this Pulumi provider to the latest upstream release
  • Fix the patch conflict that blocked the provider upgrade
  • Check the local upgrade branch before opening a pull request
  • Add missing module mappings so upgrade-provider can finish

Pulumi upgrade provider FAQ

What does Pulumi upgrade provider need to run?

It needs the upgrade-provider tool available in PATH, a Pulumi provider repository, git, and the GitHub CLI for the review and submission steps.

Does Pulumi upgrade provider push changes automatically?

No. The run loop uses --no-submit and must not push or change GitHub. Pushing happens only in the manual submission step after review.

Which release label does Pulumi upgrade provider apply to the PR?

It uses exactly the label that upgrade-provider emits, based on the upstream version change, and does not change it.

When should the agent stop instead of retrying?

When the tool is missing (exit 127), the same error persists after three fix attempts, the error is not covered by the reference, patch state is ambiguous, or the fix needs a human decision.

How do I install Pulumi upgrade provider in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pulumi-upgrade-provider to use it in all your projects, or to .claude/skills/pulumi-upgrade-provider in one project. Or install the pulumi plugin, which includes it: /plugin marketplace add pulumi/agent-skills, then /plugin install pulumi@pulumi-agent-skills.

Does Pulumi upgrade provider run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Pulumi upgrade provider?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Pulumi upgrade provider?

The closest alternatives to Pulumi upgrade provider are Provider upgrade, Upstream patches, Pulumi debug failed operation, Pulumi delivery and Package usage.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from pulumi/agent-skills

  1. Hands the current coding thread off to a new Pulumi Neo task

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  2. Guides an agent through converting AWS CloudFormation stacks into Pulumi programs

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  3. Guides an agent through converting or importing Azure ARM and Bicep templates into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  4. Guides an agent through migrating an AWS CDK app to Pulumi with a PR-ready report

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure
  5. Guides an agent through migrating Terraform or OpenTofu projects and state into Pulumi

    • Open source
    • 82 GitHub stars
    • Cloud and infrastructure