
Aws Cdk Development
Define and deploy AWS infrastructure as code with CDK stacks, constructs, and synth/deploy workflows instead of hand-editing console resources.
Install
npx skills add https://github.com/zxkane/aws-skills --skill aws-cdk-developmentWhat is this skill?
- Guides CDK app structure, construct patterns, and multi-stack composition in TypeScript or Python
- Covers cdk synth, cdk deploy, and CloudFormation-aligned deployment workflows
- Requires verifying AWS facts via MCP (aws-mcp-setup dependency) before answering
- Pre-deploy hook runs aws sts get-caller-identity before cdk deploy
- Integrates CDK, AWS MCP, and AWS docs MCP tool families plus cdk/npm/npx CLI
Adoption & trust: 760 installs on skills.sh; 305 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Azure Deploymicrosoft/azure-skills
Azure Preparemicrosoft/azure-skills
Azure Storagemicrosoft/azure-skills
Azure Validatemicrosoft/azure-skills
Appinsights Instrumentationmicrosoft/azure-skills
Azure Resource Lookupmicrosoft/azure-skills
Journey fit
Primary fit
Solo builders most often reach for CDK while wiring backends, queues, and cloud dependencies during the build phase. CDK is primarily an integrations and IaC layer connecting your app to AWS services programmatically.
Common Questions / FAQ
Is Aws Cdk Development safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Aws Cdk Development
# AWS CDK Development This skill provides comprehensive guidance for developing AWS infrastructure using the Cloud Development Kit (CDK), with integrated MCP servers for accessing latest AWS knowledge and CDK utilities. ## AWS Documentation Requirement Always verify AWS facts using MCP tools (`mcp__aws-mcp__*` or `mcp__*awsdocs*__*`) before answering. The `aws-mcp-setup` dependency is auto-loaded — if MCP tools are unavailable, guide the user through that skill's setup flow. ## Integrated MCP Servers This skill includes the CDK MCP server automatically configured with the plugin: ### AWS CDK MCP Server **When to use**: For CDK-specific guidance and utilities - Get CDK construct recommendations - Retrieve CDK best practices - Access CDK pattern suggestions - Validate CDK configurations - Get help with CDK-specific APIs **Important**: Leverage this server for CDK construct guidance and advanced CDK operations. ## When to Use This Skill Use this skill when: - Creating new CDK stacks or constructs - Refactoring existing CDK infrastructure - Implementing Lambda functions within CDK - Following AWS CDK best practices - Validating CDK stack configurations before deployment - Verifying AWS service capabilities and regional availability ## Core CDK Principles ### Resource Naming **CRITICAL**: Do NOT explicitly specify resource names when they are optional in CDK constructs. **Why**: CDK-generated names enable: - **Reusable patterns**: Deploy the same construct/pattern multiple times without conflicts - **Parallel deployments**: Multiple stacks can deploy simultaneously in the same region - **Cleaner shared logic**: Patterns and shared code can be initialized multiple times without name collision - **Stack isolation**: Each stack gets uniquely identified resources automatically **Pattern**: Let CDK generate unique names automatically using CloudFormation's naming mechanism. ```typescript // ❌ BAD - Explicit naming prevents reusability and parallel deployments new lambda.Function(this, 'MyFunction', { functionName: 'my-lambda', // Avoid this // ... }); // ✅ GOOD - Let CDK generate unique names new lambda.Function(this, 'MyFunction', { // No functionName specified - CDK generates: StackName-MyFunctionXXXXXX // ... }); ``` **Security Note**: For different environments (dev, staging, prod), follow AWS Security Pillar best practices by using separate AWS accounts rather than relying on resource naming within a single account. Account-level isolation provides stronger security boundaries. ### Lambda Function Development Use the appropriate Lambda construct based on runtime: **TypeScript/JavaScript**: Use `@aws-cdk/aws-lambda-nodejs` ```typescript import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs'; new NodejsFunction(this, 'MyFunction', { entry: 'lambda/handler.ts', handler: 'handler', // Automatically handles bundling, dependencies, and transpilation }); ``` **Python**: Use `@aws-cdk/aws-lambda-python` ```typescript import { PythonFunction } from '@aws-cdk/aws-lambda-python-alpha'; new PythonFunction(this, 'MyFunction', { entry: 'lambda', index: 'handler.py', handler: 'han