aws-cdk-development
π―Skillfrom zxkane/aws-skills
Provides expert guidance and best practices for AWS CDK development, offering pre-deployment validation, comprehensive infrastructure-as-code patterns, and integrated knowledge for building robust ...
Installation
npx skills add https://github.com/zxkane/aws-skills --skill aws-cdk-developmentSkill Details
Overview
# AWS Skills for Claude Code
Claude Code plugins for AWS development with specialized knowledge and MCP server integrations, including CDK, serverless architecture, cost optimization, and Bedrock AgentCore for AI agent deployment.
Plugins
0. AWS Common Plugin (Dependency)
Shared AWS agent skills including AWS Documentation MCP configuration for querying up-to-date AWS knowledge.
Features:
- AWS MCP server configuration guide
- Documentation MCP setup for querying AWS knowledge
- Shared by all other AWS plugins as a dependency
Note: This plugin is automatically loaded as a dependency by other plugins. Install it first if installing plugins individually.
1. AWS CDK Plugin
AWS CDK development skill with integrated MCP server for infrastructure as code.
Features:
- AWS CDK best practices and patterns
- Pre-deployment validation script
- Comprehensive CDK patterns reference
Integrated MCP Server:
- AWS CDK MCP (stdio)
2. AWS Cost & Operations Plugin
Cost optimization, monitoring, and operational excellence with 3 integrated MCP servers.
Features:
- Cost estimation and optimization
- Monitoring and observability patterns
- Operational best practices
Integrated MCP Servers:
- AWS Pricing
- AWS Cost Explorer
- Amazon CloudWatch
3. AWS Serverless & Event-Driven Architecture Plugin
Serverless and event-driven architecture patterns based on Well-Architected Framework.
Features:
- Well-Architected serverless design principles
- Event-driven architecture patterns
- Orchestration with Step Functions
- Saga patterns for distributed transactions
- Event sourcing patterns
4. AWS Agentic AI Plugin
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents.
Features:
- Gateway service for converting REST APIs to MCP tools
- Runtime service for deploying and scaling agents
- Memory service for managing conversation state
- Identity service for credential and access management
- Code Interpreter for secure code execution
- Browser service for web automation
- Observability for tracing and monitoring
Installation
Add the marketplace to Claude Code:
```bash
/plugin marketplace add zxkane/aws-skills
```
Install plugins individually:
```bash
# Install the common dependency first
/plugin install aws-common@aws-skills
# Then install the plugins you need
/plugin install aws-cdk@aws-skills
/plugin install aws-cost-ops@aws-skills
/plugin install serverless-eda@aws-skills
/plugin install aws-agentic-ai@aws-skills
```
Core CDK Principles
Resource Naming
Do NOT explicitly specify resource names when they are optional in CDK constructs.
```typescript
// β GOOD - Let CDK generate unique names
new lambda.Function(this, 'MyFunction', {
// No functionName specified
});
// β BAD - Prevents multiple deployments
new lambda.Function(this, 'MyFunction', {
functionName: 'my-lambda',
});
```
Lambda Functions
Use appropriate constructs for automatic bundling:
- TypeScript/JavaScript:
NodejsFunctionfromaws-cdk-lib/aws-lambda-nodejs - Python:
PythonFunctionfrom@aws-cdk/aws-lambda-python-alpha
Pre-Deployment Validation
Before committing CDK code:
```bash
npm run build
npm test
npm run lint
cdk synth
./scripts/validate-stack.sh
```
Usage Examples
CDK Development
Ask Claude to help with CDK:
```
Create a CDK stack with a Lambda function that processes S3 events
```
Claude will:
- Follow CDK best practices
- Use NodejsFunction for automatic bundling
- Avoid explicit resource naming
- Grant proper IAM permissions
- Use MCP servers for latest AWS information
Cost Optimization
Estimate costs before deployment:
```
Estimate the monthly cost of running 10 Lambda functions with 1M invocations each
```
Analyze current spending:
```
Show me my AWS costs for the last 30 days broken down by service
```
Monitoring and Observability
Set up monitoring:
```
Create CloudWatch alarms for my Lambda functions to
More from this repository5
Provides Claude with specialized AWS development plugins for infrastructure as code, serverless architecture, cost optimization, and AI agent deployment through integrated MCP servers and expert kn...
Provides expert guidance and implementation patterns for designing serverless event-driven architectures using AWS services, focusing on Well-Architected Framework principles, Step Functions orches...
aws-cost-operations skill from zxkane/aws-skills
Enables comprehensive deployment, management, and scaling of AI agents on AWS Bedrock, providing services for API conversion, runtime management, conversation state tracking, and secure code execut...
Configures and sets up the MCP (Machine Comprehension Platform) server for AWS documentation and knowledge retrieval, enabling precise AWS-related information access for Claude Code plugins.