Cloudformation
CloudFormation template patronen, stack CLI commando's, drift en rollback probleemoplossing
Getest · Werkt
Wat het doet
Een referentie skill voor AWS CloudFormation die template patronen (parameters, mappings, conditions, exported outputs, nested stacks, custom resources), een stack en change-set CLI commandotabel, en probleemoplossingsrecepten voor CREATE_FAILED, DELETE_FAILED, drift detectie en vastgelopen rollbacks levert. Het activeert wanneer je CloudFormation templates schrijft of beoordeelt, stacks implementeert of bijwerkt, of een falende stack debugt. Output is alleen kennis; het uitvoeren van de commando's vereist nog steeds de AWS CLI en credentials.
Testrapport
Geïnstalleerd in een tijdelijke HOME (mktemp -d) en bevestigd dat SKILL.md + template-patterns.md terechtkomen in ~/.claude/skills/cloudformation/; frontmatter geparset via PyYAML met name+description aanwezig, beide bestanden retourneerden HTTP 200 bij ruwe fetch, en grep naar curl-pipe-sh, base64, eval, wget, hardcoded /Users paden en injectiefrasering vond niets. Taak: "CloudFormation template voor een image-upload pipeline (S3 bucket -> Lambda -> DynamoDB metadata), deploybaar naar dev en prod" — schreef baseline.yaml (94 regels) vanuit algemene kennis, daarna skill.yaml (155 regels) volgens de body; een YAML parse van beide toonde aan dat baseline 0 Mappings, 0 Conditions, 0 exported outputs, 0 output Descriptions, geen PointInTimeRecovery, geen ${AWS::StackName} naamgeving (in plaats daarvan ruwe BucketName param) had, terwijl de skill-versie EnvironmentConfig mappings had die MemorySize/log retention aanstuurden via !FindInMap, een IsProd condition die versioning en DeletionPolicy: Retain op 2 resources reguleerde, 3/3 outputs met Description + Export, PITR ingeschakeld, een PK/SK+GSI1 tabel, een loggroep met retentie, en SourceAccount toegevoegd aan de Lambda permissie. Triggerfraseringen beoordeeld: MOET activeren — "Schrijf een CloudFormation template voor een S3 bucket die een Lambda triggert bij upload", "Mijn CloudFormation stack zit vast in DELETE_FAILED, hoe krijg ik hem los?", "Hoe detecteer ik drift op de prod stack en zie ik welke resources zijn veranderd?"; MOET NIET — "Schrijf een Terraform module voor een S3 bucket met versioning", "Mijn Lambda time-out op grote payloads, help me de handler te debuggen" — 5/5 correct. Docs afgewaardeerd omdat SKILL.md nooit verwijst naar zijn eigen template-patterns.md metgezel (waardoor de helft van de geleverde inhoud nooit laadt), en het Codex installatievoorbeeld van de repo README verwijst naar een "rlhf" skill die niet bestaat in deze repo; cfn-lint en de AWS CLI zijn hier afwezig, dus geen van beide templates werd gevalideerd tegen de echte service.
Getest op: 2026-07-21 · Claude Code 2.x (agent harness)
Installatie
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills.git /tmp/cloudformation-src mkdir -p ~/.claude/skills cp -R /tmp/cloudformation-src/skills/cloudformation ~/.claude/skills/cloudformation # Verified in a clean HOME: places SKILL.md + template-patterns.md at ~/.claude/skills/cloudformation/ # No dependencies to install. Actually deploying stacks requires the AWS CLI and configured credentials. # Alternative (installs all 18 AWS skills as a plugin, from Claude Code): # /plugin marketplace add itsmostafa/aws-agent-skills # /plugin install aws-agent-skills # Note: template-patterns.md is never linked from SKILL.md, so read it explicitly if you want # intrinsic-function, nested-stack, custom-resource, stack-policy, or DeletionPolicy detail.
Commando's en voorbeeldprompts
/cloudformationCloudFormation template patronen, stack CLI commando's, drift en rollback probleemoplossing
Skills reageren op gewone verzoeken — geen commando's om te onthouden. Na installatie activeren prompts zoals deze de skill (in het Engels):
Write a CloudFormation template for this stackFix the drift detected in our CloudFormation stackOrganize this infra using nested stacks