aws-cdk

Standardize AWS infrastructure definition and deployment with the CDK framework.

25|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill aws-cdk-nimadorostkar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cdk
Source: https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/devops/aws-cdk
Command: npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill aws-cdk-nimadorostkar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill mitigates the risk of accidental infrastructure destruction and configuration drift when using the AWS Cloud Development Kit (CDK) by enforcing rigorous testing and deployment standards.

Core Features & Use Cases

  • Infrastructure Guardrails: Implements L3 patterns to ensure resources like Lambda functions are deployed with mandatory monitoring, logging, and dead-letter queues.
  • Security Validation: Provides snapshot and fine-grained assertion testing to catch unintended security regressions, such as public S3 buckets or unencrypted databases, before deployment.
  • Safe Deployment: Guides the user through CDK diff reviews and CI-based deployment workflows to prevent manual errors and resource replacement.

Quick Start

Use the aws-cdk skill to review my current stack definition and generate snapshot tests for all existing resources.

Frequently Asked Questions about aws-cdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental resource destruction when deploying AWS CDK stacks?

To prevent accidental resource destruction in AWS CDK, enforce CI-based deployment pipelines and review CDK diffs before synthesis. This standardizes stack organization and ensures production safety by catching manual errors and resource replacements.

What is the best way to test AWS CDK infrastructure for security regressions?

The best way to test AWS CDK infrastructure for security regressions is through snapshot and fine-grained assertion testing. This catches unintended configurations like public S3 buckets or unencrypted databases before they reach deployment.

How do I enforce monitoring and logging on Lambda functions using AWS CDK?

To enforce monitoring and logging on Lambda functions with AWS CDK, implement L3 construct patterns. These infrastructure guardrails mandate dead-letter queues and logging resources, ensuring production stability and observability.

Does AWS CDK support TypeScript for defining cloud infrastructure as code?

Yes, AWS CDK supports TypeScript for defining cloud infrastructure as code. It standardizes the definition and deployment of AWS resources, allowing you to apply robust construct design patterns directly within your TypeScript codebase.

Why should I use L2 and L3 construct patterns in AWS CDK?

You should use L2 and L3 construct patterns in AWS CDK to ensure resource stability and production safety. Adhering to these patterns standardizes stack organization and applies mandatory infrastructure guardrails during deployment.

Can I generate snapshot tests for my existing AWS CloudFormation stacks?

Yes, you can generate snapshot tests for existing AWS CloudFormation stacks. By reviewing your current CDK stack definitions, the skill automates the creation of tests to validate resource configurations and prevent drift.