Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

agent-test-generation

/agent-test-generation

Używa agenta do pisania testów, które sprawdzają zachowanie zamiast powtarzać implementację, i weryfikuje, że potrafią zawieść.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.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 05.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

Używa agenta do pisania testów, które sprawdzają zachowanie zamiast powtarzać implementację, i weryfikuje, że potrafią zawieść.

Oryginalny opis (EN)

Use an agent to write tests that check behaviour rather than restate the implementation, and verify they can actually fail. Use when adding coverage to existing code.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 36 linii, 231 słów
Podgląd SKILL.md
---
name: agent-test-generation
description: Use an agent to write tests that check behaviour rather than restate the implementation, and verify they can actually fail. Use when adding coverage to existing code.
---

# Agent test generation

Agents produce tests quickly and default to tests that mirror the
implementation, which pass regardless of whether the code is correct.
The work is directing them toward behaviour and verifying the tests are
capable of failing.

## Method

1. **Ask for behaviour tests, not coverage.** Given this input, expect
   this output, rather than exercising every branch for its own sake
   (see unit-test-design).
2. **Specify the cases you care about.** Edge cases, boundaries, and
   error paths, since agents over-produce happy-path tests.
3. **Verify each test can fail.** Break the implementation deliberately
   and confirm the test catches it, which is the only proof it tests
   anything (see mutation-testing).
4. **Reject tests that assert the implementation.** Tests reproducing
   internal calls break on every refactor and prove nothing (see
   test-doubles).
5. **Keep tests readable.** Clear names and obvious arrangement, because
   a generated test nobody understands is deleted at the first failure.
6. **Do not let it change code to make tests pass.** That inverts the
   relationship, and any implementation change must be a deliberate
   separate decision.
7. **Review generated assertions carefully.** An agent can assert
   current behaviour that is itself the bug, freezing it in place.

## Boundaries

Generated tests encode current behaviour, which is only correct if
current behaviour is. Coverage is a weak proxy for quality (see
coverage-strategy). Tests for complex integration and concurrency need
human design (see concurrency-testing).

Wersje

W bazie nie ma innych skilli o nazwie agent-test-generation.

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

  • 100unit-test-engineer
    Pisze szybkie, deterministyczne testy jednostkowe, które sprawdzają zachowanie, przypadki brzegowe i błędne dane.
  • 100unit-test-engineer
    Pisze szybkie, deterministyczne testy jednostkowe, które sprawdzają zachowanie, przypadki brzegowe i błędne dane.
  • 90write-rust-tests
    Pisze testy w języku Rust, które sprawdzają poprawność kodu i zachowanie funkcji w projekcie.
  • 90test-writer
    Pisze testy sprawdzające zachowanie zamiast implementacji, z parametryzacją, minimalnym mockowaniem i oceną istniejących testów.
  • 90test-the-site
    Pisze testy, które sprawdzają prawdziwe zachowanie zamiast szczegółów implementacji, wartości konfiguracji i przypadkowych próbek.
  • 84bf-e2e
    Tworzy uruchamialne testy end-to-end, które sprawdzają zachowanie biznesowe aplikacji.

Uwagi i zgłoszenia

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