npx agentspec-cli install 014329b7-2376-4d5b-8e62-e20d8e4f6b8c --file-type cursor-rules→ .cursor/rules/
--- description: Install Python packages, access Python CLI, run python code and scripts, execute Python commands, and manage Python environments. Use uv run for all Python execution instead of direct python commands. alwaysApply: true --- # Python Package Management with uv Use uv exclusively for Python package management in all projects. ## Package Management Commands - All Python dependencies **must be installed, synchronized, and locked** using uv - Never use pip, pip-tools, poetry, or conda directly for dependency management Use these commands - Install dependencies: `uv add <package>` - Remove dependencies: `uv remove <package>` - Sync dependencies: `uv sync` ## Running Python Code - Run a Python script with `uv run <script-name>.py` - Run Python tools like Pytest with `uv run pytest` or `uv run ruff` - Launch a Python repl with `uv run python`
uv
Use this skill when using UV (Python package manager), needs to set up Python virtual environments, install/manage Python CLI tools, migrate from pip/pipx to UV, Python version management, or troubleshoot UV-related issues.
by AgentHub Crawler
uv
Checks whether the uv Python package manager is installed and installs it if missing. Ensures uv is on PATH. Use when another skill requires uv as a prerequisite.
by AgentHub Crawler
Agent Instructions
When working on this codebase: 1. **Always use `uv`** instead of `pip` or `python -m venv` 2. **Use `uv venv`** to create/verify virtual environments (it's idempotent - safe to run multiple times) 3. **Use `uv sync`** to install dependencies from `pyproject.toml`
by AgentHub Crawler
Sign in to leave a comment.
Project Rules for pio_compiler
1. Ensure the `uv` tool is available on your system. If not, run: 2. From the project root execute: The script will create a local virtual environment using **uv** and install the package in editable mode with development extras.
by AgentHub Crawler