What problem does it solve? Writing and operating AWS CDK infrastructure involves many failure modes: cross-stack reference deadlocks, accidental resource replacement from construct ID changes, stuck UPDATE_ROLLBACK_FAILED stacks, synth-time module errors, and credential or bootstrap misconfigurations. This Skill provides the domain expertise to author constructs correctly, deploy safely, and diagnose CDK and CloudFormation errors quickly. ## Core Features & Use Cases - Construct Authoring & Patterns: Guidance on L1/L2/L3 construct selection, escape hatches, cross-stack references, custom constructs, and testing with Template assertions. - Deployment Workflows: Bootstrap procedures, project setup for TypeScript and Python, cdk-nag compliance checks, drift detection, resource import, and safe refactoring with cdk refactor. - Troubleshooting Playbooks: Step-by-step diagnosis for deploy failures, credential errors, synth failures, asset bundling issues, and v1-to-v2 migration problems. - Use Case: A deploy fails with "Export cannot be deleted as it is in use". The Skill walks you through the three-deploy reference-weakening fix using CrossStackReferences.of() with ReferenceStrength.BOTH then WEAK. ## Quick Start Ask the assistant to help you write a CDK stack, run cdk deploy, or diagnose a specific CDK or CloudFormation error message you are seeing.