Planning skill that interrogates your use case before any code is written, then recommends the right Twilio Conversations stack — ConversationRelay, Memory, Intelligence, Orchestrator, TaskRouter — and the implementation skills to follow.
AWS CDK
Summary
Official AWS skill for authoring, deploying and debugging CDK stacks — construct patterns, bootstrap, drift, resource import and the CloudFormation errors that trap people.
Features
- Guides CDK construct authoring in TypeScript and Python
- Documents the deadly-embrace cross-stack reference deadlock and the three-deploy ReferenceStrength fix
- Warns that renaming a construct changes its logical ID and replaces the resource
- Covers UPDATE_ROLLBACK_FAILED recovery with cdk rollback and --orphan
- Explains why non-empty S3 buckets survive cdk destroy without removalPolicy plus autoDeleteObjects
- Reference files for bootstrapping, drift resolution, resource import and safe refactoring
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
I renamed a construct and cdk diff now wants to replace my DynamoDB table. How do I refactor this without losing data?
Description
aws-cdk is one of the core skills in Amazon's Agent Toolkit for AWS, the company's officially supported bundle of MCP servers, skills and plugins for coding agents. It gives an agent working domain knowledge of the AWS Cloud Development Kit rather than generic infrastructure advice.
The valuable part is not the happy path — it is the failure modes the skill front-loads as critical warnings, because these are the CDK problems that cost hours:
- Deadly embrace. Removing a cross-stack reference deadlocks deployment with
Export ... cannot be deleted as it is in use by .... The skill's preferred fix is to weaken the reference first —CrossStackReferences.of($RESOURCE).produce(ReferenceStrength.BOTH), thenWEAK, then remove — a three-deploy sequence, with the legacy two-deploythis.exportValue()recipe as a fallback. - Construct ID changes cause replacement. Renaming or moving a construct changes its logical ID, so CloudFormation replaces the resource. For stateful resources that means data loss. The skill insists on
cdk diffbefore every deploy. - UPDATE_ROLLBACK_FAILED. A stuck stack is recovered with
cdk rollback $STACK, orcdk rollback $STACK --orphan <LogicalId>. - S3 buckets survive destroy. You need both
removalPolicy: DESTROYandautoDeleteObjects: true; versioned buckets are worse still, because delete markers persist.
Beyond the warnings, bundled reference files cover bootstrapping and project setup, deployment troubleshooting, drift resolution, importing existing resources into a stack, and refactoring without triggering replacement. The skill explicitly scopes itself out of raw CloudFormation YAML/JSON, SAM, Terraform, Pulumi and general CI/CD, which keeps it from being invoked on tasks it has no special knowledge of.
Installation. Claude Code: /plugin install aws-core@claude-plugins-official. Codex and Cursor: codex plugin marketplace add aws/agent-toolkit-for-aws. Kiro and other agents: npx skills add aws/agent-toolkit-for-aws/skills. Licensed Apache-2.0.
Best for teams already committed to CDK who want their agent to stop suggesting resource-replacing refactors. If your stacks are Terraform or Pulumi, this is the wrong skill — look at the HashiCorp and Pulumi skill sets instead.
Related Skills
Foundational fal.ai skill that drives the genmedia CLI across 1200+ hosted generative model endpoints — smart routing, schema inspection, async queues and agent-parseable JSON.
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.
An agentic software-development methodology: composable skills that push a coding agent through spec, plan, TDD and review instead of straight into code.