agentleFS
greedychipmunkgreedychipmunk/agent-skills/pulumi/SKILL.md

pulumi

Skill19 starsChanged 6 months agoMITView on GitHub

Manage cloud infrastructure with Pulumi using general-purpose programming languages. Use when tasks mention pulumi commands, Pulumi stacks, infrastructure as code in TypeScript/Python/Go/C#, or deploying with pulumi up.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Always run pulumi preview before pulumi up — review resource diffs carefully.

    line 72
  2. Very specific:

    Use pulumi config set --secret for sensitive values (passwords, API keys).

    line 74
  3. Distinctive:

    Never commit Pulumi state files or unencrypted secret values.

    line 75
  4. Distinctive:

    Use stack policies (CrossGuard) to enforce organizational guardrails.

    line 76
  5. Distinctive:

    Write or update program code.

    line 82
  6. Very specific:

    Run pulumi preview and review the diff.

    line 83
  7. Very specific:

    Run pulumi up to deploy.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Intent Router

RequestReferenceLoad When
Install tool, first-time setup, backend loginresources/install-and-setup.mdUser needs to install Pulumi or configure backend
Language choice, project layout, resource patternsresources/language-and-project.mdUser asks about supported languages or project structure
Stacks, config, secretsresources/stacks-and-config.mdUser needs stack management, config values, or secrets
CLI commands, workflowsresources/command-cookbook.mdUser needs preview/up/destroy patterns or command reference

Quick Start

# 1. Create a new project (prompts for language, cloud, stack)
pulumi new aws-typescript

# 2. Preview changes (no modifications made)
pulumi preview

# 3. Deploy changes
pulumi up

# 4. Destroy infrastructure (DANGEROUS — requires confirmation)
pulumi destroy

Language Selection

Pulumi supports multiple languages — choose based on your team's familiarity:

LanguageTemplate prefixRuntime needed
TypeScriptaws-typescriptNode.js
Pythonaws-pythonPython 3.8+
Goaws-goGo 1.21+
C#aws-csharp.NET 6+
Javaaws-javaJDK 11+
YAMLaws-yamlNone

Core Command Tracks

  • New project: pulumi new <template> — scaffold project with language/cloud
  • Preview: pulumi preview — show planned changes, no deployment
  • Deploy: pulumi up — create or update resources
  • Destroy: pulumi destroy — remove all stack resources
  • Refresh: pulumi refresh — sync state with actual cloud resources
  • Stack ops: pulumi stack ls, pulumi stack select, pulumi stack output

Stack Concept

A stack is a deployment target (e.g., dev, staging, prod). Each stack has its own config and state:

pulumi stack init prod
pulumi stack select dev
pulumi config set aws:region us-west-2
pulumi up

Safety Guardrails

  • Always run pulumi preview before pulumi up — review resource diffs carefully.
  • pulumi destroy is irreversible — confirm the stack resource list before proceeding.
  • Use pulumi config set --secret for sensitive values (passwords, API keys).
  • Never commit Pulumi state files or unencrypted secret values.
  • Use stack policies (CrossGuard) to enforce organizational guardrails.

Workflow

  1. Select or create a stack: pulumi stack select dev
  2. Set required config: pulumi config set aws:region us-east-1
  3. Write or update program code.
  4. Run pulumi preview and review the diff.
  5. Run pulumi up to deploy.
  6. Check outputs: pulumi stack output

Related Skills

  • terraform — HCL-based IaC; Pulumi can import from Terraform state
  • ansible — configuration management for post-provision setup

References

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.