Skip to content
Skill

Pulumi component

Guides an agent in writing reusable Pulumi ComponentResource classes and packaging them

Pulumi component is an open-source agent skill for cloud and infrastructure. 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 component

This skill walks an agent through authoring Pulumi ComponentResource classes, which group related infrastructure into a single reusable unit that shows as one node with nested children in preview and console output. It covers the constructor anatomy, type URN naming, child resource naming, flat args interfaces with Input wrappers, and which outputs to expose.

The guidance includes TypeScript and Python examples and a list of common anti-patterns such as missing registerOutputs, missing parent links, union types and functions in args. It also explains when a component needs multi-language packaging, with PulumiPlugin.yaml setup and entry points for Python, Go and C#, plus distribution through git tags, the private registry and package managers. It points to the pulumi-best-practices skill for general Output and secrets patterns.

Using it assumes familiarity with Pulumi and the relevant cloud provider packages. Publishing to the private registry requires Pulumi Cloud and, for automated publishing, GitHub OIDC integration.

When your agent uses it

Guide for authoring Pulumi ComponentResource classes. Use when creating reusable infrastructure components, designing component interfaces, setting up multi-language support, or distributing component packages.

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 3 files (28 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-component:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/pulumi-component 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-component &&
cp -R "$tmp/pulumi/skills/pulumi-component" ~/.agents/skills/pulumi-component &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/pulumi-component 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-component &&
cp -R "$tmp/pulumi/skills/pulumi-component" ~/.cursor/skills/pulumi-component &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/pulumi-component 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 pulumi/skills/pulumi-component

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/pulumi-component 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/pulumi/skills/pulumi-component into your agent's skills folder as pulumi-component. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Component constructor anatomy
Covers the required super call with a type URN, parent linking for children, and registerOutputs placement.
Args interface design
Guides flat, serializable argument objects wrapped in Input types, with defaults applied in the constructor.
Output exposure rules
Explains which child values to surface as public outputs and how to compose derived values.
Multi-language packaging
Describes PulumiPlugin.yaml setup and entry points for TypeScript, Python, Go and C#.
Distribution and publishing
Covers git tag versioning, private registry publishing and package manager options.
Anti-pattern checklist
Lists common component mistakes with their problems and fixes.

Good for

  • Turn repeated inline infrastructure into a reusable component
  • Design a configurable args interface for a shared component
  • Make a TypeScript component usable from Python or YAML programs
  • Publish a component to a private registry with version tags
  • Debug a component stuck in creating or with children at the wrong level

Pulumi component FAQ

When does Pulumi component trigger?

It is meant for tasks such as creating a new ComponentResource class, designing component interfaces, setting up multi-language support, or distributing component packages.

Do I need multi-language packaging for every component?

No. A component used only inside one language and project can be imported directly. Packaging with PulumiPlugin.yaml is needed when other languages, including YAML, must consume it.

Are scripts included?

No scripts are bundled with this skill; it consists of instructions and examples.

How do I install Pulumi component in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pulumi-component to use it in all your projects, or to .claude/skills/pulumi-component 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 component 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 component?

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 component?

The closest alternatives to Pulumi component are Pulumi best practices, Pulumi automation API, Pulumi overview, Pulumi delivery and Pulumi create agent.

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