Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

tdd

/tdd

Przygotowuje szkielet testów regresyjnych przed implementacją, zanim zakres prac się rozrośnie.

Repozytorium
meta-architect ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.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

Przygotowuje szkielet testów regresyjnych przed implementacją, zanim zakres prac się rozrośnie.

Oryginalny opis (EN)

Use when the user wants regression-first or test-first scaffolding before implementation work expands.

Jak działa

  1. Output
  2. Rules
  3. Procedure
  4. Quality bar
  5. Example
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 244 słów
Podgląd SKILL.md
---
name: tdd
description: "Use when the user wants regression-first or test-first scaffolding before implementation work expands."
---

# TDD

Use this skill inside Codex when implementation should start by locking behavior with tests. `tdd` is a non-gating helper skill that supports execution once the relevant lane is ready.

## Output

Produce:
- behavior to lock
- minimal regression or failing test shape
- implementation boundary
- proof that the test belongs to the requested change
- exact next trigger, usually the implementation lane or `$cleanup`

## Rules

- Prefer the smallest failing test that proves the requested behavior.
- Lock current behavior before cleanup or refactor work when behavior is not already protected.
- Do not treat `tdd` as a replacement for the build gate.
- Keep test intent explicit so the next implementation step stays narrow.

## Procedure

1. Translate the requested behavior into one observable acceptance example.
2. Choose the narrowest test boundary that fails before the fix and passes after it.
3. Include the important negative or permission case without building a speculative suite.
4. Name fixtures, dependencies, and cleanup requirements explicitly.
5. Hand the locked behavior to the implementation lane and preserve the test as evidence.

## Quality bar

- The test proves user-visible or contract-visible behavior, not implementation trivia.
- Failure output points to the intended boundary.
- Tests do not mutate production systems, secrets, or unrelated user data.

## Example

For a copy button, test clipboard content, keyboard activation, alignment-independent click behavior, and the visible success state rather than only asserting that a handler exists.
Pliki w paczce (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · justinedevs/meta-architect100MIT
kdlbs/kandev100AGPL-3.0
sentimony/skills100MIT
sentimony/skills100MIT
TerminalSkills/skills100Apache-2.0
duronext/jig100MIT
xoai/sage100MIT
rolemodel/skills100MIT
matteocodogno/wellforge100MIT

Identyczna treść występuje jeszcze w 2 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

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

Pobrania w ostatnich 30 dniach: 2 · ranking

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

Podobne skille

  • 96tdd-workflows-tdd-cycle
    Prawdopodobnie pomaga przy cyklu TDD w przepływach pracy z testami, w tym przy pisaniu testów przed kodem.
  • 96sp-tdd
    Prowadzi rozwój funkcji i poprawek błędów metodą TDD, zanim powstanie kod produkcyjny.
  • 95tdd-workflow
    Egzekwuje metodykę TDD: testy przed implementacją, cykl red-green-refactor i wymagania dotyczące pokrycia kodu.
  • 100testing
    Opisuje strategie testów, w tym TDD i testy E2E, i pomaga w pisaniu testów oraz konfiguracji infrastruktury testów E2E.
  • 100tdd-pstack
    Pisze nieudany test regresyjny przed poprawką błędu, gdy użytkownik prosi o TDD albo ma tani lokalny test.
  • 96tdd-workflows-tdd-refactor
    Prawdopodobnie pomaga w refaktoryzacji w przepływie TDD, z testami sprawdzającymi zachowanie przed zmianą kodu.

Uwagi i zgłoszenia

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