환경 요구 사항을 구성하고, 새로운 Python 기반 CDK 프로젝트를 초기화하며, 의존성을 관리하고 AWS에 인프라를 배포합니다.
- GitHub 스타
- 41,038
- 파일
- 1
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
- 허용된 도구
- —
aws-cdk-python-setup skill은 무엇을 하나요?
aws-cdk-python-setup은(는) agent skill입니다. 환경 요구 사항을 구성하고, 새로운 Python 기반 CDK 프로젝트를 초기화하며, 의존성을 관리하고 AWS에 인프라를 배포합니다.
skill의 SKILL.md에서 생성된 요약입니다.
aws-cdk-python-setup skill 정보
Python 기반 AWS Cloud Development Kit 환경을 설정하는 것이 이 SKILL의 주요 기능입니다. Node.js, Python, AWS CLI, Git과 같은 필수 도구를 확인하여 개발자의 로컬 환경 준비를 지원합니다. 환경이 준비되면 새로운 CDK 프로젝트 생성, Python 가상 환경 초기화, aws-cdk-lib 및 constructs와 같은 핵심 라이브러리 설치를 안내합니다.
사용자가 빈 터미널에서 작동 가능한 Infrastructure-as-Code 프로젝트를 구축해야 할 때 에이전트가 이 SKILL을 로드해야 합니다. 이 SKILL은 app.py, cdk.json, requirements.txt를 포함한 구조화된 프로젝트 파일을 생성합니다. 워크플로우는 cdk init 실행부터 cdk synth를 통한 CloudFormation 템플릿 합성, 그리고 마지막으로 cdk deploy를 통한 AWS 계정 스택 배포까지 전체 라이프사이클을 다룹니다. 또한 S3 버킷에 에셋을 저장하는 데 필요한 초기 cdk bootstrap 프로세스도 처리합니다.
agent가 수행할 수 있는 작업
- 1새로운 CDK 프로젝트 초기화새 디렉토리를 생성하고 Python 기반 AWS CDK 애플리케이션 구조를 설정합니다.
- 2인프라 변경 사항 미리보기업데이트를 적용하기 전에 현재 로컬 코드와 배포된 스택을 비교합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
aws-cdk-python-setup skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 aws-cdk-python-setup skill 설치
~/.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setupClaude Code (project)에 aws-cdk-python-setup skill 설치
.claude/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup .claude/skills/aws-cdk-python-setupCodex에 aws-cdk-python-setup skill 설치
~/.agents/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.agents/skills/aws-cdk-python-setupGemini CLI에 aws-cdk-python-setup skill 설치
~/.gemini/skills/aws-cdk-python-setup/SKILL.md
$ npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.gemini/skills/aws-cdk-python-setupClaude.ai에 aws-cdk-python-setup skill 설치
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
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식
- 소스 저장소 연결 및 접근 가능github/awesome-copilot/skills/aws-cdk-python-setup is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/aws-cdk-p ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/github/awesome-copilot/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/aws-cdk-p ↗통과
SKILL.md
GitHub에서 보기AWS 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.
이 스킬의 파일
1aws-cdk-python-setup skill 질문
Claude Code에 aws-cdk-python-setup skill을 어떻게 설치하나요?
npx degit github/awesome-copilot/skills/aws-cdk-python-setup ~/.claude/skills/aws-cdk-python-setup를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
aws-cdk-python-setup skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
AWS CDK Python 개발을 위한 최소 버전 요구 사항은 무엇인가요?
Node.js 버전 14.15.0 이상과 Python 버전 3.7 이상이 필요합니다.
첫 배포를 위해 AWS 환경을 어떻게 준비하나요?
에셋 저장을 위한 S3 버킷 등의 리소스를 준비하려면 bootstrap 명령어를 실행해야 합니다.
AWS에 배포하기 전에 변경 사항을 미리 확인할 수 있나요?
배포를 진행하기 전에 cdk diff 명령어를 사용하여 변경 사항을 미리 확인할 수 있습니다.
환경 문제를 진단하려면 어떤 명령어를 사용해야 하나요?
cdk doctor를 실행하여 환경 내 문제를 진단할 수 있습니다.