Guides writing, reviewing, and refactoring Pulumi code for optimal performance and reliability, covering state management, resource graphs, components, secrets, stacks, and CI/CD.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:pulumiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive performance and reliability guide for Pulumi infrastructure as code, designed for AI agents and LLMs. Contains 46 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Comprehensive performance and reliability guide for Pulumi infrastructure as code, designed for AI agents and LLMs. Contains 46 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | State Management and Backend | CRITICAL | pstate- |
| 2 | Resource Graph Optimization | CRITICAL | graph- |
| 3 | Component Design | HIGH | pcomp- |
| 4 | Secrets and Configuration | HIGH | secrets- |
| 5 | Stack Organization | MEDIUM-HIGH | stack- |
| 6 | Resource Options and Lifecycle | MEDIUM | lifecycle- |
| 7 | Testing and Validation | MEDIUM | test- |
| 8 | Automation and CI/CD | LOW-MEDIUM | auto- |
pstate-backend-selection - Use managed backend for production stackspstate-checkpoint-skipping - Enable checkpoint skipping for large stackspstate-stack-size - Keep stacks under 500 resourcespstate-refresh-targeting - Use targeted refresh instead of full stackpstate-export-import - Use state export/import for migrationspstate-import-existing - Import existing resources before managinggraph-parallel-resources - Structure resources for maximum parallelismgraph-output-dependencies - Use outputs to express true dependenciesgraph-explicit-depends - Use dependsOn only for external dependenciesgraph-avoid-apply-side-effects - Avoid side effects in apply functionsgraph-conditional-resources - Use conditional logic at resource levelgraph-stack-references-minimal - Minimize stack reference depthpcomp-component-resources - Use ComponentResource for reusable abstractionspcomp-parent-child - Pass parent option to child resourcespcomp-unique-naming - Use name prefix pattern for unique resource namespcomp-register-outputs - Register component outputs explicitlypcomp-multi-language - Design components for multi-language consumptionpcomp-transformations - Use transformations for cross-cutting concernssecrets-use-secret-config - Use secret config for sensitive valuessecrets-avoid-state-exposure - Prevent secret leakage in statesecrets-external-providers - Use external secret managers for productionsecrets-generate-random - Generate secrets with random providersecrets-provider-rotation - Rotate secrets provider when team members leavesecrets-environment-isolation - Isolate secrets by environmentstack-separation-by-lifecycle - Separate stacks by deployment lifecyclestack-references-parameterized - Parameterize stack referencesstack-output-minimal - Export only required outputsstack-naming-conventions - Use consistent stack naming conventionlifecycle-protect-stateful - Protect stateful resourceslifecycle-delete-before-replace - Use deleteBeforeReplace for unique constraintslifecycle-retain-on-delete - Use retainOnDelete for shared resourceslifecycle-ignore-changes - Use ignoreChanges for externally managed propertieslifecycle-replace-on-changes - Use replaceOnChanges for immutable dependencieslifecycle-aliases - Use aliases for safe resource renaminglifecycle-custom-timeouts - Set custom timeouts for long-running resourcestest-unit-mocking - Use mocks for fast unit teststest-property-policies - Use policy as code for property testingtest-integration-ephemeral - Use ephemeral stacks for integration teststest-preview-assertions - Assert on preview results before deploymenttest-stack-reference-mocking - Mock stack references in unit testsauto-automation-api-workflows - Use Automation API for complex workflowsauto-inline-programs - Use inline programs for dynamic infrastructureauto-ci-cd-preview - Run preview in PR checksauto-deployments-api - Use Pulumi Deployments for GitOpsauto-review-stacks - Use review stacks for PR environmentsauto-drift-detection - Enable drift detection for productionRead individual reference files for detailed explanations and code examples:
For the complete guide with all rules expanded: AGENTS.md
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1Provides Pulumi basics for infrastructure-as-code using programming languages: project structure, TypeScript AWS examples, CLI commands, config, stack references, component resources.
Analyzes Terraform, CloudFormation, and Pulumi configurations for module structure, state management, drift prevention, and security posture.
Guides infrastructure automation with Terraform, Pulumi, CloudFormation, covering state management, drift detection, and production best practices.