agentleFS
shinzoxDshinzoxD/knackbox/skills/coding/pulumi-review/SKILL.md

pulumi-review

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Review Pulumi programs and previews for safe infrastructure changes

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/review-checklist.md for full program and preview reviews, especially when refactoring components, changing lifecycle …

    line 40
  2. Distinctive:

    Never invent preview results, state contents, provider defaults, or stack configuration.

    line 81
  3. Very specific:

    Do not use dependsOn to solve application readiness or replace correct Input/Output dependencies.

    line 84
  4. Very specific:

    Do not silence unexplained diffs with ignoreChanges or hide them with output filtering.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pulumi Review

Review the program, resource graph, and preview together. Optimize for stable resource identity, encrypted state, least privilege, predictable replacements, and recoverable updates across every affected stack.

For Terraform or OpenTofu plans, use terraform-review. For CloudFormation or SAM templates and change sets, use cloudformation-review.

Workflow

  1. Identify the project, stack, backend, secrets provider, language/runtime, Pulumi CLI and provider versions, target accounts/Regions, and environment.
  2. Map components, custom resources, providers, parents, dependencies, StackReferences, Automation API callers, and policy packs.
  3. Inspect a current preview with detailed diffs. Separate creates, updates, replacements, deletes, reads, refresh-only drift, and unknown outputs.
  4. Review identity/refactors, lifecycle options, secrets, state, cloud access, runtime side effects, and failure recovery.
  5. Propose a safe update order with preconditions, verification, and rollback or roll-forward triggers.
  6. End with safe to update, safe with conditions, or do not update.

Detailed checks

Read references/review-checklist.md for full program and preview reviews, especially when refactoring components, changing lifecycle options, handling secrets, reconciling drift, or using Automation API or dynamic providers.

Severity tags

  • [blocking] destructive stateful replacement, plaintext secret, wrong stack/provider target, privilege escalation, or irreversible state operation
  • [important] identity churn, hidden drift, downtime, orphan risk, fragile side effect, unpinned provider, or missing recovery evidence
  • [nit] low-risk naming, organization, readability, or component API issue

Output format

## Pulumi review

**Target:** <backend / org / project / stack / cloud target or unknown>
**Evidence:** <program, preview, policy output, state/drift context>
**Verdict:** <safe to update | safe with conditions | do not update>

### Preview summary
- Create/update: ...
- Replace/delete: ...
- Unknown/drift: ...

### Findings
1. [blocking] **<finding>** — <URN/resource and consequence>
   **Action:** <specific remediation or gate>

### Update plan
1. <precondition, alias, backup, or secret fix>
2. <preview/update sequence>
3. <verification and recovery trigger>

### Missing evidence
- <item that prevents a stronger verdict>

Rules

  1. Never invent preview results, state contents, provider defaults, or stack configuration. Ask for evidence or make the verdict conditional.
  2. Name the resource/URN and lifecycle option in each material finding.
  3. Do not use dependsOn to solve application readiness or replace correct Input/Output dependencies.
  4. Do not silence unexplained diffs with ignoreChanges or hide them with output filtering; establish ownership and drift behavior first.
  5. Separate cloud rollback from Pulumi state recovery after partial failure.
  6. Review all stacks that consume changed StackReference outputs or components.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.