Pulumi Agent Skills

Official Pulumi skills: writing infrastructure as code, migrating from Terraform, CDK, CloudFormation and ARM, secrets in ESC

SkillMedium risk

pulumi/agent-skills

Install

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

For provider repositories also run /plugin install pulumi-package-maintenance.

This is third-party code. Review the repository files before installing.

What it does

Skills from the Pulumi team come in four groups. The core group teaches the agent to write reliable Pulumi programs, author components, use the Automation API and ESC, upgrade providers safely and debug a failed pulumi up. The migration group converts Terraform, AWS CDK, CloudFormation, ARM and Bicep projects into idiomatic Pulumi code. Separate skills serve provider authors and hand off in-progress work to Pulumi Neo.

Who it is for. For DevOps engineers and developers who define cloud infrastructure with Pulumi or are moving to it.

Good fit when

  • You are migrating a Terraform or CDK project to Pulumi
  • You are writing or reviewing a Pulumi program in TypeScript or Python
  • You are setting up secrets and dynamic credentials in Pulumi ESC
  • You need to figure out why pulumi up failed

Not a fit when

  • Your infrastructure stays on Terraform with no plans to migrate
  • You manage servers by hand without infrastructure as code

Example request

Convert this Terraform configuration to Pulumi TypeScript

Limitations

Some skills rely on Pulumi Cloud: Discovery, the Context API, package usage tracking and Neo handoff require a Pulumi Cloud account. The skills do not replace reviewing pulumi preview before applying changes.

How to disable. Uninstall the pulumi plugin via /plugin in Claude Code or Codex, or delete the skill folders installed with npx skills.

Security check

  • The agent may run pulumi commands that change cloud infrastructure
  • The skills deal with secrets and credentials through ESC

README in short

The README describes four skill groups: migration, core Pulumi skills, provider maintenance and Neo handoff, with a table per skill. Install via /plugin in Claude Code, including declaratively through .claude/settings.json for teams, via the Codex marketplace or via npx skills per group. It gives example prompts for migration, ESC and components. Apache 2.0 licensed.

SKILL.md

---
name: pulumi-best-practices
version: 1.0.0
description: Load when the user is writing, reviewing, or debugging Pulumi TypeScript/Python programs; asks about Output<T> or apply() usage; wants to create ComponentResource classes; needs to refactor resources without destroying them (aliases); is setting up secrets or config; or is configuring a pulumi preview/up CI workflow. Also load for questions about resource dependency order, parent/child resource relationships, or pulumi.interpolate.
---

# Pulumi Best Practices

## When to Use This Skill

Invoke this skill when:

- Writing new Pulumi programs or components
- Reviewing Pulumi code for correctness
- Refactoring existing Pulumi infrastructure
- Debugging resource dependency issues
- Setting up configuration and secrets

## Practices

### 1. Never Create Resources Inside `apply()`

**Why**: Resources created inside `apply()` don't appear in `pulumi preview`, making changes unpredictable. Pulumi cannot properly track dependencies, leading to race conditions and deployment failures.

**Detection signals**:

- `new aws.` or other resource constructors inside `.apply()` callbacks
- Resource creation inside `pulumi.all([...]).apply()`
- Dynamic resource counts determined at runtime inside apply

FAQ

Which plugin should I install?

The pulumi plugin covers authoring, migration and Neo handoff. pulumi-migration and pulumi-delegation are subsets, so do not install them alongside pulumi. pulumi-package-maintenance is separate and meant for provider authors.

Why are plugins not found after configuring settings.json?

The marketplace key must be pulumi-agent-skills, matching the repo's marketplace.json, or plugins will not resolve.

Editors’ pick

An MCP server built into the Netdata agent: metrics, logs, alerts and live process, service and container data for an AI assistant

MCP serverMedium risk80.5K
Editors’ pick

GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent

MCP serverHigh risk32.9K
Editors’ pick

AWS's official MCP server suite: docs, IaC, containers, serverless, databases, cost and monitoring

MCP serverHigh risk9.7K
Editors’ pick

A GitHub Action that runs Claude Code in pull requests and issues: answers mentions, reviews and makes changes

PluginHigh risk8.9K