cloudformation-review
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Review AWS CloudFormation and SAM templates for deployment safety,
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Distinctive: line 17
Treat every stack update as a production change.
- Very specific: line 40
Read references/review-checklist.md for full template or change-set reviews, especially when stateful resources, IAM, nested stacks, …
- Distinctive: line 82
Never invent change-set output, current stack state, parameter values, or AWS defaults.
- Very specific: line 84
Do not call validate-template a safety check.
- Very specific: line 89
Prefer expand/migrate/contract changes over destructive in-place migrations.
- Very specific: line 90
Do not recommend Retain without assigning follow-up ownership and cleanup.
≈ “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.
Files
CloudFormation Review
Treat every stack update as a production change. Base the verdict on a change set and deployment context when available; a template alone cannot prove what CloudFormation will replace or delete in an existing stack.
For Terraform or OpenTofu plans, use terraform-review. For Pulumi programs
or previews, use pulumi-review.
Workflow
- Establish the account, Region, partition, stack, environment, parameters, capabilities, and deployment command. Mark assumptions that affect risk.
- Inventory resources, nested stacks, exports/imports, transforms, macros, custom resources, and stateful or externally shared dependencies.
- Inspect the change set. Separate creates, in-place updates, replacements, removals, imports, and condition-driven changes. Trace replacement chains.
- Review data protection, identity, network exposure, secrets, dependency ordering, quotas, rollback behavior, and observability.
- Propose the smallest reversible deployment sequence and explicit gates.
- End with a verdict: safe to execute, safe with conditions, or do not execute. State what evidence could change the verdict.
Detailed checks
Read references/review-checklist.md for full template or change-set reviews,
especially when stateful resources, IAM, nested stacks, StackSets, SAM/macros,
or custom resources are present. Use only the sections relevant to the change.
Severity tags
- [blocking] likely data loss, destructive replacement without recovery, privilege escalation, exposed sensitive service, or unbounded custom code
- [important] rollback gap, broad access, hidden drift, fragile dependency, missing alarm, or material operability risk
- [nit] readability, naming, duplication, or maintainability issue with low deployment risk
Output format
## CloudFormation review
**Target:** <account / Region / stack / environment or unknown>
**Evidence:** <template, parameters, change set, events, lint output>
**Verdict:** <safe to execute | safe with conditions | do not execute>
### Change summary
- Create: ...
- Update: ...
- Replace/delete: ...
### Findings
1. [blocking] **<finding>** — <resource/logical ID and consequence>
**Action:** <specific remediation or gate>
### Deployment plan
1. <precondition or backup>
2. <change-set execution step>
3. <verification and rollback trigger>
### Missing evidence
- <item that prevents a stronger verdict>Rules
- Never invent change-set output, current stack state, parameter values, or AWS defaults. Ask for them or mark the conclusion conditional.
- Do not call
validate-templatea safety check; it does not evaluate live replacements, permissions, quotas, or runtime behavior. - Name logical IDs and properties in findings so the review is actionable.
- Distinguish stack rollback from rollback of external actions performed by a macro or custom resource.
- Prefer expand/migrate/contract changes over destructive in-place migrations.
- Do not recommend
Retainwithout assigning follow-up ownership and cleanup.
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
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.

