What problem does it solve?
This Skill helps you author, deploy, and troubleshoot AWS infrastructure with AWS CDK while minimizing risky changes like accidental resource replacement and broken cross-stack references.
Core Features & Use Cases
- CDK construct authoring and deployment workflow: Best practices for CDK app structure, bootstrapping, and safe deploy sequencing (synth → diff → deploy), including strict mode guidance.
- Operational troubleshooting for common CDK failures: Root-cause oriented fixes for synth-time errors, credential/environment issues, asset bundling/publishing problems, and deploy-time CloudFormation failures.
- Safe migration and refactoring patterns: Guidance for importing existing resources and refactoring constructs to prevent replacement (including logical ID stability and drift strategies).
Real-world example: You need to refactor a CDK stack to clean up constructs without replacing stateful resources, then import an existing S3 bucket and confirm there is no drift before promoting to production.
Quick Start
Use the aws-cdk skill to deploy your CDK stack by running synth with strict mode, reviewing the diff, and then deploying only after confirming no unintended replacements.