pulumi avatar

Pulumi Component

This is the guide you want when building Pulumi ComponentResources that actually work across languages. It covers the four required elements (extending ComponentResource, calling super with a type URN, setting parent: this, calling registerOutputs), shows why registerOutputs isn't optional (your component gets stuck "creating" without it), and explains how to design args interfaces that don't break Python or Go SDK generation. The examples are complete and show both TypeScript and Python. Use it when you're authoring reusable infrastructure components, making them multi-language compatible, or debugging why child resources appear at the wrong level in the console tree.

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

Install

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

Installs into .claude/skills of the current project.

Files

Authoring Pulumi Components

A ComponentResource groups related infrastructure resources into a reusable, logical unit. Components make infrastructure easier to understand, reuse, and maintain. Components appear as a single node with children nested underneath in pulumi preview/pulumi up output and in the Pulumi Cloud console.

This skill covers the full component authoring lifecycle. For general Pulumi coding patterns (Output handling, secrets, aliases, preview workflows), use the pulumi-best-practices skill instead.

When to Use This Skill

Invoke this skill when:

  • Creating a new ComponentResource class
  • Designing the args interface for a component
  • Making a component consumable from multiple Pulumi languages
  • Publishing or distributing a component package
  • Refactoring inline resources into a reusable component
  • Debugging component behavior (missing outputs, stuck creating, children at wrong level)

Component Anatomy

Every component has four required elements:

Sponsors

Details

Repository
github.com/pulumi/agent-skills
Categories
Frontend Development, Documentation, AI & Agent Building, Cloud & Infrastructure
First seen
May 16, 2026

More from pulumi/agent-skills

All 12
1openai avatarfrontend-skillopenai/skillsUse when the task asks for a visually strong landing page, website, app, prototype, demo, or game UI. This skill enforces restrained composition, image-led hier1.5Kskills.sh installs
2lobehub avatarzustandlobehub/lobe-chatzustand1.4Kskills.sh installs
3quodsoler avatarue-actor-component-architecturequodsoler/unreal-engine-skillsUse this skill when working with Actor and component design in Unreal Engine. Triggers on: Actor, component, BeginPlay, Tick, SpawnActor, lifecycle, CreateDefau1.4Kskills.sh installs
4hyva-themes avatarhyva-alpine-componenthyva-themes/hyva-ai-toolsWrite CSP-compatible Alpine.js components for Hyvä themes in Magento 2. This skill should be used when the user wants to create Alpine components, add interacti1.3Kskills.sh installs
5martinholovsky avatarwindows-ui-automationmartinholovsky/claude-skills-generatorExpert in Windows UI Automation (UIA) and Win32 APIs for desktop automation. Specializes in accessible, secure automation of Windows applications including elem1.3Kskills.sh installs
6existential-birds avatarreact-flowexistential-birds/beagleReact Flow (@xyflow/react) for workflow visualization with custom nodes and edges. Use when building graph visualizations, creating custom workflow nodes, imple1.3Kskills.sh installs