{"id":"8f6b1fa6-7a9c-4e79-90b8-70874acbe424","shortId":"WeLZcu","kind":"skill","title":"Aws Cdk Python Setup","tagline":"Awesome Copilot skill by Github","description":"# AWS CDK Python Setup Instructions\n\nThis skill provides setup guidance for working with **AWS CDK (Cloud Development Kit)** projects using **Python**.\n\n---\n\n## Prerequisites\n\nBefore starting, ensure the following tools are installed:\n\n- **Node.js** ≥ 14.15.0 — Required for the AWS CDK CLI\n- **Python** ≥ 3.7 — Used for writing CDK code\n- **AWS CLI** — Manages credentials and resources\n- **Git** — Version control and project management\n\n---\n\n## Installation Steps\n\n### 1. Install AWS CDK CLI\n```bash\nnpm install -g aws-cdk\ncdk --version\n```\n\n### 2. Configure AWS Credentials\n```bash\n# Install AWS CLI (if not installed)\nbrew install awscli\n\n# Configure credentials\naws configure\n```\nEnter your AWS Access Key, Secret Access Key, default region, and output format when prompted.\n\n### 3. Create a New CDK Project\n```bash\nmkdir my-cdk-project\ncd my-cdk-project\ncdk init app --language python\n```\n\nYour project will include:\n- `app.py` — Main application entry point\n- `my_cdk_project/` — CDK stack definitions\n- `requirements.txt` — Python dependencies\n- `cdk.json` — Configuration file\n\n### 4. Set Up Python Virtual Environment\n```bash\n# macOS/Linux\nsource .venv/bin/activate\n\n# Windows\n.venv\\Scripts\\activate\n```\n\n### 5. Install Python Dependencies\n```bash\npip install -r requirements.txt\n```\nPrimary dependencies:\n- `aws-cdk-lib` — Core CDK constructs\n- `constructs` — Base construct library\n\n---\n\n## Development Workflow\n\n### Synthesize CloudFormation Templates\n```bash\ncdk synth\n```\nGenerates `cdk.out/` containing CloudFormation templates.\n\n### Deploy Stacks to AWS\n```bash\ncdk deploy\n```\nReviews and confirms deployment to the configured AWS account.\n\n### Bootstrap (First Deployment Only)\n```bash\ncdk bootstrap\n```\nPrepares environment resources like S3 buckets for asset storage.\n\n---\n\n## Best Practices\n\n- Always activate the virtual environment before working.\n- Run `cdk diff` before deployment to preview changes.\n- Use development accounts for testing.\n- Follow Pythonic naming and directory conventions.\n- Keep `requirements.txt` pinned for consistent builds.\n\n---\n\n## Troubleshooting Tips\n\nIf issues occur, check:\n\n- AWS credentials are correctly configured.\n- Default region is set properly.\n- Node.js and Python versions meet minimum requirements.\n- Run `cdk doctor` to diagnose environment issues.","tags":["aws","cdk","python","setup","awesome","copilot","github"],"capabilities":["skill","source-github","category-awesome-copilot"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/aws-cdk-python-setup","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under github/awesome-copilot","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T05:40:33.775Z","embedding":null,"createdAt":"2026-04-18T20:31:39.615Z","updatedAt":"2026-04-22T05:40:33.775Z","lastSeenAt":"2026-04-22T05:40:33.775Z","tsv":"'1':69 '14.15.0':41 '2':83 '3':116 '3.7':49 '4':159 '5':173 'access':104,107 'account':223,259 'activ':172,243 'alway':242 'app':135 'app.py':142 'applic':144 'asset':238 'aw':1,10,23,45,55,71,79,85,89,99,103,185,211,222,280 'awesom':5 'aws-cdk':78 'aws-cdk-lib':184 'awsc':96 'base':192 'bash':74,87,122,165,177,200,212,228 'best':240 'bootstrap':224,230 'brew':94 'bucket':236 'build':273 'category-awesome-copilot' 'cd':128 'cdk':2,11,24,46,53,72,80,81,120,126,131,133,148,150,186,189,201,213,229,250,298 'cdk.json':156 'cdk.out':204 'chang':256 'check':279 'cli':47,56,73,90 'cloud':25 'cloudform':198,206 'code':54 'configur':84,97,100,157,221,284 'confirm':217 'consist':272 'construct':190,191,193 'contain':205 'control':63 'convent':267 'copilot':6 'core':188 'correct':283 'creat':117 'credenti':58,86,98,281 'default':109,285 'definit':152 'depend':155,176,183 'deploy':208,214,218,226,253 'develop':26,195,258 'diagnos':301 'diff':251 'directori':266 'doctor':299 'ensur':34 'enter':101 'entri':145 'environ':164,232,246,302 'file':158 'first':225 'follow':36,262 'format':113 'g':77 'generat':203 'git':61 'github':9 'guidanc':19 'includ':141 'init':134 'instal':39,67,70,76,88,93,95,174,179 'instruct':14 'issu':277,303 'keep':268 'key':105,108 'kit':27 'languag':136 'lib':187 'librari':194 'like':234 'macos/linux':166 'main':143 'manag':57,66 'meet':294 'minimum':295 'mkdir':123 'my-cdk-project':124,129 'name':264 'new':119 'node.js':40,290 'npm':75 'occur':278 'output':112 'pin':270 'pip':178 'point':146 'practic':241 'prepar':231 'prerequisit':31 'preview':255 'primari':182 'project':28,65,121,127,132,139,149 'prompt':115 'proper':289 'provid':17 'python':3,12,30,48,137,154,162,175,263,292 'r':180 'region':110,286 'requir':42,296 'requirements.txt':153,181,269 'resourc':60,233 'review':215 'run':249,297 's3':235 'script':171 'secret':106 'set':160,288 'setup':4,13,18 'skill':7,16 'sourc':167 'source-github' 'stack':151,209 'start':33 'step':68 'storag':239 'synth':202 'synthes':197 'templat':199,207 'test':261 'tip':275 'tool':37 'troubleshoot':274 'use':29,50,257 'venv':170 'venv/bin/activate':168 'version':62,82,293 'virtual':163,245 'window':169 'work':21,248 'workflow':196 'write':52","prices":[{"id":"63258e4b-0462-42cb-af05-9dd6dbaeb8e6","listingId":"8f6b1fa6-7a9c-4e79-90b8-70874acbe424","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T20:31:39.615Z"}],"sources":[{"listingId":"8f6b1fa6-7a9c-4e79-90b8-70874acbe424","source":"github","sourceId":"github/awesome-copilot/aws-cdk-python-setup","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/aws-cdk-python-setup","isPrimary":false,"firstSeenAt":"2026-04-18T21:48:21.394Z","lastSeenAt":"2026-04-22T00:52:04.174Z"},{"listingId":"8f6b1fa6-7a9c-4e79-90b8-70874acbe424","source":"skills_sh","sourceId":"github/awesome-copilot/aws-cdk-python-setup","sourceUrl":"https://skills.sh/github/awesome-copilot/aws-cdk-python-setup","isPrimary":true,"firstSeenAt":"2026-04-18T20:31:39.615Z","lastSeenAt":"2026-04-22T05:40:33.775Z"}],"details":{"listingId":"8f6b1fa6-7a9c-4e79-90b8-70874acbe424","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"aws-cdk-python-setup","source":"skills_sh","category":"awesome-copilot","skills_sh_url":"https://skills.sh/github/awesome-copilot/aws-cdk-python-setup"},"updatedAt":"2026-04-22T05:40:33.775Z"}}