New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Full-stack AWS CDK skill for authoring, deploying, and troubleshooting infrastructure in TypeScript or Python.

skills.sh installs
10.5K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers bootstrapping, cdk synth/diff/deploy, construct patterns, stack refactoring, drift, and importing existing resources
  • Includes reference guides on deployment failures, credentials, synth errors, fast deployments, compliance with cdk-nag, and V1-to-V2 migration
  • Enforces a rule that cdk diff runs before deploy, since renaming a construct changes its logical ID and replaces the resource
  • Designed for teams building or maintaining CDK infrastructure who need to fix deadlocked cross-stack references or stuck UPDATE_ROLLBACK_FAILED stacks

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill aws-cdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWS CDK

Overview

Domain expertise for CDK construct authoring, deployment workflows, compliance, drift, importing resources, safe refactoring, and troubleshooting CDK CLI / CloudFormation errors.

When NOT to use: Raw CloudFormation YAML/JSON. SAM. Terraform/Pulumi. CI/CD beyond CDK Pipelines. Use builtin knowledge or specialized skills for these.

Critical Warnings

Deadly embrace: Removing a cross-stack reference deadlocks deployment (Export ... cannot be deleted as it is in use by ...). Preferred fix: weaken the reference first — CrossStackReferences.of($RESOURCE).produce(ReferenceStrength.BOTH) then WEAK, then remove (three deploys). Legacy fallback: two-deploy this.exportValue() recipe. See troubleshooting-deployment.

Construct ID changes cause replacement: Renaming/moving a construct changes its logical ID → CloudFormation replaces the resource (data loss for stateful resources). Always cdk diff before deploy. See refactor-and-prevent-replacement.

Details

Repository
github.com/aws/agent-toolkit-for-aws
Category
DevOps & Cloud
First seen
May 16, 2026

More from aws/agent-toolkit-for-aws

All 54

Similar to Aws Cdk

More DevOps & Cloud