AWS CloudFormation IaC Assistant
A reference skill for writing CloudFormation templates, deploying stacks, detecting drift, and troubleshooting failed deployments.
Dev & CodingIntermediate★ 1,147⑂ 444AI score 8/10Last updated: Aug 17, 2026
What it does
- Explains the canonical template layout (Parameters, Mappings, Conditions, Resources, Outputs) with a working YAML example.
- Ships copy-paste snippets for common resources: Lambda + IAM role, VPC with public/private subnets and routing, DynamoDB table with a GSI.
- Collects the AWS CLI surface in tables and examples: create/update/delete stack, change set workflow, termination protection.
- Provides troubleshooting recipes for CREATE_FAILED diagnosis, DELETE_FAILED recovery, drift detection, and continuing a failed rollback.
Who it's for
- Backend, DevOps and SRE engineers managing AWS infrastructure as code.
- Teams standardized on CloudFormation/SAM rather than Terraform, or organizing nested stacks.
- Anyone tired of re-reading AWS docs for intrinsic functions and CLI flags.
Usage examples
- "Generate an S3 + Lambda template that picks instance size per dev/prod environment" → YAML draft using Mappings and Conditions.
- "Preview what my-stack update will change" → guided create-change-set / describe / execute flow.
- "My stack is stuck in DELETE_FAILED" → query the failing resources, then retry delete with
--retain-resources.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/cloudformation/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/cloudformation folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/cloudformation/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/itsmostafa/aws-agent-skills.git && mkdir -p ~/.claude/skills && cp -r aws-agent-skills/skills/cloudformation ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and verify the AWS CLI with
aws --version; install it and runaws configureif needed. - Create the skills directory:
mkdir -p ~/.claude/skills - Clone the repository:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Copy just this skill:
cp -r aws-agent-skills/skills/cloudformation ~/.claude/skills/ - Restart Claude Code and ask something like "write a CloudFormation template for a VPC" to confirm the skill loads.
- Before running mutating commands (delete-stack, update-stack), double-check the target AWS account and stack name yourself.
View source on GitHub ↗License: MIT