aws-cloudformation
Skill by aws
Authors, validates, and troubleshoots AWS CloudFormation templates for teams deploying infrastructure on AWS. It covers the full lifecycle, from writing YAML or JSON templates to diagnosing failed stacks.
Install aws-cloudformation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws /tmp/agent-toolkit-for-aws && mkdir -p ~/.claude/skills && cp -r /tmp/agent-toolkit-for-aws/skills/core-skills/aws-cloudformation ~/.claude/skills/aws-cloudformationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws /tmp/agent-toolkit-for-aws && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-toolkit-for-aws/skills/core-skills/aws-cloudformation ~/.gemini/antigravity-cli/skills/aws-cloudformationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill covers the full CloudFormation lifecycle: authoring templates, validating them before deployment, and diagnosing failures after deployment. When writing templates, it applies secure defaults, such as S3 public access blocks, bucket encryption, and Retain policies for stateful resources. It also records design intent in template metadata so the context survives across sessions and teams.
Validation covers local checks with cfn-lint or cloudformation-validate, cfn-guard security and compliance checks as a recommended default, and account-aware CloudFormation service pre-deployment validation. The skill also covers Express mode for faster deployment feedback and root-cause diagnosis of failed stacks using CloudFormation events and CloudTrail correlation. It is aimed at teams working with plain CloudFormation rather than CDK.
Written from the project's SKILL.md and checked against it.
What it can do
- Template authoringWrites CloudFormation templates with secure defaults, such as S3 encryption and blocked public access.
- Local validationValidates templates with cfn-lint or cloudformation-validate before deployment.
- cfn-guard checksRuns security and compliance checks, recommended as a default step.
- Pre-deployment validationRuns account-aware CloudFormation service validation before a deployment.
- Express mode deploymentGives faster deployment feedback during development iteration.
- Failed stack diagnosisFinds root causes of failed stacks using CloudFormation events and CloudTrail.
- Template explanationExplains what a template does and why, using its embedded context.
- Author-time intelligenceSets up completion, diagnostics, and hover docs with the CloudFormation Language Server.
What you need
- CloudFormation templates in YAML or JSON
- AWS CLI, or the AWS MCP server (optional)
- cfn-lint or cloudformation-validate
- cfn-guard
Try asking
- Validate this CloudFormation template with cfn-lint and cfn-guard
- Why did my CloudFormation stack fail? Check events and CloudTrail
- Deploy this stack with Express mode for faster feedback
Good to know
- Built for plain CloudFormation; CDK needs a CDK-focused skill.
- Express mode is not for workflows that need resources serving traffic right after the stack completes.
- aws cloudformation deploy does not support Express mode.
- Rollback is disabled by default in Express mode.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/core-skills/aws-cloudformation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/author-cloudformation-best-practices.script.md9 KB -
references/check-cloudformation-template-compliance.script.md8 KB -
references/cloudformation-language-server.md8 KB -
references/cloudformation-pre-deploy-validation.script.md19 KB
Show all 16 files
-
references/deploy-with-express-mode.script.md12 KB -
references/lookup-resource-properties.script.md6 KB -
references/persist-template-context.script.md14 KB -
references/retrieve-template-context.script.md19 KB -
references/security-considerations.md4 KB -
references/template-safety-guidance.md8 KB -
references/troubleshoot-deployment.script.md12 KB -
references/troubleshoot-failed-stack.script.md9 KB -
references/validate-with-cfn-lint.script.md8 KB -
references/validate-with-cloudformation-validate.script.md9 KB -
references/validation-tool-selection.md4 KB
Alternatives to aws-cloudformation
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
aws-cloudformation: common questions
Does this skill work with AWS CDK?
The skill is focused on plain CloudFormation YAML and JSON. For CDK, the source suggests using a CDK-focused skill if one is available.
How is Express mode different from CDK hotswap?
Express mode deploys full infrastructure through CloudFormation with no drift. Hotswap patches code-only changes through direct service APIs and introduces drift.
What does Express mode do during a deployment?
It completes stack operations as soon as resource configuration is applied, while resources continue stabilizing in the background.
How do I install aws-cloudformation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aws-cloudformation free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is aws-cloudformation safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to aws-cloudformation?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
