Konfigurasi prasyarat environment, inisialisasi proyek CDK berbasis Python yang baru, manajemen dependency, dan deploy infrastruktur ke AWS.
- Bintang GitHub
- 41.038
- File
- 1
- Commit terakhir
- 11 Nov 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill aws-cdk-python-setup?
aws-cdk-python-setup adalah agent skill. Konfigurasi prasyarat environment, inisialisasi proyek CDK berbasis Python yang baru, manajemen dependency, dan deploy infrastruktur ke AWS.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill aws-cdk-python-setup
Fungsi utama dari SKILL ini adalah menyiapkan environment AWS Cloud Development Kit berbasis Python. Skill ini membantu developer dalam mempersiapkan mesin lokal dengan memverifikasi tool yang diperlukan seperti Node.js, Python, AWS CLI, dan Git. Setelah environment siap, skill ini akan memandu pembuatan proyek CDK baru, inisialisasi Python virtual environment, serta instalasi library inti seperti aws-cdk-lib dan constructs.
Seorang agent harus memuat skill ini ketika user perlu beralih dari terminal kosong ke proyek infrastructure-as-code yang fungsional. Skill ini menghasilkan file proyek terstruktur termasuk app.py, cdk.json, dan requirements.txt. Workflow yang tersedia mencakup seluruh lifecycle mulai dari menjalankan cdk init, melakukan sintesis template CloudFormation dengan cdk synth, hingga mengeksekusi cdk deploy untuk mendorong stack ke akun AWS. Skill ini juga menangani proses awal cdk bootstrap yang diperlukan untuk penyimpanan asset di S3 bucket.
Apa yang bisa dilakukan agent dengannya
- 1Inisialisasi proyek CDK baruMembuat direktori baru dan menyiapkan struktur aplikasi AWS CDK berbasis Python.
- 2Preview perubahan infrastrukturMembandingkan kode lokal saat ini dengan stack yang sudah dideploy sebelum menerapkan pembaruan.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill aws-cdk-python-setup
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill aws-cdk-python-setup di Claude Code
~/.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setupInstall skill aws-cdk-python-setup di Claude Code (project)
.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup .claude/skills/aws-cdk-python-setupInstall skill aws-cdk-python-setup di Codex
~/.agents/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.agents/skills/aws-cdk-python-setupInstall skill aws-cdk-python-setup di Gemini CLI
~/.gemini/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.gemini/skills/aws-cdk-python-setupInstall skill aws-cdk-python-setup di Claude.ai
npx degit github/awesome-copilot/skills/aws-cdk-python-setup aws-cdk-python-setup && zip -r aws-cdk-python-setup.zip aws-cdk-python-setup # claude.ai → Customize → Skills → + → Create skill → Upload a skill → aws-cdk-python-setup.zip
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos cek otomatis kami. Ini bukan audit keamanan: baca skripnya sebelum membiarkan agent menjalankannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkaugithub/awesome-copilot/skills/aws-cdk-python-setup is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/aws-cdk-p ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensialNo scripts in the skill folderLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗Lolos
SKILL.md
Lihat di GitHubAWS CDK Python Setup Instructions
This skill provides setup guidance for working with AWS CDK (Cloud Development Kit) projects using Python.
Prerequisites
Before starting, ensure the following tools are installed:
- Node.js ≥ 14.15.0 — Required for the AWS CDK CLI
- Python ≥ 3.7 — Used for writing CDK code
- AWS CLI — Manages credentials and resources
- Git — Version control and project management
Installation Steps
1. Install AWS CDK CLI
npm install -g aws-cdk
cdk --version
2. Configure AWS Credentials
# 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.
3. Create a New CDK Project
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
4. Set Up Python Virtual Environment
# macOS/Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activate
5. Install Python Dependencies
pip install -r requirements.txt
Primary dependencies:
aws-cdk-lib— Core CDK constructsconstructs— Base construct library
Development Workflow
Synthesize CloudFormation Templates
cdk synth
Generates cdk.out/ containing CloudFormation templates.
Deploy Stacks to AWS
cdk deploy
Reviews and confirms deployment to the configured AWS account.
Bootstrap (First Deployment Only)
cdk bootstrap
Prepares environment resources like S3 buckets for asset storage.
Best Practices
- Always activate the virtual environment before working.
- Run
cdk diffbefore deployment to preview changes. - Use development accounts for testing.
- Follow Pythonic naming and directory conventions.
- Keep
requirements.txtpinned for consistent builds.
Troubleshooting Tips
If issues occur, check:
- AWS credentials are correctly configured.
- Default region is set properly.
- Node.js and Python versions meet minimum requirements.
- Run
cdk doctorto diagnose environment issues.
Berkas dalam skill ini
1Pertanyaan seputar skill aws-cdk-python-setup
Bagaimana cara install skill aws-cdk-python-setup di Claude Code?
Jalankan npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setup. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill aws-cdk-python-setup?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Apa persyaratan versi minimum untuk pengembangan AWS CDK Python?
Anda memerlukan Node.js versi 14.15.0 atau lebih tinggi dan Python versi 3.7 atau lebih tinggi.
Bagaimana cara menyiapkan environment AWS saya untuk deployment pertama?
Anda harus menjalankan command bootstrap untuk menyiapkan resource seperti S3 bucket untuk penyimpanan asset.
Bagaimana cara melihat preview perubahan sebelum dideploy ke AWS?
Anda sebaiknya menggunakan command cdk diff untuk melihat preview perubahan sebelum melanjutkan ke tahap deployment.
Command apa yang bisa saya gunakan untuk mendiagnosis masalah pada environment?
Anda dapat menjalankan cdk doctor untuk membantu mendiagnosis masalah di dalam environment Anda.