什么是 uv-scripts?
使用 uv 运行或编写独立的 Python 脚本时使用,特别是在选择 Python 版本、添加一次性依赖项、使用无项目模式或嵌入内联脚本元数据时。 来源:narumiruna/telegram-bot。
使用 uv 运行或编写独立的 Python 脚本时使用,特别是在选择 Python 版本、添加一次性依赖项、使用无项目模式或嵌入内联脚本元数据时。
通过命令行快速安装 uv-scripts AI 技能到你的开发环境
来源:narumiruna/telegram-bot。
Overview Use uv run to execute standalone scripts with automatic dependency management. Prefer inline metadata for self-contained scripts and --no-project when you are inside a project but do not need project code.
| Run a script | uv run script.py | | Run module | uv run -m http.server 8000 | | Run from stdin | uv run - | | Here-doc | uv run - <<EOF ... EOF | | Skip project install | uv run --no-project script.py | | One-off deps | uv run --with requests --with rich script.py | | Pick Python | uv run --python 3.12 script.py |
| Init script metadata | uv init --script script.py --python 3.12 | | Add script deps | uv add --script script.py requests rich | | Lock script deps | uv lock --script script.py |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/narumiruna/telegram-bot --skill uv-scripts使用 uv 运行或编写独立的 Python 脚本时使用,特别是在选择 Python 版本、添加一次性依赖项、使用无项目模式或嵌入内联脚本元数据时。 来源:narumiruna/telegram-bot。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/narumiruna/telegram-bot --skill uv-scripts 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/narumiruna/telegram-bot