Compares deployed CloudFormation templates with locally synthesized CDK templates to detect drift, validate changes, and ensure consistency before deployment. Use when the user wants to compare CDK output with a deployed stack, check for infrastructure drift, run a pre-deployment validation, audit IAM or security changes, investigate a failing deployment, or perform a 'cdk diff'-style review. Triggered by phrases like 'compare templates', 'check for drift', 'cfn drift', 'stack comparison', 'infrastructure drift detection', 'safe to deploy', or 'what changed in my CDK stack'.
Does it follow best practices?
Evaluation — 100%
↑ 1.09xAgent success when using this tile
Validation for skill structure
Your comparison script has identified the following differences between deployed and local templates:
Changes Found:
GitRef tag on multiple resourcesYour deployment lead needs these changes categorized by risk level to make an informed deployment decision.
Create a file risk-assessment.md that:
Risk Categories: Define or list the risk categories used for classification (Expected, Low, Medium, High, Critical)
Change Classification: Categorize each of the identified changes into the appropriate risk level with reasoning
Risk Category Table: Include a table that maps types of changes to risk levels (similar to the skill's reference table)
Deployment Recommendation: Based on the risk assessment, provide a clear deployment decision:
Required Actions: List specific actions required before deployment based on the risk levels found
The assessment should demonstrate understanding of what constitutes different risk levels and appropriate responses.