Sets up AWS CloudFront distributions for global content delivery with proper caching, security headers, and origin protection. The skill covers both CLI and Terraform approaches, which is helpful since you'll likely start with CLI for testing and move to IaC for production. Includes patterns for S3 origins with OAI, custom headers, and WAF integration. The best practices are solid reminders about not making buckets public and being careful with cache invalidations, which can get expensive fast. If you're serving static assets, streaming media, or accelerating APIs globally, this gets you the CloudFront basics without the AWS console clicking.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill aws-cloudfront-cdn