Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

python-tests

/python-tests

Uruchamia ukierunkowane testy Pythona przez pomocniczy skrypt, gdy użytkownik prosi o uruchomienie testów.

Licencja
MIT
Ostatnia zmiana repozytorium
03.11.2026

Ocena i bezpieczeństwo

86/ 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ść21 / 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
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

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

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/run_tests.py

Co robi i kiedy

Uruchamia ukierunkowane testy Pythona przez pomocniczy skrypt, gdy użytkownik prosi o uruchomienie testów.

Wyzwalacze z opisu

运行测试单元测试run python tests
Oryginalny opis (EN)

Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 13 linii, 365 słów

Podgląd SKILL.md
---
name: python-tests
description: Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。
---
# Focused Python testing workflow

Read the implementation and related tests before selecting a command. The task is to verify behavior, not to produce a green indicator at any cost. Preserve all existing expectations unless the user explicitly changes the contract. A test runner failure and an assertion failure require different diagnoses.

1. Locate a related test file, usually test_<module>.py beside the module or under tests/. Prefer this scope before running an unrelated full suite. If the project documents a different runner in AGENTS.md or its package configuration, follow that documented command.
2. Use the existing read tool to open skill://python-tests/scripts/run_tests.py when the helper is useful. The returned package_file is the actual local application script path. In Agent or Debug mode it can be executed with the bundled Python and a --workspace and --pattern argument; this adds no new model tool. Do not copy a helper into user files unless requested.
3. Reproduce the original failure and capture the real exit code, stdout and stderr. Python unittest normally writes progress to stderr. On Windows avoid combining 2>&1 with an ErrorActionPreference that converts normal stderr into a terminating PowerShell error. Preserve the native process exit code.
4. For a code fix, make the smallest unique edit and rerun the same focused cases. Include ordinary, empty and invalid inputs when these are part of the actual contract. The post-edit hook may also run related tests; use its returned result rather than guessing whether it passed.
5. An absent dependency, missing interpreter or test discovery error is an incomplete verification. Do not silently skip it. Install project dependencies only within the project-specific dependency location and within the user's task scope.
6. Summarize the exact cases executed, their result and any remaining limitation. Never turn a failing assertion into a passing one by weakening the expected value. Do not claim a complete regression suite was run when only one file was selected.

Ask and Plan modes may explain a test or produce a plan but cannot execute this script. Safety hooks still gate shell commands. The helper accepts a bounded test pattern and does not itself change application code; project test code still executes with the current user's permissions.
Pliki w paczce (2)
  • SKILL.md 2 KB
  • scripts/run_tests.py 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · yangzaipucci/codedesk-desktop-agent86MIT
nvidia/nemo-fabric96Apache-2.0
tosun-si/bigtesty95MIT

Migawka bazy z 13.11.2026 · wersja paczki 86b209041e0f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

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

Podobne skille

  • 100python-package-runtime
    Pomaga zainstalować pakiet Pythona, uruchomić skrypt pomocniczy albo polecenie CLI pakietu, gdy zadanie tego wymaga.
  • 90testing-python
    Wyznacza strategię testów dla Pythona 3.14+, gdy pisze się testy, ocenia pokrycie lub konfiguruje testy.
  • 100run-python-tests
    Uruchamia testy end-to-end w Pythonie po zmianach, po wcześniejszym sprawdzeniu buildu i testów Rust.
  • 100python-testing
    Opisuje zasady pisania i uruchamiania testów w kodzie Pythona Agent Framework.
  • 86run-app
    Uruchamia lokalnie aplikację projektu do testów, gdy użytkownik o to prosi.
  • 100uv-python-execution
    Uruchamia skrypty, testy i narzędzia Python w repozytorium przez uv run i uvx, zgodnie z regułami projektu.

Uwagi i zgłoszenia

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