cloud-architecture

cloud-architecture is a cursor rule for Cursor from robertsfeir/atelier-pipeline. It costs 985 tokens per session, scanned A, original, Apache-2.0.

A set of rules for designing cloud infrastructure and deployments, including Terraform configuration. Terraform is a tool for describing infrastructure in files so it can be managed consistently.

In plain words
What is it for?
Use it when planning cloud deployments, writing Terraform modules, managing remote state, choosing providers, or defining infrastructure security practices.
Why use it?
It helps keep networking, computing, storage, security, monitoring, state, versions, and secrets organised across environments.

Cursor rule for Cursor

Written for Cursor: a Cursor plugin manifest.

Good fit Use it when planning cloud deployments, writing Terraform modules, managing remote state, choosing providers, or defining infrastructure security practices.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/robertsfeir/atelier-pipeline/cloud-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/robertsfeir/atelier-pipeline

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloud-architecture

README.md
[![agentmods](https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/cloud-architecture/github.svg)](https://agentmods.dev/rules/robertsfeir/atelier-pipeline/cloud-architecture)
Your own site
<a href="https://agentmods.dev/rules/robertsfeir/atelier-pipeline/cloud-architecture"><img src="https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/cloud-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloud-architecture

Your own site · 80×15
<a href="https://agentmods.dev/rules/robertsfeir/atelier-pipeline/cloud-architecture"><img src="https://agentmods.dev/badge/rules/robertsfeir/atelier-pipeline/cloud-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 985 This file is loaded in full into every session.
When invoked 985 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00985 $0.00985
Opus 5.5 $0.00394 $0.00394
Sonnet 5.5 $0.00197 $0.00197
Haiku 4.5 $0.00098 $0.00098

Measured 3mo ago against content hash ee3640c2fb66, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloud-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor-plugin/rules/cloud-architecture.mdc · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloud & Infrastructure Architecture -- Reference

Sarah reads this file when the task involves cloud deployment, Terraform, or infrastructure design. This is NOT loaded for normal application architecture work.

Terraform & IaC

Module Architecture

  • One concern per module. Networking, compute, storage, security, monitoring -- separate modules.
  • Standard files: main.tf, variables.tf, outputs.tf, README.md (always), providers.tf, terraform.tf (recommended), backend.tf (root only).
  • Naming: terraform-<PROVIDER>-<NAME>. Resources use descriptive names.
  • Directory: Root module, modules/ for nested, examples/ for usage, tests/ for Terraform Test files.

Registry & Versions

  • Always resolve latest versions from registry. Pin explicitly in ADR.
  • Document every provider/module source.

State Management

  • Remote state always (S3, GCS, Azure Blob, GitLab-managed, HCP).
  • Workspace per environment. Never share state between environments.
  • Sensitive values out of Git -- use env vars, CI secrets, or secrets manager.

Security

  • Least privilege IAM. No secrets in code/tfvars/comments/outputs.
  • State files are sensitive -- remote with access controls.
  • Plan before apply. No auto-apply in production.

Formatting (ADR specs)

  • 2-space indent, aligned = signs
  • Argument order: meta-args -> required -> optional -> nested blocks -> lifecycle
  • Variables/outputs alphabetical
  • Split by concern: network.tf, compute.tf, storage.tf, etc.

Testing (stage-appropriate)

  • Always: terraform validate, terraform fmt -check, terraform plan in CI.
  • When mature: terraform test, tflint, checkov/tfsec.
  • Examples directory doubles as integration test material.

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 118 lines · 985 tokens per session scan A ee3640c2fb66

Subscribe to this mod's changes

cloud-architecture is a cursor rule published in the GitHub repository robertsfeir/atelier-pipeline (25 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 985 tokens to every session, about $0.0039 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cloud-architecture compared with cursor rules from other repositories

cloud-architecture next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-architecturerobertsfeir/atelier-pipelineCursor rule255mo agoApache-2.0A985Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor