Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

python-package-runtime

/python-package-runtime

Pomaga zainstalować pakiet Pythona, uruchomić skrypt pomocniczy albo polecenie CLI pakietu, gdy zadanie tego wymaga.

Repozytorium
skill-pilot ↗
Licencja
MIT
Ostatnia zmiana repozytorium
07.06.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 07.06.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pomaga zainstalować pakiet Pythona, uruchomić skrypt pomocniczy albo polecenie CLI pakietu, gdy zadanie tego wymaga.

Oryginalny opis (EN)

Use when a task needs to install a new Python package, run a Python helper script, or a Python package CLI.

Jak działa

  1. When to Use This Skill
  2. Your Roles in This Skill
  3. Role Communication
  4. Instructions
  5. Expected Output
  6. Key Principles
Sekcje z nagłówków SKILL.md, w oryginale · 87 linii, 438 słów
Podgląd SKILL.md
---
name: python-package-runtime
description: Use when a task needs to install a new Python package, run a Python helper script, or a Python package CLI.
---

# AI Builder - Python Package Runtime

Use this skill to install Python packages and run Python-based helpers in a consistent repo-safe way.

## When to Use This Skill

- A task needs a new Python package installed in this repo
- A helper script should be run with the repo Python environment
- A Python package exposes a CLI that should be run from the engine virtualenv

## Your Roles in This Skill

- **Platform Engineer**: Keep Python package installation and runtime behavior consistent with the repo environment
- **Backend Developer**: Run scripts and package CLIs with the correct interpreter and virtualenv paths
- **Technical Writer**: Document the exact command conventions clearly and tersely

## Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role, and Role-XYZ if have more roles}, I will {action description}

This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.

## Instructions

Follow these steps in order:

### Step 1: Decide what kind of Python action is needed

Choose one path:

1. Install one or more new Python packages
2. Run a Python helper script
3. Run a package-provided CLI from the engine virtualenv

### Step 2: Install packages with the repo wrapper only

For any new Python package in this repo, always install it from repo root with:

```bash
core/bin/uv-install <package> [package...]
```

This wrapper runs `uv add` in `core/engine/`. Do not use `pip install` directly for new packages.

### Step 3: Run Python scripts with the repo interpreter

Run helper scripts with:

```bash
core/bin/python path/to/script.py
```

`core/bin/python` points to `core/engine/.venv/bin/python`, so scripts run with the repo-managed environment and installed packages.

### Step 4: Run package CLIs from the engine virtualenv

When a package provides a CLI entrypoint, run it from:

```bash
core/engine/.venv/bin/<cli-name>
```

If you need to confirm the binary name, inspect `core/engine/.venv/bin/` first.

### Step 5: Keep helpers and temp artifacts contained

- Put temporary helper scripts and intermediate files under `.skillpilot/temp/`
- Keep commands relative to repo root unless the task requires another working directory
- Prefer small, one-purpose helpers over ad hoc command variations

## Expected Output

- The required package is installed through `core/bin/uv-install`, if installation was needed
- Python scripts run through `core/bin/python`
- Package CLIs run from `core/engine/.venv/bin/`
- The result clearly states which path was used

## Key Principles

- Use one installation path: `core/bin/uv-install`
- Use one Python interpreter path: `core/bin/python`
- Use one CLI path convention: `core/engine/.venv/bin/<cli-name>`
- Do not bypass the repo environment with direct `pip install` or a random system Python

Wersje

W bazie nie ma innych skilli o nazwie python-package-runtime.

Migawka bazy z 28.10.2026 · wersja paczki 7438acc0a0f8 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100release
    Przygotowuje i przeprowadza wydanie pakietu Pythona z krokami weryfikacji.
  • 100agent-cli
    Dodaje do skryptów CLI w Pythonie czytelne dla agentów wyjście --json w formacie NDJSON albo tworzy dla projektu pakiet pomocniczy cli_utils.
  • 100using-python-package-principles
    Wskazuje, którego z 12 skilli zasad pakietów Python użyć, i prowadzi przy tworzeniu, przeglądzie lub modernizacji projektu Python.
  • 100uv-package-manager
    Pomaga w zarządzaniu zależnościami Pythona przez uv, tworzeniu środowisk wirtualnych i nowoczesnych projektów Python.
  • 90python-packaging
    Pakuje projekt Pythona z jednym pyproject.toml, układem src i czystą ścieżką budowania oraz publikacji na PyPI, z punktami wejścia, gdy skrypt lub bibliotekę trzeba zamienić w instalowalny pakiet.
  • 95release
    Przygotowuje i wykonuje wydanie pakietu Pythona z krokami weryfikacji, z użyciem uv i ruff.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.