Konfiguriere Umgebungsvoraussetzungen, initialisiere neue Python-basierte CDK-Projekte, verwalte Abhängigkeiten und deploye Infrastruktur zu AWS.
- GitHub Stars
- 41.038
- Dateien
- 1
- Letzter Commit
- 11. Nov. 2026
- Lizenz
- MIT
- Erlaubte Tools
- —
Was macht der aws-cdk-python-setup Skill?
aws-cdk-python-setup ist ein Agent Skill. Konfiguriere Umgebungsvoraussetzungen, initialisiere neue Python-basierte CDK-Projekte, verwalte Abhängigkeiten und deploye Infrastruktur zu AWS.
Zusammenfassung erzeugt aus der SKILL.md des Skills.
Über den aws-cdk-python-setup skill
Das Einrichten von Python-basierten AWS Cloud Development Kit Umgebungen ist die Hauptfunktion dieses Skills. Er unterstützt Entwickler dabei, ihre lokalen Maschinen vorzubereiten, indem notwendige Tools wie Node.js, Python, AWS CLI und Git überprüft werden. Sobald die Umgebung bereit ist, führt der Skill die Erstellung neuer CDK-Projekte, die Initialisierung von Python Virtual Environments und die Installation von Core-Libraries wie aws-cdk-lib und constructs durch.
Ein Agent sollte diesen Skill laden, wenn ein User von einem leeren Terminal zu einem funktionsfähigen Infrastructure-as-Code Projekt wechseln möchte. Er erstellt strukturierte Projektdateien wie app.py, cdk.json und requirements.txt. Der Workflow deckt den gesamten Lifecycle ab – von cdk init über das Synthetisieren von CloudFormation-Templates mit cdk synth bis hin zum finalen cdk deploy, um Stacks in ein AWS-Konto zu pushen. Er übernimmt zudem den initialen cdk bootstrap Prozess, der für die Asset-Speicherung in S3-Buckets erforderlich ist.
Was ein agent damit machen kann
- 1Ein neues CDK-Projekt initialisierenErstelle ein neues Verzeichnis und setze eine Python-basierte AWS CDK App-Struktur auf.
- 2Infrastruktur-Änderungen previewenVergleiche den aktuellen lokalen Code mit dem deployten Stack, bevor du Updates anwendest.
Geschrieben basierend auf dem SKILL.md des skills. Jeder use case wurde gegen ein zitat daraus geprüft.
So installierst du den aws-cdk-python-setup Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den aws-cdk-python-setup Skill in Claude Code installieren
~/.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setupDen aws-cdk-python-setup Skill in Claude Code (project) installieren
.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup .claude/skills/aws-cdk-python-setupDen aws-cdk-python-setup Skill in Codex installieren
~/.agents/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.agents/skills/aws-cdk-python-setupDen aws-cdk-python-setup Skill in Gemini CLI installieren
~/.gemini/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.gemini/skills/aws-cdk-python-setupDen aws-cdk-python-setup Skill in Claude.ai installieren
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
Automatisierte Checks
Geluften am 13. Nov. 2026Vollständiger Bericht →Hat unsere automatischen Prüfungen bestanden. Das ist kein Sicherheitsaudit: Lesen Sie die Skripte, bevor ein Agent sie ausführt. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbargithub/awesome-copilot/skills/aws-cdk-python-setup is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/aws-cdk-p ↗Bestanden
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Bestanden
- Keine Download-und-Ausführen-Muster oder Zugangsdatendiebstahl in SkriptenNo scripts in the skill folderBestanden
- Keine versteckten Anweisungen in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗Bestanden
- Vorab erlaubte Tools sind eingeschränktNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗Bestanden
SKILL.md
Auf GitHub ansehenAWS 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.
Dateien in diesem Skill
1aws-cdk-python-setup Skill-Fragen
Wie installiere ich den aws-cdk-python-setup Skill in Claude Code?
Führe npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setup aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den aws-cdk-python-setup Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.
Was sind die Mindestanforderungen an die Versionen für die AWS CDK Python Entwicklung?
Du benötigst Node.js Version 14.15.0 oder höher und Python Version 3.7 oder höher.
Wie bereite ich meine AWS-Umgebung auf das erste Deployment vor?
Du musst den Befehl bootstrap ausführen, um Ressourcen wie S3-Buckets für die Asset-Speicherung vorzubereiten.
Wie kann ich Änderungen vor dem Deployment zu AWS previewen?
Du solltest den Befehl cdk diff nutzen, um Änderungen einzusehen, bevor du mit dem Deployment fortfährst.
Welchen Befehl kann ich nutzen, um Probleme mit der Umgebung zu diagnostizieren?
Du kannst cdk doctor ausführen, um bei der Diagnose von Problemen in deiner Umgebung zu helfen.