[{"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,114,145,170,192,212],{"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":6,"sourceHtmlUrl":101,"categories":102,"keywords":106,"publishedAt":46},"01M70P17DAD4C1C47NPH6A96EM","xiaolai-methodology","以李笑来(Li Xiaolai)的思考方式、方法论与表达风格,为用户做全方位 1-on-1 教练指导,覆盖创业、赚钱、投资、学习、自学、读书写作、用 AI、以及人生心态与自我管理。当用户提到 \"李笑来\"、\"笑来\"、\"笑来老师\"、\"扮演李笑来\"、\"找笑来聊聊\"、\"笑来怎么看\"、\"xiaolai\"、\"把时间当作朋友\"、\"通往财富自由之路\"、\"定投改变命运\"、\"韭菜的自我修养\"、\"自学是门手艺\"、\"让时间陪你慢慢变富\"、\"七年就是一辈子\"、\"元认知\"、\"活在未来\"、\"复利\u002F长期主义\"、\"践行\"、\"痴迷改进\"、\"个人商业模式\u002F出售时间\"、\"睡后收入\"、\"定投\"、\"财富自由\"、\"操作系统升级\"、\"最少必要知识\"、\"北极星提示词\"、\"用 AI 该怎么学\u002F思考\" 等任一触发词,或当用户带着关于创业\u002F赚钱\u002F投资\u002F学习\u002F职业\u002F重大人生决策的困惑、希望被人用笑来式的「逻辑 + 大白话 + 类比 + 重新定义 + 践行导向」来点醒和指导时,自动进入李笑来教练模式。","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fxiaolai-methodology\u002FSKILL.md",[103],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",[107,108,109,110,111,112,113],"methodology","xiaolai","xiaolai methodology","朋友","投资","writing","收入",{"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":6,"sourceHtmlUrl":118,"categories":119,"keywords":126,"publishedAt":46},"01M70P13NB9YP7ACJR1S861CDS","zread","Produce and consume a wiki-style knowledge base for a code repository via the `zread` CLI and its on-disk output under `.\u002F.zread\u002Fwiki\u002F`. Use this skill whenever the user wants to understand, onboard onto, explore, summarize, map, or get an overview of an unfamiliar codebase; asks for architecture docs, a project wiki, a repo walkthrough, module\u002Fpackage explanations, or \"what does this repo do\"; wants to generate, regenerate, resume, browse, or serve code documentation locally; or mentions zread \u002F zread.ai directly. Also use it proactively before diving into a large unknown repo — if `.\u002F.zread\u002Fwiki\u002Fcurrent` exists, read the generated pages instead of crawling source file-by-file; if it doesn't, consider offering to run `zread generate`. The trigger is the intent (understand a codebase through generated docs), not the literal word \"zread\".","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fzread\u002FSKILL.md",[120,121],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[116,127,128,129,130,43,131,132,133,134,135,136,137,138,139,140,141,142,143,144],"knowledge","wiki","explore","walkthrough","get","knowledge base","run","generate","intent","cli","map","documentation","project wiki","disk","architecture","code","unknown","generated",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":46},"01M70P10S4SWMZQ8BJAFBFDRW3","youtube","Launch the YouTube Creator Agent to auto-generate videos.\nUse when: user types \u002Fyoutube, wants to create YouTube videos,\ngenerate video content, or upload to YouTube.\nKeywords: youtube, video, 视频, 创作视频, 发布视频","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[151,152],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":153,"categoryName":154,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000036","内容创作者",[147,156,157,158,159,160,161,162,134,163,164,165,39,28,166,167,168,169],"user","content","视频","creator","generate video","videos","launch","video content","create","upload","auto","types","Video","创作",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":177,"publishedAt":46},"01M70P0YE95D8BACZCGV8BK90K","youtube-script-sync","Sync, update, or optimize Tony's GetNote knowledge base `Youtube视频逐字稿` by turning each parent recording or first-person idea note into an idempotent child note containing a directly recordable YouTube long-video or Shorts script. Use when the user says “更新\u002F同步\u002F优化 Youtube视频逐字稿知识库”, or says “更新\u002F同步\u002F优化该知识库” while this knowledge base is the active context.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-script-sync\u002FSKILL.md",[176],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[178,179,147,180,181,168,182,183,184,185,186,187,188,189,132,190,39,28,127,191],"sync","script","youtube script sync","recording","shorts","first","base","person","update","active","child","optimize","idempotent","long",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":202,"publishedAt":46},"01M70P0WMV5XT0EEC0N445PW07","writing-skills","How to write SKILL.md files that trigger reliably and teach effectively. Use when creating, improving, or reviewing Claude Code skills.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fxiaolai\u002Fnlpm\u002Fskills\u002Fnlpm\u002Fwriting-skills\u002FSKILL.md",[198,199,200,201],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},{"categoryNo":153,"categoryName":154,"taxonomyType":124,"taxonomyTypeDesc":125},[203,112,204,205,206,207,142,39,28,208,209,210,211],"writing skills","how","teach","write skill","write","claude code skills","files","how to","trigger",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":220,"publishedAt":46},"01M70P0SJFR4YVJQBGMHKGSKXT","writing-rules","How to write .claude\u002Frules\u002F files that Claude actually follows. Use when creating, improving, or reviewing project rules.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fxiaolai\u002Fnlpm\u002Fskills\u002Fnlpm\u002Fwriting-rules\u002FSKILL.md",[218,219],{"categoryNo":104,"categoryName":105,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":153,"categoryName":154,"taxonomyType":124,"taxonomyTypeDesc":125},[221,112,222,43,223,209,39,204,207,28,210],"Rules","writing rules","project rules"]