virtual-environment
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.
Best use case
virtual-environment is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 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.
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.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "virtual-environment" skill to help with this workflow task. Context: 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.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/virtual-environment/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How virtual-environment Compares
| Feature / Agent | virtual-environment | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Virtual Environment Management 가상환경이 필요한 프로젝트에서 환경을 체크하고 생성하는 스킬입니다. ## When This Skill Activates 다음 파일 발견 시 가상환경 필요 여부 체크: | 파일 | 프로젝트 유형 | 가상환경 | |------|-------------|----------| | `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 | 모듈 시스템 (자동) | ## Detection Workflow ### 1. 프로젝트 유형 감지 ```bash # 프로젝트 루트에서 실행 ls -la | grep -E "requirements|pyproject|Pipfile|package\.json|Gemfile|go\.mod" ``` ### 2. 가상환경 존재 확인 ```bash # 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 Projects ### venv (표준 라이브러리) ```bash # 가상환경 생성 python -m venv .venv # 활성화 (macOS/Linux) source .venv/bin/activate # 활성화 (Windows) .venv\Scripts\activate # 의존성 설치 pip install -r requirements.txt # 비활성화 deactivate ``` ### Poetry (권장) ```bash # Poetry 설치 확인 poetry --version # 가상환경 자동 생성 + 의존성 설치 poetry install # 가상환경 내에서 실행 poetry run python script.py # 쉘 진입 poetry shell ``` ### Pipenv ```bash # 가상환경 생성 + 의존성 설치 pipenv install # 가상환경 쉘 진입 pipenv shell # 가상환경 내에서 실행 pipenv run python script.py ``` ### Conda ```bash # 환경 생성 conda create -n myenv python=3.11 # 활성화 conda activate myenv # 의존성 설치 conda install --file requirements.txt # 또는 pip install -r requirements.txt ``` ## Node.js Projects ```bash # 의존성 설치 (node_modules 자동 생성) npm install # 또는 yarn install # 또는 pnpm install # 확인 ls node_modules ``` ## Workflow: 프로젝트 시작 시 ### Python 프로젝트 ``` 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 ``` ### Node.js 프로젝트 ``` 1. package.json 확인 cat package.json | head -20 2. node_modules 확인 ls node_modules 2>/dev/null 3. 없으면 설치 npm install ``` ## Naming Conventions | 이름 | 권장 | 비고 | |------|------|------| | `.venv` | ✅ 권장 | 숨김 폴더, 일반적 | | `venv` | ✅ 허용 | 명시적 | | `.env` | ⚠️ 주의 | 환경변수 파일과 혼동 | | `env` | ⚠️ 주의 | 너무 일반적 | ## .gitignore 설정 ```gitignore # Python virtual environments .venv/ venv/ env/ .env/ # Node node_modules/ # Python cache __pycache__/ *.pyc .pytest_cache/ # IDE .idea/ .vscode/ ``` ## Quick Reference ### Python 프로젝트 시작 ```bash # 1. 가상환경 체크 및 생성 [ -d ".venv" ] || python -m venv .venv # 2. 활성화 source .venv/bin/activate # 3. 의존성 설치 pip install -r requirements.txt ``` ### Node.js 프로젝트 시작 ```bash # 1. node_modules 체크 및 설치 [ -d "node_modules" ] || npm install ``` ## Troubleshooting | 문제 | 해결 | |------|------| | `python: command not found` | Python 설치 또는 PATH 확인 | | `pip: command not found` | 가상환경 활성화 확인 | | Permission denied | `sudo` 사용 금지, venv 재생성 | | 패키지 충돌 | 가상환경 삭제 후 재생성 | | node_modules 오류 | `rm -rf node_modules && npm install` | ## Checklist 프로젝트 시작 전: - [ ] 프로젝트 유형 확인 (Python/Node/etc.) - [ ] 가상환경 존재 여부 확인 - [ ] 없으면 생성 - [ ] 활성화 (Python) - [ ] 의존성 설치 - [ ] .gitignore에 가상환경 폴더 포함 확인
Related Skills
system-environment-setup
Configure development and production environments for consistent and reproducible setups. Use when setting up new projects, Docker environments, or development tooling. Handles Docker Compose, .env configuration, dev containers, and infrastructure as code.
environment-setup
Configure and manage development, staging, and production environments. Use when setting up environment variables, managing configurations, or separating environments. Handles .env files, config management, and environment-specific settings.
environment-setup-guide
Guide developers through setting up development environments with proper tools, dependencies, and configurations
virtual-machine-management
Create, manage, and optimize virtual machines in Proxmox. Control VM lifecycle, monitor performance, adjust resources, and plan VM deployment strategies.
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.
project-to-obsidian
将代码项目转换为 Obsidian 知识库。当用户提到 obsidian、项目文档、知识库、分析项目、转换项目 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入规则(默认到 00_Inbox/AI/、追加式、统一 Schema) 3. 执行 STEP 0: 使用 AskUserQuestion 询问用户确认 4. 用户确认后才开始 STEP 1 项目扫描 5. 严格按 STEP 0 → 1 → 2 → 3 → 4 顺序执行 【禁止行为】: - 禁止不读 SKILL.md 就开始分析项目 - 禁止跳过 STEP 0 用户确认 - 禁止直接在 30_Resources 创建(先到 00_Inbox/AI/) - 禁止自作主张决定输出位置
obsidian-helper
Obsidian 智能笔记助手。当用户提到 obsidian、日记、笔记、知识库、capture、review 时激活。 【激活后必须执行】: 1. 先完整阅读本 SKILL.md 文件 2. 理解 AI 写入三条硬规矩(00_Inbox/AI/、追加式、白名单字段) 3. 按 STEP 0 → STEP 1 → ... 顺序执行 4. 不要跳过任何步骤,不要自作主张 【禁止行为】: - 禁止不读 SKILL.md 就开始工作 - 禁止跳过用户确认步骤 - 禁止在非 00_Inbox/AI/ 位置创建新笔记(除非用户明确指定)
internationalizing-websites
Adds multi-language support to Next.js websites with proper SEO configuration including hreflang tags, localized sitemaps, and language-specific content. Use when adding new languages, setting up i18n, optimizing for international SEO, or when user mentions localization, translation, multi-language, or specific languages like Japanese, Korean, Chinese.