Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

AWS CloudFormation IaC Assistant

A reference skill for writing CloudFormation templates, deploying stacks, detecting drift, and troubleshooting failed deployments.

Dev & CodingIntermediate1,147444AI 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

  1. "Generate an S3 + Lambda template that picks instance size per dev/prod environment" → YAML draft using Mappings and Conditions.
  2. "Preview what my-stack update will change" → guided create-change-set / describe / execute flow.
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal and verify the AWS CLI with aws --version; install it and run aws configure if needed.
  2. Create the skills directory: mkdir -p ~/.claude/skills
  3. Clone the repository: git clone https://github.com/itsmostafa/aws-agent-skills.git
  4. Copy just this skill: cp -r aws-agent-skills/skills/cloudformation ~/.claude/skills/
  5. Restart Claude Code and ask something like "write a CloudFormation template for a VPC" to confirm the skill loads.
  6. Before running mutating commands (delete-stack, update-stack), double-check the target AWS account and stack name yourself.