Sets up AWS CDK Python projects: installs Node.js/AWS CLI/Python prereqs, initializes apps, configures virtual env/dependencies, synths/deploys/bootstrap stacks to AWS.
From awesome-copilotnpx claudepluginhub ctr26/dotfiles --plugin awesome-copilotThis skill uses the workspace's default tool permissions.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
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.