
Pulumi Component
Guide for authoring reusable Pulumi ComponentResource classes with multi-language support and distribution.
- skills.sh installs
- 1.5K
- GitHub stars
- 80
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the component lifecycle: type URN format, args interface design, child resource parenting, and packaging for distribution
- Includes TypeScript and Python examples that extend
ComponentResource, exposeOutputproperties, and callregisterOutputs() - Enforces
Input<T>wrapping on args, flat argument structures, and no union types so SDKs generate in every language - Designed for platform teams building shared infrastructure modules, and defers general Pulumi patterns to
pulumi-best-practices
Install
$ npx -y skills add pulumi/agent-skills --skill pulumi-component -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/pulumi/agent-skills
- Category
- DevOps & Cloud
- First seen
- May 16, 2026
More from pulumi/agent-skills
All 12Similar to Pulumi Component
More DevOps & Cloud
pulumi-best-practicespulumi/agent-skills2.7K installsPractice-based guide for Pulumi TypeScript and Python programs covering outputs, components, parenting, and secrets.
pulumi-arm-to-pulumipulumi/agent-skills2.1K installsConverts Azure ARM and Bicep templates to Pulumi, including importing existing Azure resources with zero-diff validation.
pulumipproenca/dot-skills317 installsPulumi infrastructure-as-code guidance that prioritizes state, resource graph, and secrets reliability for agents writing or reviewing code.
terraform-module-librarywshobson/agents16.3K installsReusable Terraform module patterns for AWS, Azure, GCP, and OCI with a standard file layout and tests.
terraform-stackshashicorp/agent-skills5.9K installsComprehensive guide for authoring HashiCorp Terraform Stacks configuration files, components, and deployments.
aws-cdk-developmentzxkane/aws-skills1.2K installsReusable AWS CDK guidance for TypeScript and Python stacks, constructs, and synth/deploy workflows, with multi-layer validation.