aws-cdk-development
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
Skill by zxkane
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zxkane-aws-cdk-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, cloud
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/aws-cdk-development
What's inside
- Skill name
aws-cdk-development- Description
- AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python. Use when creating CDK stacks, defining CDK constructs, implementing infrastructure as code, or when the user mentions CDK, CloudFormation, IaC, cdk synth, cdk deploy, or wants to define AWS infrastructure programmatically. Covers CDK app structure, construct patterns, stack composition, and deployment workflows.
- License
- MIT
- Instructions
- 259 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (3)
- SKILL.md
- cdk-patterns.md · references/
- validate-stack.sh · scripts/
SKILL.md (first lines)
# 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.
## CDK-Specific MCP Guidance
AWS Labs replaced the dedicated CDK MCP server (`awslabs.cdk-mcp-server`) with the broader `awslabs.aws-iac-mcp-server`, which covers CDK alongside CloudFormation and other AWS infrastructure-as-code workflows.
For CDK construct lookups, best-practice recommendations, and pattern guidance, install `awslabs.aws-iac-mcp-server`. It ships in the `deploy-on-aws` plugin from `awslabs/agent-plugins`, or can be registered directly with `claude mcp add aws-iac uvx awslabs.aws-iac-mcp-server@latest`.
**When to reach for it**:
- CDK construct recommendations and API lookups
- CDK and CloudFormation best-practice patterns
- Validation of synthesized templates
- Cross-resource configuration guidance
## 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: 'handler',
// Automatically handles dependencies and packaging
});
```
**Benefits**:
- Automatic bundling and dependency management
- Transpilation handled automatically
- No manual packaging required
- Consistent deployment patterns
### Pre-Deployment Validation
Use a **multi-layer validation strategy** for comprehensive CDK quality checks:
#### Layer 1: Real-Time IDE Feedback (Recommended)
**For TypeScript/JavaScript projects**:
Install [cdk-nag](https://github.com/cdklabs/cdk-nag) for synthesis-time validation:
```bash
npm install --save-dev cdk-nag
```
Add to your CDK app:
```typescript
import { Aspects } from 'aws-cdk-lib';
import { AwsSolutionsChecks } from 'cdk-nag';
const app = new App();
Aspects.of(app).add(new AwsSolutionsChecks());
```
**Optional - VS Code users**: Install [CDK NAG Validator extension](https://marketplace.visualstudio.com/items?itemName=alphacrack.cdk-nag-validator) for faster feedback on file save.
**For Python/Java/C#/Go projects**: cdk-nag is available in all CDK languages and provides the same synthesis-time validation.From zxkane/aws-skills, MIT.
More from zxkane/aws-skills
- 0.699score
aws-sst-development
zxkane
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.
SkillCFreshness: C★ 371Claude Code +9 - 0.624score
aws-agentic-ai
zxkane
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale.
SkillDFreshness: D★ 371Claude Code +9 - 0.624score
aws-cost-operations
zxkane
AWS cost optimization, monitoring, and operational excellence expert.
SkillDFreshness: D★ 371Claude Code +9 - 0.624score
aws-serverless-eda
zxkane
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
SkillDFreshness: D★ 371Claude Code +9 - 0.538score
aws-mcp-setup
zxkane
Configure AWS MCP servers for documentation search and API access.
SkillDFreshness: D★ 371Claude Code +9
Signals
- Stars
- 371
- Forks
- 39
- Open issues
- 0
- Last commit (this folder)
- Jun 15, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zxkane/aws-skills
- Website
- skills.sh/zxkane/aws-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.318score
aws-cdk-development
CommandCodeAI
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
SkillDFreshness: D★ 137Claude Code +9 - 0.293score
aws-cdk-development
Flissel
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
SkillCFreshness: C★ 1Claude Code +9
More from zxkane
- 0.699score
aws-sst-development
zxkane
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.
SkillCFreshness: C★ 371Claude Code +9 - 0.624score
aws-agentic-ai
zxkane
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale.
SkillDFreshness: D★ 371Claude Code +9 - 0.624score
aws-cost-operations
zxkane
AWS cost optimization, monitoring, and operational excellence expert.
SkillDFreshness: D★ 371Claude Code +9 - 0.624score
aws-serverless-eda
zxkane
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
SkillDFreshness: D★ 371Claude Code +9 - 0.538score
aws-mcp-setup
zxkane
Configure AWS MCP servers for documentation search and API access.
SkillDFreshness: D★ 371Claude Code +9
Cite this page
aws-cdk-development skill. Agent Mart. https://agentmart.dev/skills/zxkane-aws-cdk-development (last updated 2026-10-24)