什麼是 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