Pulumi
Purpose
Operate Pulumi infrastructure: list and inspect stacks, preview changes, run up/refresh/destroy, and use MCP tools when routed—always confirming organization/project/stack and integration token before mutating state.
When to Use
- List stacks or read stack outputs, resources, history, deployments.
- Preview, update (
up), refresh, or destroy a named stack.
- Pulumi MCP workflows when MCP is the selected route (
list_tools).
When NOT to Use
- Authoring new IaC patterns from scratch → pulumi-best-practices, author-iac, or migration skills.
- Provider version bumps → pulumi-upgrade-provider.
- Unconfirmed destroy on production stacks.
Expected Outcome
- Target stack triple confirmed before preview/up/destroy.
- Preview summarized from tool output before apply when user asked to preview first.
- Destructive ops only after explicit user confirmation when appropriate.
Inputs to Gather
organization / project / stack (or equivalent from tool schema).
- Whether route is native
pulumi_* or Pulumi MCP (self-hosted default unless configured otherwise).
- Integration token / connection status before writes.
Workflow
- Verify Pulumi integration and token when writes are needed.
- Confirm
organization/project/stack with the user for mutating commands.
- Inspect:
pulumi_list_stacks, pulumi_get_stack, outputs, resources, history as needed.
- Plan:
pulumi_preview before pulumi_up when the user wants to see changes.
- Apply:
pulumi_up or pulumi_refresh; destroy only with confirmation.
- For MCP route: discover tools via
list_tools; follow live schemas.
Domain rules
- Native vs MCP:
pulumi_* for curated control plane; MCP when platform routes to MCP.
- Self-hosted MCP default unless hosted override is configured.
- Token and target checks before preview, up, refresh, destroy.
- Confirm destructive actions (especially destroy).
Main tools
- Native:
pulumi_list_stacks, pulumi_get_stack, pulumi_get_stack_outputs, pulumi_get_stack_resources, pulumi_get_stack_history, pulumi_list_deployments, pulumi_get_deployment, pulumi_preview, pulumi_refresh, pulumi_up, pulumi_destroy
- MCP: tools from
list_tools when MCP is selected
Examples
List stacks: pulumi_list_stacks (or MCP equivalent); return names and state.
Preview dev: Confirm target stack, run preview, summarize resource changes from response.
Tool Availability Rules
| Access |
Behavior |
| Full tool access |
Inspect and mutate per user confirmation. |
| Read-only |
List/get/preview only. |
| No token/integration |
Do not run up/destroy; report blocker. |
Related tool sets
Review / Decision / Execution Criteria
- Never destroy without clear user intent.
- Summarize preview diffs in plain language.
Output Format
- Stack target and command.
- Preview summary or apply result.
- Errors.
- Recommended follow-up (refresh, drift check).
Quality Bar
- No fabricated resource counts or URNs.
- Distinguish preview vs applied state.
Safety and Boundaries
- Confirm destroy and production
up when impact is unclear.
- No secrets in stack config in chat.
Escalation / Dispatch Rules
- IaC authoring/migrations → related pulumi-* skills.
- MCP schema missing → stop and report.
References
- Legacy:
skills/old_skills.json (pulumi).
skills/skill.instruction.md, skills/meta.instructions.md
1---2name: pulumi3description: Manages Pulumi stacks and deployments via native pulumi_* tools and optional Pulumi MCP. Use for stack inspect, preview, up, refresh, and destroy with confirmed org/project/stack targets.4---56# Pulumi78## Purpose910Operate Pulumi infrastructure: list and inspect stacks, preview changes, run up/refresh/destroy, and use MCP tools when routed—always confirming organization/project/stack and integration token before mutating state.1112## When to Use1314- List stacks or read stack outputs, resources, history, deployments.15- Preview, update (`up`), refresh, or destroy a named stack.16- Pulumi MCP workflows when MCP is the selected route (`list_tools`).1718## When NOT to Use1920- Authoring new IaC patterns from scratch → **pulumi-best-practices**, **author-iac**, or migration skills.21- Provider version bumps → **pulumi-upgrade-provider**.22- Unconfirmed destroy on production stacks.2324## Expected Outcome2526- Target stack triple confirmed before preview/up/destroy.27- Preview summarized from tool output before apply when user asked to preview first.28- Destructive ops only after explicit user confirmation when appropriate.2930## Inputs to Gather3132- `organization` / `project` / `stack` (or equivalent from tool schema).33- Whether route is native `pulumi_*` or Pulumi MCP (self-hosted default unless configured otherwise).34- Integration token / connection status before writes.3536## Workflow37381. Verify Pulumi integration and token when writes are needed.392. Confirm `organization/project/stack` with the user for mutating commands.403. **Inspect**: `pulumi_list_stacks`, `pulumi_get_stack`, outputs, resources, history as needed.414. **Plan**: `pulumi_preview` before `pulumi_up` when the user wants to see changes.425. **Apply**: `pulumi_up` or `pulumi_refresh`; **destroy** only with confirmation.436. For MCP route: discover tools via `list_tools`; follow live schemas.4445### Domain rules46471. **Native vs MCP**: `pulumi_*` for curated control plane; MCP when platform routes to MCP.482. **Self-hosted MCP default** unless hosted override is configured.493. **Token and target checks** before preview, up, refresh, destroy.504. **Confirm destructive actions** (especially destroy).5152### Main tools5354- Native: `pulumi_list_stacks`, `pulumi_get_stack`, `pulumi_get_stack_outputs`, `pulumi_get_stack_resources`, `pulumi_get_stack_history`, `pulumi_list_deployments`, `pulumi_get_deployment`, `pulumi_preview`, `pulumi_refresh`, `pulumi_up`, `pulumi_destroy`55- MCP: tools from `list_tools` when MCP is selected5657### Examples5859**List stacks:** `pulumi_list_stacks` (or MCP equivalent); return names and state.6061**Preview dev:** Confirm target stack, run preview, summarize resource changes from response.6263## Tool Availability Rules6465| Access | Behavior |66|--------|----------|67| Full tool access | Inspect and mutate per user confirmation. |68| Read-only | List/get/preview only. |69| No token/integration | Do not run up/destroy; report blocker. |7071### Related tool sets7273- `pulumi`7475## Review / Decision / Execution Criteria7677- Never destroy without clear user intent.78- Summarize preview diffs in plain language.7980## Output Format81821. Stack target and command.832. Preview summary or apply result.843. Errors.854. Recommended follow-up (refresh, drift check).8687## Quality Bar8889- No fabricated resource counts or URNs.90- Distinguish preview vs applied state.9192## Safety and Boundaries9394- Confirm destroy and production `up` when impact is unclear.95- No secrets in stack config in chat.9697## Escalation / Dispatch Rules9899- IaC authoring/migrations → related **pulumi-*** skills.100- MCP schema missing → stop and report.101102## References103104- Legacy: `skills/old_skills.json` (`pulumi`).105- `skills/skill.instruction.md`, `skills/meta.instructions.md`