Skip to main content

python-uv-cli

UV command-line usage patterns for Python project management

설치로 이동

소스 정보

저장소
jr2804/mcp-config-converter
최근 소스 활동
2026년 1월 21일 23:55
감지된 SKILL.md 언어
영어
스타
4
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
python-uv-cli
description
UV command-line usage patterns for Python project management
license
MIT
compatibility
opencode
metadata
{"related_uv_mcp":"For uv MCP automation tools, use skill `uv-mcp`","related_python_guidelines":"For general Python development standards, use skill `python-guidelines`"}
# Python UV CLI ## What I Do Provide UV command-line patterns for Python project management. Use UV instead of virtualenv, venv, or pip directly. ## Core Commands ### Environment Management ```bash # Create and sync virtual environment uv sync --all-extras -U # Sync with all optional deps, update all uv sync # Sync dependencies # Run Python scripts uv run python script.py # Run script in isolated environment uv run python -c"code" # Run inline Python code uv run pytest -v # Run tests uv run --help # Show uv run options ``` ### Dependency Management ```bash # Add dependencies uv add package-name # Production dependency uv add package-name --dev # Development dependency (pytest, ruff, etc.) # Remove dependencies uv remove package-name # Remove production dependency uv remove package-name --dev # Remove development dependency # Build and distribute uv build # Create wheel and sdist ``` ## When to Use Me Use this skill when: - Running Python scripts or tests - Managing project dependencies - Setting up development environments - Building and distributing packages ## Key Rules 1. **Never use pip directly** - Always use UV commands instead 2. **Use `--dev` for dev dependencies** - pytest, ruff, ty, etc. 3. **Always use `uv run`** - Never invoke python directly from .venv 4. **Use `uv sync --all-extras -U`** - Full dependency update
GitHub에서 보기