[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70FSTPARCQHVJWDCZVKNE2W":3,"skill-same:01M70FSTPARCQHVJWDCZVKNE2W":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M70FSTPARCQHVJWDCZVKNE2W","uv",null,"Expert Python package management with uv - fast dependency management, virtual environments, and modern Python project workflows. Use when setting up Python projects, managing dependencies, or optimizing Python development workflows with uv.","shengdabai\u002FTony-Claude-Code-Skills","shengdabai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F116417419?v=4","01M70F6D2WY5PQV5A92BKYJQEW","Tony Sheng","01M70F6D3GAAAYZ5H4CC1G8VXM",3,"MIT","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"environments","use","package","python","python package management","dependency management","python development","development","package management","virtual","development workflows","dependency","when","workflows","up","expert","project","projects","python project","2026-11-10 10:12:30",false,"---\nname: uv\ndescription: Expert Python package management with uv - fast dependency management, virtual environments, and modern Python project workflows. Use when setting up Python projects, managing dependencies, or optimizing Python development workflows with uv.\n---\n\n# UV: Ultra-Fast Python Package Manager\n\nExpert guidance for uv, the extremely fast Python package and project manager written in Rust.\n\n## When to Use This Skill\n\nActivate this skill when working with:\n- **Project initialization** - Creating new Python projects with `uv init`\n- **Dependency management** - Adding, removing, or updating Python packages\n- **Virtual environments** - Creating and managing isolated Python environments\n- **Python version management** - Installing and switching Python versions\n- **Package building** - Building distributions for PyPI\n- **CI\u002FCD workflows** - Optimizing GitHub Actions, GitLab CI, Docker builds\n- **Migration from pip** - Moving from pip\u002Fpip-tools\u002Fpoetry to uv\n- **Performance optimization** - Leveraging uv's speed for faster installs\n\n## Quick Reference\n\n### Project Initialization\n\n**Create a new application:**\n```bash\n$ uv init my-app\n$ cd my-app\n$ tree .\n.\n├── .python-version\n├── README.md\n├── main.py\n└── pyproject.toml\n```\n\n**Create a packaged application (with CLI):**\n```bash\n$ uv init --package my-cli\n# Creates src\u002F layout with entry point\n```\n\n**Create a library:**\n```bash\n$ uv init --lib my-library\n# Creates src\u002F layout with py.typed marker\n```\n\n### Dependency Management\n\n**Add dependencies:**\n```bash\n$ uv add requests pandas numpy\n$ uv add --dev pytest black ruff  # Development dependencies\n$ uv add \"flask>=2.0.0\"            # Version constraints\n```\n\n**Remove dependencies:**\n```bash\n$ uv remove requests\n$ uv remove --dev pytest\n```\n\n**Update dependencies:**\n```bash\n$ uv sync              # Sync environment with lockfile\n$ uv lock --upgrade    # Update lockfile with latest versions\n```\n\n### Running Code\n\n**Run Python files:**\n```bash\n$ uv run main.py\n$ uv run python script.py\n```\n\n**Run inline scripts with dependencies:**\n```python\n# \u002F\u002F\u002F script\n# requires-python = \">=3.12\"\n# dependencies = [\n#   \"pandas\",\n#   \"requests\",\n# ]\n# \u002F\u002F\u002F\n\nimport pandas as pd\nimport requests\n\n# Your code here\n```\n\n```bash\n$ uv run script.py  # Automatically manages dependencies!\n```\n\n### Virtual Environments\n\n**Create a virtual environment:**\n```bash\n$ uv venv\n$ uv venv .venv --python 3.12\n```\n\n**Using pip-compatible interface:**\n```bash\n$ uv pip install requests\n$ uv pip install -r requirements.txt\n$ uv pip freeze > requirements.txt\n$ uv pip list\n```\n\n### Python Version Management\n\n**Install Python versions:**\n```bash\n$ uv python install 3.12\n$ uv python install 3.11 3.10  # Multiple versions\n```\n\n**List installed versions:**\n```bash\n$ uv python list\n```\n\n**Pin project Python version:**\n```bash\n$ uv python pin 3.12\n# Creates .python-version file\n```\n\n### Tools Management\n\n**Install and run tools:**\n```bash\n$ uv tool install ruff\n$ uv tool install black mypy\n\n$ uvx ruff check .     # Run without installing\n$ uvx pytest           # Run tools in isolated environments\n```\n\n### Building and Publishing\n\n**Build package:**\n```bash\n$ uv build\n# Creates dist\u002F with .whl and .tar.gz\n```\n\n**Publish to PyPI:**\n```bash\n$ uv publish\n$ uv publish --token $PYPI_TOKEN\n```\n\n### Configuration\n\n**Project config (pyproject.toml):**\n```toml\n[project]\nname = \"my-app\"\nversion = \"0.1.0\"\ndescription = \"My application\"\nreadme = \"README.md\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"requests>=2.31.0\",\n    \"pandas>=2.0.0\",\n]\n\n[project.optional-dependencies]\ndev = [\n    \"pytest>=7.0.0\",\n    \"black>=23.0.0\",\n]\n\n[dependency-groups]\ndev = [\n    \"ruff>=0.1.0\",\n]\n\n[tool.uv.sources]\n# Use alternative package indexes\nmy-package = { index = \"private-pypi\" }\n```\n\n**Global config (uv.toml or pyproject.toml):**\n```toml\n[tool.uv]\n# Disable managed project environment\nmanaged = false\n\n# Configure package indexes\n[[tool.uv.index]]\nname = \"pytorch\"\nurl = \"https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu118\"\n```\n\n## Common Workflows\n\n### Workflow 1: Starting a New Project\n\n```bash\n# Create project\n$ uv init my-project\n$ cd my-project\n\n# Add dependencies\n$ uv add fastapi uvicorn sqlalchemy\n\n# Add dev dependencies\n$ uv add --dev pytest black ruff\n\n# Run the app\n$ uv run python main.py\n```\n\n### Workflow 2: Migrating from pip\u002Frequirements.txt\n\n```bash\n# Create uv project from existing code\n$ uv init --no-package\n\n# Import existing requirements\n$ uv add -r requirements.txt\n\n# Lock dependencies\n$ uv lock\n\n# Sync environment\n$ uv sync\n```\n\n### Workflow 3: Docker Integration\n\n```dockerfile\nFROM python:3.12-slim\n\n# Install uv\nCOPY --from=ghcr.io\u002Fastral-sh\u002Fuv:latest \u002Fuv \u002Fbin\u002Fuv\n\n# Copy project files\nWORKDIR \u002Fapp\nCOPY pyproject.toml uv.lock .\u002F\nCOPY src .\u002Fsrc\n\n# Install dependencies\nRUN uv sync --frozen --no-cache\n\n# Run application\nCMD [\"uv\", \"run\", \"python\", \"-m\", \"myapp\"]\n```\n\n### Workflow 4: GitHub Actions CI\u002FCD\n\n```yaml\nname: CI\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install uv\n        uses: astral-sh\u002Fsetup-uv@v3\n\n      - name: Set up Python\n        run: uv python install 3.12\n\n      - name: Install dependencies\n        run: uv sync --all-extras --dev\n\n      - name: Run tests\n        run: uv run pytest\n```\n\n### Workflow 5: Working with Scripts\n\n```bash\n# Create standalone script with dependencies\n$ cat > analyze.py \u003C\u003C 'EOF'\n# \u002F\u002F\u002F script\n# requires-python = \">=3.11\"\n# dependencies = [\n#   \"pandas\",\n#   \"matplotlib\",\n# ]\n# \u002F\u002F\u002F\n\nimport pandas as pd\nimport matplotlib.pyplot as plt\n\ndf = pd.read_csv(\"data.csv\")\nprint(df.describe())\nEOF\n\n# Run with automatic dependency management\n$ uv run analyze.py\n```\n\n## Key Concepts\n\n### 1. **Projects**\n- Self-contained Python applications with `pyproject.toml`\n- Automatic dependency locking with `uv.lock`\n- Environment management with `uv sync`\n\n### 2. **Workspaces**\n- Monorepo support for multiple related packages\n- Shared dependency resolution\n- Defined in root `pyproject.toml`\n\n### 3. **Resolution**\n- Fast dependency resolver written in Rust\n- Platform-specific resolution\n- Supports complex version constraints\n\n### 4. **Cache**\n- Global package cache at `~\u002F.cache\u002Fuv\u002F` (Linux\u002FmacOS)\n- Deduplication across projects\n- Use `uv cache clean` to clear\n\n### 5. **Python Versions**\n- Automatic Python installation and management\n- `.python-version` file for project pinning\n- Multiple versions side-by-side\n\n## Performance Tips\n\n1. **Use `uv sync --frozen`** in CI to skip lockfile updates\n2. **Leverage the cache** - don't use `--no-cache` unless necessary\n3. **Use `uvx` for tools** instead of installing globally\n4. **Pin Python versions** with `.python-version` for reproducibility\n5. **Use workspaces** for monorepos to share dependencies\n\n## Integration Guides\n\n### PyTorch with CUDA\n```bash\n$ uv init pytorch-project\n$ uv add torch --index pytorch --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu118\n```\n\n### Jupyter Notebooks\n```bash\n$ uv add jupyter ipykernel\n$ uv run jupyter notebook\n```\n\n### Pre-commit Hooks\n```yaml\n# .pre-commit-config.yaml\nrepos:\n  - repo: https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv-pre-commit\n    rev: 0.5.0\n    hooks:\n      - id: uv-lock\n```\n\n### FastAPI Development\n```bash\n$ uv init --package my-api\n$ uv add fastapi uvicorn[standard]\n$ uv add --dev pytest httpx\n$ uv run uvicorn myapi.main:app --reload\n```\n\n## Reference Files\n\nComprehensive documentation in `references\u002F`:\n\n- **uv.md** - Complete UV documentation (63 pages)\n  - CLI reference for all commands\n  - Detailed guides for projects, packages, and tools\n  - Integration examples (Docker, GitHub, Jupyter, etc.)\n  - Advanced topics (authentication, indexes, build backends)\n\n## Troubleshooting\n\n### Common Issues\n\n**Issue: \"No solution found\"**\n- Check version constraints in `pyproject.toml`\n- Try `uv lock --upgrade` to get latest compatible versions\n- Use `uv tree` to inspect dependency conflicts\n\n**Issue: \"Python version not found\"**\n- Install with `uv python install 3.12`\n- Check `.python-version` file\n- Verify `requires-python` in `pyproject.toml`\n\n**Issue: \"Package not found\"**\n- Verify package name spelling\n- Check if package requires alternative index\n- Use `--index-url` for custom indexes\n\n## Migration Guide\n\n### From tool.uv.dev-dependencies (Deprecated)\n\n**IMPORTANT**: The `tool.uv.dev-dependencies` field is deprecated and will be removed in a future release. Use `[dependency-groups]` instead (PEP 735).\n\n```toml\n# ❌ Old (deprecated)\n[tool.uv]\ndev-dependencies = [\n    \"pytest>=7.0.0\",\n    \"ruff>=0.1.0\",\n]\n\n# ✅ New (correct)\n[dependency-groups]\ndev = [\n    \"pytest>=7.0.0\",\n    \"ruff>=0.1.0\",\n]\n```\n\nWhen you run `uv add --dev pytest`, it will automatically use the new `[dependency-groups]` format for new projects.\n\n### From pip + requirements.txt\n\n```bash\n# Before: pip install -r requirements.txt\n# After:\n$ uv init --no-package\n$ uv add -r requirements.txt\n$ uv sync\n```\n\n### From Poetry\n\n```bash\n# Before: poetry install\n# After:\n$ uv init --no-package\n$ uv add $(poetry show --only main | awk '{print $1}')\n$ uv sync\n```\n\n### From Pipenv\n\n```bash\n# Before: pipenv install\n# After:\n$ uv init --no-package\n$ uv add $(pipenv requirements | grep -v \"^#\" | grep -v \"^$\")\n$ uv sync\n```\n\n## Best Practices\n\n1. **Always commit `uv.lock`** for reproducible builds\n2. **Use `pyproject.toml`** instead of `requirements.txt`\n3. **Pin Python version** with `.python-version`\n4. **Separate dev dependencies** with `--dev` flag\n5. **Use workspaces** for monorepos\n6. **Leverage `uvx`** for one-off tool execution\n7. **Configure indexes** in `pyproject.toml` for consistency\n\n## Resources\n\n- **Official Docs**: https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\n- **Installation**: `curl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002Finstall.sh | sh`\n\n## Notes\n\n- This skill was generated from official UV documentation (v0.5.0+)\n- All code examples are tested and production-ready\n- UV is actively developed - check docs for latest features\n- UV is 10-100x faster than pip for most operations\n","# UV: Ultra-Fast Python Package Manager\n\nExpert guidance for uv, the extremely fast Python package and project manager written in Rust.\n\n## When to Use This Skill\n\nActivate this skill when working with:\n- **Project initialization** - Creating new Python projects with `uv init`\n- **Dependency management** - Adding, removing, or updating Python packages\n- **Virtual environments** - Creating and managing isolated Python environments\n- **Python version management** - Installing and switching Python versions\n- **Package building** - Building distributions for PyPI\n- **CI\u002FCD workflows** - Optimizing GitHub Actions, GitLab CI, Docker builds\n- **Migration from pip** - Moving from pip\u002Fpip-tools\u002Fpoetry to uv\n- **Performance optimization** - Leveraging uv's speed for faster installs\n\n## Quick Reference\n\n### Project Initialization\n\n**Create a new application:**\n```bash\n$ uv init my-app\n$ cd my-app\n$ tree .\n.\n├── .python-version\n├── README.md\n├── main.py\n└── pyproject.toml\n```\n\n**Create a packaged application (with CLI):**\n```bash\n$ uv init --package my-cli\n# Creates src\u002F layout with entry point\n```\n\n**Create a library:**\n```bash\n$ uv init --lib my-library\n# Creates src\u002F layout with py.typed marker\n```\n\n### Dependency Management\n\n**Add dependencies:**\n```bash\n$ uv add requests pandas numpy\n$ uv add --dev pytest black ruff  # Development dependencies\n$ uv add \"flask>=2.0.0\"            # Version constraints\n```\n\n**Remove dependencies:**\n```bash\n$ uv remove requests\n$ uv remove --dev pytest\n```\n\n**Update dependencies:**\n```bash\n$ uv sync              # Sync environment with lockfile\n$ uv lock --upgrade    # Update lockfile with latest versions\n```\n\n### Running Code\n\n**Run Python files:**\n```bash\n$ uv run main.py\n$ uv run python script.py\n```\n\n**Run inline scripts with dependencies:**\n```python\n# \u002F\u002F\u002F script\n# requires-python = \">=3.12\"\n# dependencies = [\n#   \"pandas\",\n#   \"requests\",\n# ]\n# \u002F\u002F\u002F\n\nimport pandas as pd\nimport requests\n\n# Your code here\n```\n\n```bash\n$ uv run script.py  # Automatically manages dependencies!\n```\n\n### Virtual Environments\n\n**Create a virtual environment:**\n```bash\n$ uv venv\n$ uv venv .venv --python 3.12\n```\n\n**Using pip-compatible interface:**\n```bash\n$ uv pip install requests\n$ uv pip install -r requirements.txt\n$ uv pip freeze > requirements.txt\n$ uv pip list\n```\n\n### Python Version Management\n\n**Install Python versions:**\n```bash\n$ uv python install 3.12\n$ uv python install 3.11 3.10  # Multiple versions\n```\n\n**List installed versions:**\n```bash\n$ uv python list\n```\n\n**Pin project Python version:**\n```bash\n$ uv python pin 3.12\n# Creates .python-version file\n```\n\n### Tools Management\n\n**Install and run tools:**\n```bash\n$ uv tool install ruff\n$ uv tool install black mypy\n\n$ uvx ruff check .     # Run without installing\n$ uvx pytest           # Run tools in isolated environments\n```\n\n### Building and Publishing\n\n**Build package:**\n```bash\n$ uv build\n# Creates dist\u002F with .whl and .tar.gz\n```\n\n**Publish to PyPI:**\n```bash\n$ uv publish\n$ uv publish --token $PYPI_TOKEN\n```\n\n### Configuration\n\n**Project config (pyproject.toml):**\n```toml\n[project]\nname = \"my-app\"\nversion = \"0.1.0\"\ndescription = \"My application\"\nreadme = \"README.md\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"requests>=2.31.0\",\n    \"pandas>=2.0.0\",\n]\n\n[project.optional-dependencies]\ndev = [\n    \"pytest>=7.0.0\",\n    \"black>=23.0.0\",\n]\n\n[dependency-groups]\ndev = [\n    \"ruff>=0.1.0\",\n]\n\n[tool.uv.sources]\n# Use alternative package indexes\nmy-package = { index = \"private-pypi\" }\n```\n\n**Global config (uv.toml or pyproject.toml):**\n```toml\n[tool.uv]\n# Disable managed project environment\nmanaged = false\n\n# Configure package indexes\n[[tool.uv.index]]\nname = \"pytorch\"\nurl = \"https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu118\"\n```\n\n## Common Workflows\n\n### Workflow 1: Starting a New Project\n\n```bash\n# Create project\n$ uv init my-project\n$ cd my-project\n\n# Add dependencies\n$ uv add fastapi uvicorn sqlalchemy\n\n# Add dev dependencies\n$ uv add --dev pytest black ruff\n\n# Run the app\n$ uv run python main.py\n```\n\n### Workflow 2: Migrating from pip\u002Frequirements.txt\n\n```bash\n# Create uv project from existing code\n$ uv init --no-package\n\n# Import existing requirements\n$ uv add -r requirements.txt\n\n# Lock dependencies\n$ uv lock\n\n# Sync environment\n$ uv sync\n```\n\n### Workflow 3: Docker Integration\n\n```dockerfile\nFROM python:3.12-slim\n\n# Install uv\nCOPY --from=ghcr.io\u002Fastral-sh\u002Fuv:latest \u002Fuv \u002Fbin\u002Fuv\n\n# Copy project files\nWORKDIR \u002Fapp\nCOPY pyproject.toml uv.lock .\u002F\nCOPY src .\u002Fsrc\n\n# Install dependencies\nRUN uv sync --frozen --no-cache\n\n# Run application\nCMD [\"uv\", \"run\", \"python\", \"-m\", \"myapp\"]\n```\n\n### Workflow 4: GitHub Actions CI\u002FCD\n\n```yaml\nname: CI\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install uv\n        uses: astral-sh\u002Fsetup-uv@v3\n\n      - name: Set up Python\n        run: uv python install 3.12\n\n      - name: Install dependencies\n        run: uv sync --all-extras --dev\n\n      - name: Run tests\n        run: uv run pytest\n```\n\n### Workflow 5: Working with Scripts\n\n```bash\n# Create standalone script with dependencies\n$ cat > analyze.py \u003C\u003C 'EOF'\n# \u002F\u002F\u002F script\n# requires-python = \">=3.11\"\n# dependencies = [\n#   \"pandas\",\n#   \"matplotlib\",\n# ]\n# \u002F\u002F\u002F\n\nimport pandas as pd\nimport matplotlib.pyplot as plt\n\ndf = pd.read_csv(\"data.csv\")\nprint(df.describe())\nEOF\n\n# Run with automatic dependency management\n$ uv run analyze.py\n```\n\n## Key Concepts\n\n### 1. **Projects**\n- Self-contained Python applications with `pyproject.toml`\n- Automatic dependency locking with `uv.lock`\n- Environment management with `uv sync`\n\n### 2. **Workspaces**\n- Monorepo support for multiple related packages\n- Shared dependency resolution\n- Defined in root `pyproject.toml`\n\n### 3. **Resolution**\n- Fast dependency resolver written in Rust\n- Platform-specific resolution\n- Supports complex version constraints\n\n### 4. **Cache**\n- Global package cache at `~\u002F.cache\u002Fuv\u002F` (Linux\u002FmacOS)\n- Deduplication across projects\n- Use `uv cache clean` to clear\n\n### 5. **Python Versions**\n- Automatic Python installation and management\n- `.python-version` file for project pinning\n- Multiple versions side-by-side\n\n## Performance Tips\n\n1. **Use `uv sync --frozen`** in CI to skip lockfile updates\n2. **Leverage the cache** - don't use `--no-cache` unless necessary\n3. **Use `uvx` for tools** instead of installing globally\n4. **Pin Python versions** with `.python-version` for reproducibility\n5. **Use workspaces** for monorepos to share dependencies\n\n## Integration Guides\n\n### PyTorch with CUDA\n```bash\n$ uv init pytorch-project\n$ uv add torch --index pytorch --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu118\n```\n\n### Jupyter Notebooks\n```bash\n$ uv add jupyter ipykernel\n$ uv run jupyter notebook\n```\n\n### Pre-commit Hooks\n```yaml\n# .pre-commit-config.yaml\nrepos:\n  - repo: https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv-pre-commit\n    rev: 0.5.0\n    hooks:\n      - id: uv-lock\n```\n\n### FastAPI Development\n```bash\n$ uv init --package my-api\n$ uv add fastapi uvicorn[standard]\n$ uv add --dev pytest httpx\n$ uv run uvicorn myapi.main:app --reload\n```\n\n## Reference Files\n\nComprehensive documentation in `references\u002F`:\n\n- **uv.md** - Complete UV documentation (63 pages)\n  - CLI reference for all commands\n  - Detailed guides for projects, packages, and tools\n  - Integration examples (Docker, GitHub, Jupyter, etc.)\n  - Advanced topics (authentication, indexes, build backends)\n\n## Troubleshooting\n\n### Common Issues\n\n**Issue: \"No solution found\"**\n- Check version constraints in `pyproject.toml`\n- Try `uv lock --upgrade` to get latest compatible versions\n- Use `uv tree` to inspect dependency conflicts\n\n**Issue: \"Python version not found\"**\n- Install with `uv python install 3.12`\n- Check `.python-version` file\n- Verify `requires-python` in `pyproject.toml`\n\n**Issue: \"Package not found\"**\n- Verify package name spelling\n- Check if package requires alternative index\n- Use `--index-url` for custom indexes\n\n## Migration Guide\n\n### From tool.uv.dev-dependencies (Deprecated)\n\n**IMPORTANT**: The `tool.uv.dev-dependencies` field is deprecated and will be removed in a future release. Use `[dependency-groups]` instead (PEP 735).\n\n```toml\n# ❌ Old (deprecated)\n[tool.uv]\ndev-dependencies = [\n    \"pytest>=7.0.0\",\n    \"ruff>=0.1.0\",\n]\n\n# ✅ New (correct)\n[dependency-groups]\ndev = [\n    \"pytest>=7.0.0\",\n    \"ruff>=0.1.0\",\n]\n```\n\nWhen you run `uv add --dev pytest`, it will automatically use the new `[dependency-groups]` format for new projects.\n\n### From pip + requirements.txt\n\n```bash\n# Before: pip install -r requirements.txt\n# After:\n$ uv init --no-package\n$ uv add -r requirements.txt\n$ uv sync\n```\n\n### From Poetry\n\n```bash\n# Before: poetry install\n# After:\n$ uv init --no-package\n$ uv add $(poetry show --only main | awk '{print $1}')\n$ uv sync\n```\n\n### From Pipenv\n\n```bash\n# Before: pipenv install\n# After:\n$ uv init --no-package\n$ uv add $(pipenv requirements | grep -v \"^#\" | grep -v \"^$\")\n$ uv sync\n```\n\n## Best Practices\n\n1. **Always commit `uv.lock`** for reproducible builds\n2. **Use `pyproject.toml`** instead of `requirements.txt`\n3. **Pin Python version** with `.python-version`\n4. **Separate dev dependencies** with `--dev` flag\n5. **Use workspaces** for monorepos\n6. **Leverage `uvx`** for one-off tool execution\n7. **Configure indexes** in `pyproject.toml` for consistency\n\n## Resources\n\n- **Official Docs**: https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\n- **Installation**: `curl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002Finstall.sh | sh`\n\n## Notes\n\n- This skill was generated from official UV documentation (v0.5.0+)\n- All code examples are tested and production-ready\n- UV is actively developed - check docs for latest features\n- UV is 10-100x faster than pip for most operations\n",{"name":5,"description":7},"main","7850740bd837adb32f0a109ab2af82482196c6f2","skills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv",1,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills","https:\u002F\u002Fzturnsgo.com","https:\u002F\u002Fgithub.com\u002Fshengdabai","https:\u002F\u002Fzturnsgo.com\u002F","AI × education creator — producer, not consumer. Taught 6,000+ learners; shipping learning tools & daily essays with Claude Code, practicing @xiaolai's way 🥋","2026-11-01 21:28:23",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add shengdabai\u002FTony-Claude-Code-Skills --skill uv",{"tool":67,"command":68},"bunx","bunx skills add shengdabai\u002FTony-Claude-Code-Skills --skill uv",{"tool":70,"command":71},"pnpm","pnpm dlx skills add shengdabai\u002FTony-Claude-Code-Skills --skill uv","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002FSKILL.md",true,[75,81,87,91],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"assets\u002F.keep","ASSET","资产文件",0,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002Fassets\u002F.keep",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Findex.md","REFERENCE","参考文档",80,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002Freferences\u002Findex.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fuv.md",165813,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002Freferences\u002Fuv.md",{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":79,"sourceHtmlUrl":95},"scripts\u002F.keep","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002F_collections\u002Fdot_claude\u002Fskills\u002Fuv\u002Fscripts\u002F.keep",[97,106,114,122,130,138],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":105},"01M73H7XKBHE1ETQDZT94MF9HH","seedance-prompt-en","Write effective prompts for Jimeng Seedance 2.0 multimodal AI video generation. Use when users want to create video prompts using text, images, videos, and audio inputs with the @ reference system. Covers camera movements, effects replication, video extension, editing, music beat-matching, e-commerce ads, short dramas, and educational content.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":105},"01M73GRE9998Q1DZWC71N41JWG","onepage-pdf","Convert an HTML page into a single continuous-page PDF (one tall page, no pagination breaks), preserving desktop layout, backgrounds and selectable text. Use when the user asks to turn an HTML file\u002Freport\u002Fproposal into a \"single-page PDF\", \"long PDF\", \"不分页 PDF\", \"单页 PDF\", \"长图式 PDF\", or complains that an HTML-to-PDF export breaks into pages or cuts content. Supports optional string redaction with leak verification.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":105},"01M73GQG1KZDADVPV3MHAT1J5A","native-feel-cross-platform-desktop","Use when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a native app to its users — fast launch, native windowing, native input handling, native materials. Trigger words include \"cross-platform desktop\", \"Electron alternative\", \"Tauri vs native\", \"WebView wrapper\", \"near-native performance\", \"Raycast architecture\", \"WebKit\u002FWebView2 quirks\", \"WKWebView\", \"system tray app\", \"global hotkey app\", \"launcher app\". Do NOT trigger this skill for pure web apps, pure mobile apps, or for greenfield projects that have no native-feel requirement.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":105},"01M73G87PDNSMKG2FHWCYER6N8","gstack","Router for the gstack skill suite. (gstack)","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":105},"01M73G3EAQWKCM8DB8D0N0QSVG","fireworks-tech-graph","Use when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent\u002Fmemory, or concept map - and export as SVG+PNG. Trigger on: \"画图\" \"帮我画\" \"生成图\" \"做个图\" \"架构图\" \"流程图\" \"可视化一下\" \"出图\" \"generate diagram\" \"draw diagram\" \"visualize\" or any system\u002Fflow description the user wants illustrated.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":105},"01M73G086AXAH9DW1H5G5N3CPB","dbs-video-extract","接收抖音、小红书、微信视频号等短视频链接或分享文案，查询作品／账号数据并提取语音文字稿，按作者和标题归档为 Markdown。用户希望完整解析短视频、取得数据或文字稿时使用；运行前检查 TikHub 与轻抖使用凭证，缺少时用新手能理解的方式引导购买和安全配置。","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdbs-video-extract\u002FSKILL.md",[],[]]