Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

but-performance-tests

/but-performance-tests

Tworzy i uruchamia scenariusze testów wydajności CLI but w powłoce i Hyperfine, z przygotowaniem danych testowych i inspekcją wyników.

Repozytorium
gitbutler ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 27.10.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

Tworzy i uruchamia scenariusze testów wydajności CLI but w powłoce i Hyperfine, z przygotowaniem danych testowych i inspekcją wyników.

Oryginalny opis (EN)

Use when creating, changing, running, or debugging shell-based `but` CLI performance scenarios under `crates/but/tests/performance`, including Hyperfine runs, fixture setup, setup-to-test state, and output inspection.

Jak działa

  1. Workflow for changes
  2. Guardrails
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 218 słów
Podgląd SKILL.md
---
name: but-performance-tests
description: Use when creating, changing, running, or debugging shell-based `but` CLI performance scenarios under `crates/but/tests/performance`, including Hyperfine runs, fixture setup, setup-to-test state, and output inspection.
---

# `but` CLI performance tests

Read [performance framework documentation](../../../crates/but/tests/performance/README.md)
completely before answering questions or changing performance scenarios. Inspect nearby
scenarios and current shared helpers as applicable; README is canonical source for
framework behavior, commands, helper APIs, and debugging options.

## Workflow for changes

1. Confirm requested operation and timing boundary.
2. Inspect closest existing scenarios plus `lib.sh` and `run.sh`.
3. Add or update only scenario's `setup.sh` and `test.sh` unless shared behavior is
   genuinely required.
4. Prefer real, representative GitButler repository state over toy data.
5. Keep setup, validation, and ID discovery outside timed operation.
6. Reuse documented helpers instead of creating parallel fixture, state, output, or
   timing mechanisms.
7. List every scenario in top-level performance README's included-scenario list, and
   update its entry when materially changing scenario.
8. Run README's shell validation and short single-scenario benchmark.

For usage or debugging questions, answer from current README and scripts. Do not edit
files unless user asks for changes.

## Guardrails

- Keep changes inside `crates/but/tests/performance/` unless task specifically requests
  related documentation or skill updates.
- Preserve two-file scenario contract.
- Do not add custom timing/statistics code; Hyperfine owns measurement.
- Do not include fixture setup or compilation in measured command.
- Do not run all scenarios when user requests or changes only one.
- Report fixture/setup limitations and unavailable validation explicitly.

Wersje

W bazie nie ma innych skilli o nazwie but-performance-tests.

Migawka bazy z 28.10.2026 · wersja paczki a1f42cd08714 (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

  • 100testing-clickup-cli
    Uruchamia testy clickup-cli: jednostkowe, e2e na prawdziwym workspace ClickUp i przygotowanie danych testowych.
  • 100benchmark
    Uruchamia benchmarki, profilowanie i analizę czasów scalex, porównuje wydajność przed zmianą i po niej oraz szuka wąskich gardeł za pomocą hyperfine i flame graphów.
  • 100benchmark
    Uruchamia benchmarki, profilowanie i analizę czasów scalex, porównuje wydajność przed zmianą i po niej oraz szuka wąskich gardeł za pomocą hyperfine i flame graphów.
  • 100spike-test-setup
    Prawdopodobnie konfiguruje testy skokowe obciążenia (spike test) w ramach testów wydajności.
  • 100modern-cli-tools
    Opisuje bezpieczne, aktualne użycie nowoczesnych narzędzi wiersza poleceń (ripgrep, fd, bat, fzf, jq, hyperfine i inne) zamiast kruchych potoków powłoki.
  • 95testing
    Podaje wzorce testów opartych na zachowaniu: pisanie testów, fabryki danych testowych, struktura plików testowych i decyzje o tym, co testować.

Uwagi i zgłoszenia

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