AWS CloudFormation CloudFront Skill
Guides Claude in authoring production-ready CloudFormation templates for CloudFront CDN distributions.
Dev & CodingIntermediate★ 349⑂ 41AI score 9/10Last updated: Sep 10, 2026
What it does
- Provides an 8-step workflow for building CloudFront distributions in CloudFormation YAML.
- Covers multi-origin setups (S3 with OAC, ALB, API Gateway, Lambda@Edge, VPC origins) and path-based CacheBehaviors.
- Includes cache/origin-request policies, response header policies (HSTS, XSS, CSP), WAFv2 integration, CloudFront Functions, S3 access logging, and Outputs with cross-stack exports.
- Documents real constraints: ACM certs must live in us-east-1, 25 origins and 25 cache behaviors per distribution, up to 30-minute deployments, no drift detection.
Who it's for
- DevOps and platform engineers managing AWS infrastructure as code.
- Web developers shipping static sites or SPAs on S3 + CloudFront.
- Backend teams serving APIs and static assets from a single domain.
Examples
- "Create a CloudFront template for an S3 static site using OAC" → minimal template with bucket, OriginAccessControl, and default cache behavior.
- "Route /api/* to my ALB and /static/* to S3" → multi-origin distribution with per-path cache policies and TTLs.
- "Add HSTS/frame-options security headers plus WAF, then lint it" → ResponseHeadersPolicy and WebACL added, validated with validate-template and cfn-lint.
· · · 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/giuseppe-trisciuoglio/developer-kit/HEAD/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront/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 plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront folder from the GitHub repo giuseppe-trisciuoglio/developer-kit into my ~/.claude/skills/aws-cloudformation-cloudfront/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/giuseppe-trisciuoglio/developer-kit.git /tmp/developer-kit && mkdir -p ~/.claude/skills && cp -r /tmp/developer-kit/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in the folder where you keep code.
- Clone the repo:
git clone https://github.com/giuseppe-trisciuoglio/developer-kit.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r developer-kit/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront ~/.claude/skills/ - Confirm the bundled
references/folder came along. - Optional: install tooling with
pip install cfn-lintand configure credentials viaaws configure. - Restart Claude Code and ask something like "Write a CloudFormation template for a CloudFront distribution".
View source on GitHub ↗License: MIT