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.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- virtual-environment
- license
- MIT
- metadata
- { "author": "antigravity-team", "version": "1.0" }
- description
- 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.
- allowed-tools
- Read, Glob, Grep, Bash
02 资源文件 1
- 参考文档skill-report.json45.7 KB
03 SKILL.md 正文
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. 프로젝트 유형 감지
# 프로젝트 루트에서 실행
ls -la | grep -E "requirements|pyproject|Pipfile|package\.json|Gemfile|go\.mod"
2. 가상환경 존재 확인
# 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 (표준 라이브러리)
# 가상환경 생성
python -m venv .venv
# 활성화 (macOS/Linux)
source .venv/bin/activate
# 활성화 (Windows)
.venv\Scripts\activate
# 의존성 설치
pip install -r requirements.txt
# 비활성화
deactivate
Poetry (권장)
# Poetry 설치 확인
poetry --version
# 가상환경 자동 생성 + 의존성 설치
poetry install
# 가상환경 내에서 실행
poetry run python script.py
# 쉘 진입
poetry shell
Pipenv
# 가상환경 생성 + 의존성 설치
pipenv install
# 가상환경 쉘 진입
pipenv shell
# 가상환경 내에서 실행
pipenv run python script.py
Conda
# 환경 생성
conda create -n myenv python=3.11
# 활성화
conda activate myenv
# 의존성 설치
conda install --file requirements.txt
# 또는
pip install -r requirements.txt
Node.js Projects
# 의존성 설치 (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 설정
# Python virtual environments
.venv/
venv/
env/
.env/
# Node
node_modules/
# Python cache
__pycache__/
*.pyc
.pytest_cache/
# IDE
.idea/
.vscode/
Quick Reference
Python 프로젝트 시작
# 1. 가상환경 체크 및 생성
[ -d ".venv" ] || python -m venv .venv
# 2. 활성화
source .venv/bin/activate
# 3. 의존성 설치
pip install -r requirements.txt
Node.js 프로젝트 시작
# 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에 가상환경 폴더 포함 확인
04 同仓库更多 Skills
serpmaven
Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.
revnu-landing-page-audit
Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: "audit my landing page", "why isn't this page converting", "review my homepage", "my ads get clicks but no signups", "people bounce from the pricing page", "CRO review", "improve conversion rate", "is my hero section clear", "roast my landing page", "rewrite my headline", "what's wrong with this page", "landing page feedback", "make the signup page convert better". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.
revnu-growth-context
Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents/revnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says "set up our marketing context", "who is our ideal customer", "write our ICP", "describe the product for marketing", "positioning doc", "what's our brand voice", "remember this about our customers", "log what we tried", "what have we learned from marketing", "we changed pricing, update the context", "update our growth notes", "summarize the business for the agent", "import my product-marketing.md", "start a growth doc", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.
revnu-get-listed
Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: "best X" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says "get us listed", "which directories should we submit to", "how do we get into best-of lists", "why does ChatGPT recommend competitors and not us", "get mentioned in AI answers", "submit to awesome lists", "get on G2", "where are our competitors listed", "pitch listicle authors", "find backlink opportunities", "launch directories", "get into roundups", "Product Hunt alternatives", "where should we be listed", "get cited by Perplexity". Never submits, pays or posts without a yes. Works without a Revnu account.
revnu-ai-readiness-audit
Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks "is my site ready for AI search", "audit my site for AI answers", "AEO audit", "GEO audit", "why doesn't ChatGPT quote our pricing", "make our pages citable by AI", "do I need llms.txt", "does schema help with ChatGPT", "check our structured data", "is our content visible without JavaScript", "AI SEO audit", "optimize our homepage for AI answers", "LLM SEO check", "why does AI get our product wrong", "fix our site for AI Overviews". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.
proxy-troubleshooting
Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.