agentleFS
srikanth-manivannansrikanth-manivannan/claude-agent-factory/skills/cloud/cloud-resource-provisioner/SKILL.md

cloud-resource-provisioner

Skill1 starsChanged 5 months agoMITView on GitHub

Use this to provision cloud resources via IaC with least-privilege, tagging, and per-environment config.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    State + idempotency: Use remote, locked IaC state.

    line 59

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

Cloud Resource Provisioner

Use this to provision cloud resources via IaC with least-privilege, tagging, and per-environment config.

Tech profile — Technology: cloud infrastructure · Language: IaC (HCL/etc.) · Stack: any cloud · Toolchain: any IaC tool · Domain: cloud (Provider- and tool-agnostic method; emit config for the target cloud/IaC via the tech profile.)

When to use this skill

  • Provisioning new cloud resources (compute, storage, network, managed services) as code.
  • Standardizing environments (dev/staging/prod) with consistent config + guardrails.
  • Producing the infrastructure layer the provision-infrastructure / deploy-to-production workflows depend on.

When NOT to use this skill

  • Authoring reusable IaC modules — use devops/iac-module-builder (planned).
  • CI/CD pipelines — use devops/ci-pipeline-generator.
  • Cost analysis — use cloud/cloud-cost-optimizer (planned).

Prerequisites

  • The resources required and the target cloud + IaC tool.
  • The environments to support and any compliance/network constraints.

Inputs

InputRequiredDescription
resourcesyesWhat to provision (compute/storage/network/managed services)
cloudyesTarget provider (AWS/GCP/Azure/…)
iac_toolnoTerraform/Pulumi/etc. (defaults to the project's tool)
environmentsnoe.g. dev/staging/prod (defaults to a single env)
constraintsnoCompliance, region/residency, network topology

Instructions

  1. Confirm scope + environments. List the resources and the environments; identify what differs per environment (size, replicas, flags) vs. what's shared.
  2. Declare as IaC. Express every resource as code — no click-ops. Parameterize per-environment differences with variables, not copy-paste.
  3. Apply least-privilege IAM. Each resource/role gets the minimum permissions it needs; no wildcard admin (/standards/security.md).
  4. Tag everything. Mandatory tags (owner, environment, cost-center, managed-by=IaC) for cost attribution and governance.
  5. Secure by default. Private networking by default, encryption at rest/in transit, no public exposure unless explicitly required + justified.
  6. State + idempotency. Use remote, locked IaC state; ensure plans are idempotent and re-runnable. Never store secrets in state/code — use a secrets manager.
  7. Plan before apply + rollback. Produce a reviewable plan/diff; define how to roll back (and prefer immutable/replace over in-place for risky changes).
  8. Output the config + a plan summary and a per-environment promotion path.

Output

IaC configuration for the target cloud/tool: parameterized per-environment resources, least-privilege IAM, mandatory tags, secure-by-default networking/encryption, remote locked state config, and a plan summary + rollback note. Ready for the provision-infrastructure workflow.

Constraints & safety

  • Everything as code — no manual console changes (drift).
  • Least privilege + secure defaults — private, encrypted, minimally-permissioned.
  • No secrets in code/state — reference a secrets manager.
  • Plan → review → apply — never apply an unreviewed change to prod.

Examples

Minimal below; full enterprise examples in EXAMPLES.md; build steps in IMPLEMENTATION.md.

Given: resources = a private VPC + a managed Postgres + a service container; cloud = AWS; environments = [dev, prod]. Produces: parameterized IaC (env-sized), DB in a private subnet with encryption, least-privilege role for the service, mandatory tags, and a plan summary.

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.