Install and configure Python and uv. Use when setting up a Python environment.
This skill assists in installing and configuring the Python environment using uv for fast package and project management.
curl (macOS/Linux) or PowerShell (Windows).As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role} [and {Role}, ...], I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
Before installing, check if uv is already installed.
uv --version
If installed, ask the user for confirmation before reinstalling or updating.
macOS and Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
To initialize a new project or set up the current directory:
uv init
This will set up a virtual environment and pyproject.toml.
uv manages Python versions automatically. The default targeted version is typically the latest stable or system default (e.g., Python 3.12).
To pin a specific version:
uv python pin 3.12
After successful installation, save the Python package manager preference to dev-swarm/user_preferences.md so future sessions remember to use uv.
Example:
Create or update dev-swarm/user_preferences.md with:
## Python Package Manager
- Use **uv** for all Python package operations
- Python version: 3.12+
npx skills add X-School-Academy/dev-swarm-python下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer