[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FEEWP0AN97GMCY4VRR3KKJ":3,"skill-same:01M6FEEWP0AN97GMCY4VRR3KKJ":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6FEEWP0AN97GMCY4VRR3KKJ","pulumi",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fpproenca\u002Fdot-skills\u002Fpulumi\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Pulumi Best Practices\n\nComprehensive 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.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new Pulumi infrastructure code\n- Designing component abstractions for reuse\n- Configuring secrets and sensitive values\n- Organizing stacks and cross-stack references\n- Setting up CI\u002FCD pipelines for infrastructure\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | State Management and Backend | CRITICAL | `pstate-` |\n| 2 | Resource Graph Optimization | CRITICAL | `graph-` |\n| 3 | Component Design | HIGH | `pcomp-` |\n| 4 | Secrets and Configuration | HIGH | `secrets-` |\n| 5 | Stack Organization | MEDIUM-HIGH | `stack-` |\n| 6 | Resource Options and Lifecycle | MEDIUM | `lifecycle-` |\n| 7 | Testing and Validation | MEDIUM | `test-` |\n| 8 | Automation and CI\u002FCD | LOW-MEDIUM | `auto-` |\n\n## Quick Reference\n\n### 1. State Management and Backend (CRITICAL)\n\n- `pstate-backend-selection` - Use managed backend for production stacks\n- `pstate-checkpoint-skipping` - Enable checkpoint skipping for large stacks\n- `pstate-stack-size` - Keep stacks under 500 resources\n- `pstate-refresh-targeting` - Use targeted refresh instead of full stack\n- `pstate-export-import` - Use state export\u002Fimport for migrations\n- `pstate-import-existing` - Import existing resources before managing\n\n### 2. Resource Graph Optimization (CRITICAL)\n\n- `graph-parallel-resources` - Structure resources for maximum parallelism\n- `graph-output-dependencies` - Use outputs to express true dependencies\n- `graph-explicit-depends` - Use dependsOn only for external dependencies\n- `graph-avoid-apply-side-effects` - Avoid side effects in apply functions\n- `graph-conditional-resources` - Use conditional logic at resource level\n- `graph-stack-references-minimal` - Minimize stack reference depth\n\n### 3. Component Design (HIGH)\n\n- `pcomp-component-resources` - Use ComponentResource for reusable abstractions\n- `pcomp-parent-child` - Pass parent option to child resources\n- `pcomp-unique-naming` - Use name prefix pattern for unique resource names\n- `pcomp-register-outputs` - Register component outputs explicitly\n- `pcomp-multi-language` - Design components for multi-language consumption\n- `pcomp-transformations` - Use transformations for cross-cutting concerns\n\n### 4. Secrets and Configuration (HIGH)\n\n- `secrets-use-secret-config` - Use secret config for sensitive values\n- `secrets-avoid-state-exposure` - Prevent secret leakage in state\n- `secrets-external-providers` - Use external secret managers for production\n- `secrets-generate-random` - Generate secrets with random provider\n- `secrets-provider-rotation` - Rotate secrets provider when team members leave\n- `secrets-environment-isolation` - Isolate secrets by environment\n\n### 5. Stack Organization (MEDIUM-HIGH)\n\n- `stack-separation-by-lifecycle` - Separate stacks by deployment lifecycle\n- `stack-references-parameterized` - Parameterize stack references\n- `stack-output-minimal` - Export only required outputs\n- `stack-naming-conventions` - Use consistent stack naming convention\n\n### 6. Resource Options and Lifecycle (MEDIUM)\n\n- `lifecycle-protect-stateful` - Protect stateful resources\n- `lifecycle-delete-before-replace` - Use deleteBeforeReplace for unique constraints\n- `lifecycle-retain-on-delete` - Use retainOnDelete for shared resources\n- `lifecycle-ignore-changes` - Use ignoreChanges for externally managed properties\n- `lifecycle-replace-on-changes` - Use replaceOnChanges for immutable dependencies\n- `lifecycle-aliases` - Use aliases for safe resource renaming\n- `lifecycle-custom-timeouts` - Set custom timeouts for long-running resources\n\n### 7. Testing and Validation (MEDIUM)\n\n- `test-unit-mocking` - Use mocks for fast unit tests\n- `test-property-policies` - Use policy as code for property testing\n- `test-integration-ephemeral` - Use ephemeral stacks for integration tests\n- `test-preview-assertions` - Assert on preview results before deployment\n- `test-stack-reference-mocking` - Mock stack references in unit tests\n\n### 8. Automation and CI\u002FCD (LOW-MEDIUM)\n\n- `auto-automation-api-workflows` - Use Automation API for complex workflows\n- `auto-inline-programs` - Use inline programs for dynamic infrastructure\n- `auto-ci-cd-preview` - Run preview in PR checks\n- `auto-deployments-api` - Use Pulumi Deployments for GitOps\n- `auto-review-stacks` - Use review stacks for PR environments\n- `auto-drift-detection` - Enable drift detection for production\n\n## How to Use\n\nRead individual reference files for detailed explanations and code examples:\n\n- [Section definitions](references\u002F_sections.md) - Category structure and impact levels\n- [Rule template](assets\u002Ftemplates\u002F_template.md) - Template for adding new rules\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fpproenca\u002Fdot-skills\u002Fpulumi",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill pulumi",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill pulumi",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill pulumi","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fpproenca\u002Fdot-skills\u002Fpulumi\u002FSKILL.md",true,[],[46,55,64,73,79,85],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[52,53,54],"model","model hierarchy","model hierarchy skill",{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[61,62,63],"MCP","zoom","zoom mcp",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[70,71,72,62],"sdk","zoom apps sdk","apps",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[75],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[87]]