skills/doyajin174/virtual-environment/SKILL.md
Check and create virtual environments for projects that need them. Use when starting Python/Node projects, or when dependency isolation is needed. Activates for Python, Node.js, and similar ecosystems.
npx skillsauth add aiskillstore/marketplace virtual-environmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
가상환경이 필요한 프로젝트에서 환경을 체크하고 생성하는 스킬입니다.
다음 파일 발견 시 가상환경 필요 여부 체크:
| 파일 | 프로젝트 유형 | 가상환경 |
|------|-------------|----------|
| requirements.txt | Python | venv/virtualenv |
| pyproject.toml | Python (Poetry/PDM) | Poetry/PDM 내장 |
| Pipfile | Python (Pipenv) | Pipenv 내장 |
| setup.py | Python 패키지 | venv |
| package.json | Node.js | node_modules (자동) |
| Gemfile | Ruby | bundler |
| go.mod | Go | 모듈 시스템 (자동) |
# 프로젝트 루트에서 실행
ls -la | grep -E "requirements|pyproject|Pipfile|package\.json|Gemfile|go\.mod"
# Python venv 확인
ls -la | grep -E "^d.*(venv|\.venv|env|\.env)$"
# Python - 활성화 여부
echo $VIRTUAL_ENV
# Node - node_modules 확인
ls -d node_modules 2>/dev/null
# 가상환경 생성
python -m venv .venv
# 활성화 (macOS/Linux)
source .venv/bin/activate
# 활성화 (Windows)
.venv\Scripts\activate
# 의존성 설치
pip install -r requirements.txt
# 비활성화
deactivate
# Poetry 설치 확인
poetry --version
# 가상환경 자동 생성 + 의존성 설치
poetry install
# 가상환경 내에서 실행
poetry run python script.py
# 쉘 진입
poetry shell
# 가상환경 생성 + 의존성 설치
pipenv install
# 가상환경 쉘 진입
pipenv shell
# 가상환경 내에서 실행
pipenv run python script.py
# 환경 생성
conda create -n myenv python=3.11
# 활성화
conda activate myenv
# 의존성 설치
conda install --file requirements.txt
# 또는
pip install -r requirements.txt
# 의존성 설치 (node_modules 자동 생성)
npm install
# 또는
yarn install
# 또는
pnpm install
# 확인
ls node_modules
1. 프로젝트 유형 확인
- pyproject.toml → Poetry/PDM
- Pipfile → Pipenv
- requirements.txt → venv
2. 가상환경 존재 확인
ls -la | grep -E "venv|\.venv"
3. 없으면 생성
python -m venv .venv
4. 활성화 + 의존성 설치
source .venv/bin/activate
pip install -r requirements.txt
1. package.json 확인
cat package.json | head -20
2. node_modules 확인
ls node_modules 2>/dev/null
3. 없으면 설치
npm install
| 이름 | 권장 | 비고 |
|------|------|------|
| .venv | ✅ 권장 | 숨김 폴더, 일반적 |
| venv | ✅ 허용 | 명시적 |
| .env | ⚠️ 주의 | 환경변수 파일과 혼동 |
| env | ⚠️ 주의 | 너무 일반적 |
# Python virtual environments
.venv/
venv/
env/
.env/
# Node
node_modules/
# Python cache
__pycache__/
*.pyc
.pytest_cache/
# IDE
.idea/
.vscode/
# 1. 가상환경 체크 및 생성
[ -d ".venv" ] || python -m venv .venv
# 2. 활성화
source .venv/bin/activate
# 3. 의존성 설치
pip install -r requirements.txt
# 1. node_modules 체크 및 설치
[ -d "node_modules" ] || npm install
| 문제 | 해결 |
|------|------|
| python: command not found | Python 설치 또는 PATH 확인 |
| pip: command not found | 가상환경 활성화 확인 |
| Permission denied | sudo 사용 금지, venv 재생성 |
| 패키지 충돌 | 가상환경 삭제 후 재생성 |
| node_modules 오류 | rm -rf node_modules && npm install |
프로젝트 시작 전:
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.