skills/devops-skills/cloudformation/SKILL.md
Provides comprehensive guidance for AWS CloudFormation including templates, stacks, parameters, and infrastructure automation. Use when the user asks about CloudFormation, needs to create AWS infrastructure as code, manage stacks, or implement AWS IaC best practices.
npx skillsauth add teachingai/agent-skills cloudformationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
AWSTemplateFormatVersion: '2010-09-09'
Description: Simple S3 bucket with versioning
Parameters:
Environment:
Type: String
AllowedValues: [dev, staging, prod]
Default: dev
Resources:
AppBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: !Sub 'myapp-${Environment}-assets'
VersioningConfiguration:
Status: Enabled
Outputs:
BucketArn:
Value: !GetAtt AppBucket.Arn
Export:
Name: !Sub '${Environment}-AppBucketArn'
# Validate template
aws cloudformation validate-template --template-body file://template.yaml
# Create stack with change set preview
aws cloudformation deploy \
--template-file template.yaml \
--stack-name myapp-dev \
--parameter-overrides Environment=dev
# In consuming stack — import the exported bucket ARN
Resources:
LambdaFunction:
Type: AWS::Lambda::Function
Properties:
Environment:
Variables:
BUCKET_ARN: !ImportValue dev-AppBucketArn
Parameter + NoEcho or AWS Secrets Manager — never hardcodedev-, prod-) to avoid conflictsDependsOn or split resources across stacksaws cloudformation detect-stack-drift to find out-of-band changescloudformation, aws, infrastructure as code, cloudformation template, aws iac, nested stacks, cross-stack references
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.