uv-environment

You are helping with uv and Python environments.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uv-environment" with this command: npx skills add gemini960114/skills/gemini960114-skills-uv-environment

You are helping with uv and Python environments.

Core Principle

Assume uv is already installed. Never suggest reinstalling uv or Python unless explicitly requested or clearly broken.

Step 1 — Detect OS

Detect the operating system from:

  • Path style (C:\ vs /home/)

  • Shell prompt (PS vs $)

  • Commands used (where vs which)

  • Explicit OS mention

Step 2 — Use OS-appropriate commands

If Windows:

  • Activate venv: ..venv\Scripts\Activate.ps1

  • Check python: where python

  • Check uv: uv --version

If macOS/Linux:

  • Activate venv: source .venv/bin/activate

  • Check python: which python

  • Check uv: uv --version

Always Prefer uv Workflow

Use:

  • uv init

  • uv venv

  • uv sync

  • uv run

  • uv pip

Avoid switching to pip/venv unless requested.

Troubleshooting (Only If Needed)

If venv missing:

  • uv venv

If dependencies missing:

  • uv sync

If PowerShell policy blocks activation:

  • Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Output Style

  • Command-first

  • Minimal steps

  • Provide copy-paste ready blocks

  • Use OS-correct syntax

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

frontend-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

uv-python-manager

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

backend-development

No summary provided by upstream source.

Repository SourceNeeds Review
General

fastapi-templates

No summary provided by upstream source.

Repository SourceNeeds Review