$git clone https://github.com/zxkane/aws-skillsClaude Code plugins and agent skills for AWS development — IaC(CDK/SST), serverless, cost ops, and Bedrock AgentCore
| 1 | # AWS Skills for Claude Code |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | ## Plugins |
| 6 | |
| 7 | ### 0. AWS Common Plugin (Dependency) |
| 8 | |
| 9 | Shared AWS agent skills including AWS Documentation MCP configuration for querying up-to-date AWS knowledge. |
| 10 | |
| 11 | **Features**: |
| 12 | - AWS MCP server configuration guide |
| 13 | - Documentation MCP setup for querying AWS knowledge |
| 14 | - Shared by all other AWS plugins as a dependency |
| 15 | |
| 16 | **Note**: This plugin is automatically loaded as a dependency by other plugins. Install it first if installing plugins individually. |
| 17 | |
| 18 | ### 1. AWS CDK Plugin |
| 19 | |
| 20 | AWS CDK development skill with integrated MCP server for infrastructure as code. |
| 21 | |
| 22 | **Features**: |
| 23 | - AWS CDK best practices and patterns |
| 24 | - Pre-deployment validation script |
| 25 | - Comprehensive CDK patterns reference |
| 26 | |
| 27 | **Integrated MCP Server**: |
| 28 | - AWS CDK MCP (stdio) |
| 29 | |
| 30 | ### 2. AWS Cost & Operations Plugin |
| 31 | |
| 32 | Cost optimization, monitoring, and operational excellence with 3 integrated MCP servers. |
| 33 | |
| 34 | **Features**: |
| 35 | - Cost estimation and optimization |
| 36 | - Monitoring and observability patterns |
| 37 | - Operational best practices |
| 38 | |
| 39 | **Integrated MCP Servers**: |
| 40 | - AWS Pricing |
| 41 | - AWS Cost Explorer |
| 42 | - Amazon CloudWatch |
| 43 | |
| 44 | ### 3. AWS Serverless & Event-Driven Architecture Plugin |
| 45 | |
| 46 | Serverless and event-driven architecture patterns based on Well-Architected Framework. |
| 47 | |
| 48 | **Features**: |
| 49 | - Well-Architected serverless design principles |
| 50 | - Event-driven architecture patterns |
| 51 | - Orchestration with Step Functions |
| 52 | - Saga patterns for distributed transactions |
| 53 | - Event sourcing patterns |
| 54 | |
| 55 | ### 4. AWS Agentic AI Plugin |
| 56 | |
| 57 | AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents. |
| 58 | |
| 59 | **Features**: |
| 60 | - Gateway service for converting REST APIs to MCP tools |
| 61 | - Runtime service for deploying and scaling agents |
| 62 | - Memory service for managing conversation state |
| 63 | - Identity service for credential and access management |
| 64 | - Code Interpreter for secure code execution |
| 65 | - Browser service for web automation |
| 66 | - Observability for tracing and monitoring |
| 67 | |
| 68 | ## Installation |
| 69 | |
| 70 | ### Option 1: Claude Code Plugin Marketplace |
| 71 | |
| 72 | Add the marketplace to Claude Code: |
| 73 | |
| 74 | ```bash |
| 75 | /plugin marketplace add zxkane/aws-skills |
| 76 | ``` |
| 77 | |
| 78 | Install plugins individually: |
| 79 | |
| 80 | ```bash |
| 81 | # Install the common dependency first |
| 82 | /plugin install aws-common@aws-skills |
| 83 | |
| 84 | # Then install the plugins you need |
| 85 | /plugin install aws-iac@aws-skills |
| 86 | /plugin install aws-cost-ops@aws-skills |
| 87 | /plugin install serverless-eda@aws-skills |
| 88 | /plugin install aws-agentic-ai@aws-skills |
| 89 | ``` |
| 90 | |
| 91 | ### Option 2: Install Individual Skills via npx |
| 92 | |
| 93 | Install a single skill directly from the repository using [skills.sh](https://skills.sh): |
| 94 | |
| 95 | ```bash |
| 96 | # AWS CDK development skill |
| 97 | npx skills add https://github.com/zxkane/aws-skills --skill aws-cdk-development |
| 98 | |
| 99 | # AWS SST (Ion) infrastructure-as-code skill |
| 100 | npx skills add https://github.com/zxkane/aws-skills --skill aws-sst-development |
| 101 | |
| 102 | # AWS cost & operations skill |
| 103 | npx skills add https://github.com/zxkane/aws-skills --skill aws-cost-operations |
| 104 | |
| 105 | # AWS serverless & event-driven architecture skill |
| 106 | npx skills add https://github.com/zxkane/aws-skills --skill aws-serverless-eda |
| 107 | |
| 108 | # AWS Bedrock AgentCore skill |
| 109 | npx skills add https://github.com/zxkane/aws-skills --skill aws-agentic-ai |
| 110 | |
| 111 | # AWS MCP setup (shared dependency) |
| 112 | npx skills add https://github.com/zxkane/aws-skills --skill aws-mcp-setup |
| 113 | ``` |
| 114 | |
| 115 | Browse all skills at [skills.sh/zxkane/aws-skills](https://skills.sh/zxkane/aws-skills). |
| 116 | |
| 117 | ## Core CDK Principles |
| 118 | |
| 119 | ### Resource Naming |
| 120 | |
| 121 | **Do NOT explicitly specify resource names** when they are optional in CDK constructs. |
| 122 | |
| 123 | ```typescript |
| 124 | // ✅ GOOD - Let CDK generate unique names |
| 125 | new lambda.Function(this, 'MyFunction', { |
| 126 | // No functionName specified |
| 127 | }); |
| 128 | |
| 129 | // ❌ BAD - Prevents multiple deployments |
| 130 | new lambda.Function(this, 'MyFunction', { |
| 131 | functionName: 'my-lambda', |
| 132 | }); |
| 133 | ``` |
| 134 | |
| 135 | ### Lambda Functions |
| 136 | |
| 137 | Use appropriate constructs for automatic bundling: |
| 138 | |
| 139 | - **TypeScript/JavaScript**: `NodejsFunction` from `aws-cdk-lib/aws-lambda-nodejs` |
| 140 | - **Python**: `PythonFunction` from `@aws-cdk/aws-lambda-python-alpha` |
| 141 | |
| 142 | ### Pre-Deployment Validation |
| 143 | |
| 144 | Before committing CDK code: |
| 145 | |
| 146 | ```bash |
| 147 | npm run build |
| 148 | npm test |
| 149 | npm run lint |
| 150 | cdk synth |
| 151 | ./scripts/validate-stack.sh |
| 152 | ``` |
| 153 | |
| 154 | ## Usage Examples |
| 155 | |
| 156 | ### CDK Development |
| 157 | |
| 158 | Ask Claude to help with CDK: |
| 159 | |
| 160 | ``` |
| 161 | Create a CDK stack with a Lambda function that processes S3 events |
| 162 | ``` |
| 163 | |
| 164 | Claude will: |
| 165 | - Follow CDK best practices |
| 166 | - Use NodejsFunction for automatic bundling |
| 167 | - Avoid explicit resource naming |
| 168 | - Grant proper IAM permissions |
| 169 | - Use MCP servers for latest AWS information |
| 170 | |
| 171 | ### Cost Optimization |
| 172 | |
| 173 | Estimate costs before deployment: |
| 174 | |
| 175 | ``` |
| 176 | Estimate the monthly cost of running 10 Lambda functions with 1M invocations each |
| 177 | ``` |
| 178 | |
| 179 | Analyze current spending: |
| 180 | |
| 181 | ``` |
| 182 | Show me my AWS costs for the last 30 days broken down by service |
| 183 | ``` |
| 184 | |
| 185 | ### Monitoring and Observability |
| 186 | |
| 187 | Set up monitoring: |
| 188 | |
| 189 | ``` |
| 190 | Create CloudWatch alarms for my Lambda functions to alert on errors a |