Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

regression-proof

/regression-proof

Naprawia zgłoszony błąd z testem regresji, który wyraźnie pada na oryginalnym zachowaniu i przechodzi po poprawce, oraz sprawdza, czy proponowana poprawka faktycznie usuwa zgłoszoną usterkę.

Licencja
MIT
Ostatnia zmiana repozytorium
28.09.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 28.09.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

Naprawia zgłoszony błąd z testem regresji, który wyraźnie pada na oryginalnym zachowaniu i przechodzi po poprawce, oraz sprawdza, czy proponowana poprawka faktycznie usuwa zgłoszoną usterkę.

Oryginalny opis (EN)

Fix a reported bug with a regression test that demonstrably fails on the original behavior and passes after the fix. Use when implementing a bug fix or checking whether a proposed fix actually addresses a reported failure. Not a general coverage audit or new-feature workflow.

Jak działa

  1. Steps
  2. Guardrails
Sekcje z nagłówków SKILL.md, w oryginale · 22 linii, 428 słów
Podgląd SKILL.md
---
name: regression-proof
description: Fix a reported bug with a regression test that demonstrably fails on the original behavior and passes after the fix. Use when implementing a bug fix or checking whether a proposed fix actually addresses a reported failure. Not a general coverage audit or new-feature workflow.
---

# Regression proof

A passing test is evidence for a fix only if it can distinguish the broken behavior from the intended behavior.

## Steps

1. Establish the reported failure, expected behavior, and authorized scope from the request, relevant code, and existing tests. Record the starting state, including uncommitted changes. Run the relevant baseline and reproduce the bug before editing when possible; distinguish a product failure from a broken test environment.
2. Add the smallest regression test that exercises the real failing path and asserts the required outcome. Run it against the original behavior and verify that it fails for the reported reason, not an import error, missing dependency, or unrelated failure. Reuse an existing test if it already demonstrates this.
3. Trace the cause and make a scoped fix when implementation is authorized. For review-only requests, assess the proposed fix without silently changing production code. Preserve the evidence from the original failure.
4. Run the same regression test against the fixed behavior. If the fix existed before the test, compare with the original implementation in an isolated copy or worktree that preserves the relevant starting state. Do not reset the user's working tree. If an equivalent comparison cannot be made, report that limitation rather than claiming a verified before/after result.
5. Check the neighboring behavior most likely to be affected. Where an incomplete fix could pass the reproducer, add a discriminating case. Use reference comparisons, bounded randomized checks, or performance measurements only when the failure mechanism warrants them; record seeds and conditions needed to reproduce results.
6. Finish with the cause, fix or review finding, commands and observed before/after outcomes, adjacent checks, and remaining uncertainty. If the bug cannot be reproduced or expected behavior is unresolved, say what evidence is missing and avoid a speculative fix. Stop once the scoped claim is supported and relevant checks pass.

## Guardrails

- Never weaken assertions, change expected behavior merely to make a test pass, or mock away the boundary responsible for the bug.
- Preserve existing tests and unrelated user changes. Keep comparison artifacts isolated; do not use destructive checkout or reset operations to recreate the original failure.
- A missing dependency or unavailable original version is a verification limitation, not proof of correctness. Keep pre-existing failures separate from regressions caused by the fix.
- Keep execution within the task's authorization. A local reproducer does not authorize production writes, external side effects, or an unrelated refactor.
- A regression test establishes the tested behavior, not the absence of all bugs. This skill does not change the host's reasoning-effort setting.

Wersje

W bazie nie ma innych skilli o nazwie regression-proof.

Migawka bazy z 13.11.2026 · wersja paczki 7bf660845787 (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

  • 100fix-bug
    Naprawia zgłoszoną wadę zachowania, taką jak zły wynik, awaria lub regresja, z dowodem w postaci testu, który pada przed poprawką i przechodzi po niej.
  • 81shadow-debug
    Diagnozuje i naprawia zgłoszony błąd: odtwarza objaw, szuka przyczyny i sprawdza poprawkę testem regresji.
  • 100bug-fix-verification
    Odtwarza zgłoszony błąd, ustala sensowne pokrycie testami regresyjnymi, wprowadza minimalną poprawkę i weryfikuje ją, przy debugowaniu i pracy nad regresjami.
  • 90qa-regression
    Zabezpiecza sprawdzoną poprawkę testem regresji, który pada przed poprawką i przechodzi po niej, a niestabilne testy odkłada do kwarantanny.
  • 100bug-fix
    Prowadzi proces naprawy błędów i regresji, dostarczając poprawkę, test regresji i bramkę przeglądu.
  • 81fix-and-verify
    Diagnozuje błąd, naprawia go, testuje i dowodzi, że poprawka działa, gdy ktoś zgłasza usterkę.

Uwagi i zgłoszenia

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