pulumi avatar

Upstream Patches

This handles the workflow for managing patch files on top of a Terraform provider submodule using a shell script wrapper. You'd reach for it when upgrading a provider breaks existing patches, when you need to amend a patch that's causing a regression, or when rebasing your patch stack onto a new upstream commit. The skill enforces a specific flow: find the owning commit first, use non-interactive rebase over interactive where possible, and always amend existing patches rather than creating new ones unless explicitly asked. It's built around the assumption that agents shouldn't hand-edit patch files or make direct commits to the submodule. The verification checklist and conflict resolution steps are detailed enough to be genuinely useful.

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

Install

$ npx -y skills add pulumi/agent-skills --skill upstream-patches --agent claude-code

Installs into .claude/skills of the current project.

Files

Upstream Patches

upstream/ is a git submodule pointing to the upstream Terraform provider. patches/ contains patch files applied on top of it. Use ./scripts/upstream.sh to manage patch state.

Default Behavior

  • If fixing a regression introduced by an existing patch, amend the owning patch commit.
  • Do not create a new patch unless the user explicitly asks.

Commands Reference

CommandDescription
./scripts/upstream.sh initInitialize upstream and apply patches to working directory
./scripts/upstream.sh init -fDestructively discard checkout/rebase state and re-initialize upstream
./scripts/upstream.sh checkoutCreate branch with patches as commits for editing
./scripts/upstream.sh rebase -iInteractively edit patch commits
./scripts/upstream.sh rebase -o <commit>Rebase patches onto a new upstream commit
./scripts/upstream.sh check_inWrite commits back to patches and exit checkout mode

Guardrails

Sponsors

Details

Repository
github.com/pulumi/agent-skills
Categories
DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from pulumi/agent-skills

All 12
1alirezarezvani avatarciso-advisoralirezarezvani/claude-skillsSecurity leadership for growth-stage companies. Risk quantification in dollars, compliance roadmap (SOC 2/ISO 27001/HIPAA/GDPR), security architecture strategy,642skills.sh installs
2jezweb avatardrizzle-orm-d1jezweb/claude-skillsBuild type-safe D1 databases with Drizzle ORM. Includes schema definition, migrations with Drizzle Kit, relations, and D1 batch API patterns. Prevents 18 errors640skills.sh installs
3jsonwebtoken avatarjwt-encodejsonwebtoken/jwt-skillsCreate and sign JSON Web Tokens (JWTs) for testing and development. Use when the user wants to generate, create, build, or sign a JWT — e.g. "create a JWT", "ge640skills.sh installs
4jwynia avatarsystemic-worldbuildingjwynia/agent-skillsBuild worlds through cascading consequences from speculative changes. Use when introducing new technologies, species, or alternate histories and need to trace r640skills.sh installs
5everyinc avatarfrontend-designeveryinc/compound-engineering-pluginBuild web interfaces with genuine design quality, not AI slop. Use for any frontend work - landing pages, web apps, dashboards, admin panels, components, intera638skills.sh installs
6davila7 avataragent-evaluationdavila7/claude-code-templatesTesting and benchmarking LLM agents including behavioral testing, capability assessment, reliability metrics, and production monitoring—where even top agents ac637skills.sh installs