aws-cdk-development
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
Skill by CommandCodeAI
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/commandcodeai-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: not checked yet.
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
- 275 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
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
**CRITICAL**: This skill requires AWS MCP tools for accurate, up-to-date AWS information.
### Before Answering AWS Questions
1. **Always verify** using AWS MCP tools (if available):
- `mcp__aws-mcp__aws___search_documentation` or `mcp__*awsdocs*__aws___search_documentation` - Search AWS docs
- `mcp__aws-mcp__aws___read_documentation` or `mcp__*awsdocs*__aws___read_documentation` - Read specific pages
- `mcp__aws-mcp__aws___get_regional_availability` - Check service availability
2. **If AWS MCP tools are unavailable**:
- Guide user to configure AWS MCP: See [AWS MCP Setup Guide](../../docs/aws-mcp-setup.md)
- Help determine which option fits their environment:
- Has uvx + AWS credentials → Full AWS MCP Server
- No Python/credentials → AWS Documentation MCP (no auth)
- If cannot determine → Ask user which option to use
## 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: '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:
```bashFrom CommandCodeAI/agent-skills, MIT.
More from CommandCodeAI/agent-skills
- 0.609score
building-ai-agent-on-cloudflare
CommandCodeAI
Builds AI agents on Cloudflare using the Agents SDK with state management, real-time WebSockets, scheduled tasks, tool integration, and chat capabilities.
SkillDFreshness: D★ 137Claude Code +9 - 0.606score
aws-cost-operations
CommandCodeAI
This skill provides AWS cost optimization, monitoring, and operational best practices with integrated MCP servers for billing analysis, cost estimation…
SkillDFreshness: D★ 137Claude Code +9 - 0.605score
building-mcp-server-on-cloudflare
CommandCodeAI
Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment.
SkillDFreshness: D★ 137Claude Code +9 - 0.604score
playwright-skill
CommandCodeAI
Complete browser automation with Playwright.
SkillDFreshness: D★ 137Claude Code +9 - 0.604score
aws-agentic-ai
CommandCodeAI
AWS Bedrock AgentCore comprehensive expert for deploying and managing all AgentCore services.
SkillDFreshness: D★ 137Claude Code +9 - 0.522score
raffle-winner-picker
CommandCodeAI
Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests.
SkillDFreshness: D★ 137Claude Code +9 - 0.522score
invoice-organizer
CommandCodeAI
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key information, renaming them consistently, and sorting…
SkillDFreshness: D★ 137Claude Code +9 - 0.522score
video-downloader
CommandCodeAI
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival.
SkillDFreshness: D★ 137Claude Code +9 - 0.519score
welcome-me
commandcodeai
Greet user with a specific message when they say they're new or ask for a welcome message.
SkillDFreshness: D★ 137Claude Code +9 - 0.505score
mcp-builder
CommandCodeAI
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: D★ 137Claude Code +9 - 0.500score
brand-guidelines
CommandCodeAI
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillDFreshness: D★ 137Claude Code +9 - 0.500score
canvas-design
CommandCodeAI
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillDFreshness: D★ 137Claude Code +9
Signals
- Stars
- 137
- Forks
- 42
- Open issues
- 4
- Last commit (this folder)
- Dec 24, 2025 (10 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/CommandCodeAI/agent-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.699score
aws-cdk-development
zxkane
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.
SkillCFreshness: C★ 371Claude 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 CommandCodeAI
- 0.663score
command-code
CommandCodeAI
Terminal coding agent that learns from accept, reject and edit decisions through its taste model.
AgentAFreshness: A★ 4.2K - 0.609score
building-ai-agent-on-cloudflare
CommandCodeAI
Builds AI agents on Cloudflare using the Agents SDK with state management, real-time WebSockets, scheduled tasks, tool integration, and chat capabilities.
SkillDFreshness: D★ 137Claude Code +9 - 0.606score
aws-cost-operations
CommandCodeAI
This skill provides AWS cost optimization, monitoring, and operational best practices with integrated MCP servers for billing analysis, cost estimation…
SkillDFreshness: D★ 137Claude Code +9 - 0.605score
building-mcp-server-on-cloudflare
CommandCodeAI
Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment.
SkillDFreshness: D★ 137Claude Code +9 - 0.604score
playwright-skill
CommandCodeAI
Complete browser automation with Playwright.
SkillDFreshness: D★ 137Claude Code +9 - 0.604score
aws-agentic-ai
CommandCodeAI
AWS Bedrock AgentCore comprehensive expert for deploying and managing all AgentCore services.
SkillDFreshness: D★ 137Claude Code +9
Cite this page
aws-cdk-development skill. Agent Mart. https://agentmart.dev/skills/commandcodeai-aws-cdk-development (last updated 2026-10-24)