aws/aws-cdk-python-setup/SKILL.md
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequisites, create new CDK projects, manage dependencies, and deploy to AWS.
npx skillsauth add beel-collab/presets aws-cdk-python-setupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides setup guidance for working with AWS CDK (Cloud Development Kit) projects using Python.
Before starting, ensure the following tools are installed:
npm install -g aws-cdk
cdk --version
# Install AWS CLI (if not installed)
brew install awscli
# Configure credentials
aws configure
Enter your AWS Access Key, Secret Access Key, default region, and output format when prompted.
mkdir my-cdk-project
cd my-cdk-project
cdk init app --language python
Your project will include:
app.py — Main application entry pointmy_cdk_project/ — CDK stack definitionsrequirements.txt — Python dependenciescdk.json — Configuration file# macOS/Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activate
pip install -r requirements.txt
Primary dependencies:
aws-cdk-lib — Core CDK constructsconstructs — Base construct librarycdk synth
Generates cdk.out/ containing CloudFormation templates.
cdk deploy
Reviews and confirms deployment to the configured AWS account.
cdk bootstrap
Prepares environment resources like S3 buckets for asset storage.
cdk diff before deployment to preview changes.requirements.txt pinned for consistent builds.If issues occur, check:
cdk doctor to diagnose environment issues.development
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
documentation
Create a tldr page from documentation URLs and command examples, requiring both URL and command name.
documentation
Create a README.md file for the project
testing
Create an llms.txt file from scratch based on repository structure following the llms.txt specification at https://llmstxt.org/