Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

astral-uv星光紫外线

Agent Skill

astral-uv 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

419

周安装

18

GitHub Stars

2

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:astral-uv(星光紫外线)
来源仓库:https://github.com/fredericosantos/skills
仓库路径:skills/astral-uv
安装命令:
npx skills add https://github.com/fredericosantos/skills --skill astral-uv
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fredericosantos/skills --skill astral-uv

简介

用于 Python 包管理与项目构建,替代 pip、poetry、virtualenv 等常见工具。

  • 适用于快速安装依赖、运行脚本和管理虚拟环境,尤其在有 uv.lock 的项目中优先使用。
  • 使用时区分 Poetry/PDM 项目排除干扰,选择 uv run 或 uvx 根据依赖是否纳入项目。
  • 安装方式为 GitHub,支持 Codex、Claude、Cursor 和 Gemini CLI,需确保 Python 3.7+ 环境就绪。
  • astral-uv 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

uv: Python Package and Project Manager

uv is an extremely fast Python package and project manager that replaces pip, pip-tools, pipx, pyenv, virtualenv, poetry, and more.

Navigation Rule

Always use uv for Python work, especially if you see:

  • The uv.lock file in a project
  • uv headers in requirements* files, e.g., "This file was autogenerated by uv"

Exclusion Rule

Don't use uv in projects managed by other tools:

  • Poetry projects (identifiable by poetry.lock file)
  • PDM projects (identifiable by pdm.lock file)

Workflow Selection Rule

Choose the right workflow based on your use case:

Scripts Workflow

Use when: Running single Python files and standalone scripts.

Key commands:

uv run script.py                      # Run a script
uv run --with requests script.py      # Run with additional packages
uv add --script script.py requests    # Add dependencies inline to the script

See references/script-execution.md for script execution examples.

Projects Workflow

Use when: There is a pyproject.toml or uv.lock file present.

Key commands:

uv init                   # Create new project
uv add requests           # Add dependency
uv remove requests        # Remove dependency
uv sync                   # Install from lockfile
uv run <command>          # Run commands in environment
uv run python -c ""       # Run Python in project environment
uv run -p 3.12 <command>  # Run with specific Python version

See references/project-setup.md for project setup examples.

Tools Workflow

Use when: Running command-line tools (e.g., ruff, ty, pytest) without installation.

Key commands:

uvx <tool> <args>            # Run a tool without installation
uvx <tool>@<version> <args>  # Run a specific version of a tool

Security Rule: uvx runs tools from PyPI by package name. This can be unsafe - only run well-known tools. Only use uv tool install when specifically requested by the user.

Pip Interface Workflow

Use when: Legacy workflows with requirements.txt or manual environment management, no uv.lock present.

Key commands:

uv venv
uv pip install -r requirements.txt
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt

# Platform independent resolution
uv pip compile --universal requirements.in -o requirements.txt

Best Practice Rule: Don't use the pip interface unless clearly needed. Don't introduce new requirements.txt files. Prefer uv init for new projects.

Migration Rules

pyenv → uv python

pyenv install 3.12       → uv python install 3.12
pyenv versions           → uv python list --only-installed
pyenv local 3.12         → uv python pin 3.12
pyenv global 3.12        → uv python install 3.12 --default

pipx → uvx

pipx run ruff            → uvx ruff
pipx install ruff        → uv tool install ruff
pipx upgrade ruff        → uv tool upgrade ruff
pipx list                → uv tool list

pip and pip-tools → uv pip

pip install package      → uv pip install package
pip install -r req.txt   → uv pip install -r req.txt
pip freeze               → uv pip freeze
pip-compile req.in       → uv pip compile req.in
pip-sync req.txt         → uv pip sync req.txt
virtualenv .venv         → uv venv

See references/migration.md for migration examples.

Common Pattern Rules

Don't Use pip in uv Projects Rule

# Bad
pip install requests

# Good
uv add requests

Don't Run python Directly Rule

# Bad
python script.py

# Good
uv run script.py
# Bad
python -c "..."

# Good
uv run python -c "..."
# Bad
python3.12 -c "..."

# Good
uvx python@3.12 -c "..."

Don't Manually Manage Environments in uv Projects Rule

# Bad
python -m venv .venv
source .venv/bin/activate

# Good
uv run <command>

Documentation Reference

For detailed information, see the official documentation at https://docs.astral.sh/uv/llms.txt

Additional References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.01%
按下载量换算53

Claude

32.9%
按下载量换算48

Cursor

18.12%
按下载量换算27

Gemini CLI

9.42%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/fredericosantos/skills --skill astral-uv 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills