pulumi avatar

Pulumi Upgrade Provider

Automates the gnarly process of upgrading Pulumi provider repositories to new upstream versions by running the upgrade-provider tool in a loop and fixing its common failure modes. You'll mainly use this when a provider needs to track a new version of its upstream Terraform provider or SDK. It handles the tedious stuff like patch conflicts, missing module mappings, and go.mod replacement directives, then creates a PR when it succeeds. The skill enforces strict guardrails around git operations since upgrade-provider manages branches and commits itself. Includes a reference doc for known error patterns and knows when to bail out and ask for human judgment on breaking changes or architectural decisions.

skills.sh installs
702
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add pulumi/agent-skills --skill pulumi-upgrade-provider --agent claude-code

Installs into .claude/skills of the current project.

Files

Pulumi Upgrade Provider

Overview

Run upgrade-provider --no-submit, fix known failures, and rerun until success. During the run loop, the tool owns branch and generated-commit state but does not push or mutate GitHub. After success, review and correct the local result before submitting it using the plan printed by the tool.

Preflight

  1. Record existing changes as the pre-upgrade baseline:
baseline_file="${TMPDIR:-/tmp}/upgrade-provider-$(basename "$PWD")-baseline.txt"
git status --short --untracked-files=all | tee "$baseline_file"

Existing changes do not block the upgrade, but the tool stages broadly and may include them in generated commits. If practical, isolate clearly unrelated work in another branch or worktree, move local-only files, or add untracked local artifacts to .git/info/exclude. Otherwise proceed and carry this baseline into the final review. Do not add a repository .gitignore rule unless the path should be ignored for all contributors.

  1. Keep the run log outside the repository so the tool cannot stage it.

Run Loop

  1. Run from repo root:

Sponsors

Details

Repository
github.com/pulumi/agent-skills
Categories
AI & Agent Building, Release Management, Automation & Workflows, Cloud & Infrastructure
First seen
Jun 3, 2026

More from pulumi/agent-skills

All 12
1new-silvermoon avatarandroid-architecturenew-silvermoon/awesome-android-agent-skillsExpert guidance on setting up and maintaining a modern Android application architecture using Clean Architecture and Hilt. Use this when asked about project str701skills.sh installs
2fluxcd avatargitops-repo-auditfluxcd/agent-skillsAudit and validate Flux CD GitOps repositories by scanning local repo files (not live clusters) — runs Kubernetes schema validation, detects deprecated Flux API699skills.sh installs
3jwynia avatarstory-analysisjwynia/agent-skillsSystematically evaluate completed short stories or novel chapters to identify strengths, weaknesses, and improvement opportunities. Use after drafting to assess699skills.sh installs
4remix-run avatarreact-router-declarative-moderemix-run/agent-skillsreact router declarative mode698skills.sh installs
5mukul975 avataranalyzing-android-malware-with-apktoolmukul975/anthropic-cybersecurity-skillsPerform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection, 697skills.sh installs
6openclaw avatarcrabboxopenclaw/agent-skillsRun OpenClaw remote validation on Linux, macOS, Windows, or WSL2 via the Crabbox or Testbox wrapper, including delegated Blacksmith proof. Report the actual pro696skills.sh installs