pulumi-component

Author reusable Pulumi ComponentResource classes for infrastructure abstraction.

63|5|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/pulumi/agent-skills --skill pulumi-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pulumi-component
Source: https://github.com/pulumi/agent-skills/tree/main/authoring/skills/pulumi-component
Command: npx skills add https://github.com/pulumi/agent-skills --skill pulumi-component

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create robust, reusable, and maintainable infrastructure components in Pulumi, abstracting away complexity and promoting best practices.

Core Features & Use Cases

  • Component Authoring: Learn the anatomy of a Pulumi ComponentResource, including constructor patterns, parent-child relationships, and output registration.
  • Args Interface Design: Understand how to design effective input arguments for your components, ensuring multi-language compatibility and ease of use.
  • Distribution Strategies: Explore methods for packaging and distributing your components for internal or public consumption.
  • Use Case: You need to create a standard, secure S3 bucket configuration that can be easily deployed across multiple projects. This Skill guides you in building a SecureBucket ComponentResource that enforces versioning, encryption, and public access blocking by default.

Quick Start

Use the pulumi-component skill to create a new ComponentResource class for a secure S3 bucket.

Frequently Asked Questions about pulumi-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create reusable Pulumi components for infrastructure abstraction?

To design effective Pulumi component arguments, define an args interface that supports multi-language compatibility, ensuring your inputs are easy to use and expose necessary configuration options across different programming environments.

What is the anatomy of a Pulumi ComponentResource class?

A Pulumi ComponentResource class anatomy includes a constructor pattern to provision child resources, explicit parent-child relationship management, and output registration to expose computed values to the consuming stack.

How do I package and distribute Pulumi components for public or internal use?

You package and distribute Pulumi components by publishing them via private registries or standard package managers, enabling internal teams or public consumers to easily integrate your infrastructure abstractions.

What are common anti-patterns when building infrastructure as code abstractions in Pulumi?

Common Pulumi component anti-patterns include failing to register outputs properly, ignoring multi-language argument interface design, and mismanaging parent-child relationships, which reduces component reusability and maintainability.

Does this Pulumi component skill support multi-language package consumption?

Yes, the skill guides you in designing argument interfaces specifically for multi-language support, ensuring your packaged components are consumable across the various languages supported by the Pulumi ecosystem.