Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

test-driven-execution

/test-driven-execution

Realizuje funkcje i poprawki regresji pętlą red-green-refactor typu tracer bullet, z testami publicznych interfejsów i pionowych wycinków odpornymi na refaktoryzację.

Licencja
MIT
Ostatnia zmiana repozytorium
14.10.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
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

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

Realizuje funkcje i poprawki regresji pętlą red-green-refactor typu tracer bullet, z testami publicznych interfejsów i pionowych wycinków odpornymi na refaktoryzację.

Oryginalny opis (EN)

Execute feature work and bug fixes with a tracer-bullet red-green-refactor loop. Use when building behavior that should be guided by tests, when fixing regressions, or when the user wants TDD or test-first execution. Prefer public interfaces, vertical slices, and behavior-focused tests that survive refactors.

Jak działa

  1. Core Rules
  2. Workflow
  3. Evidence and handoff
  4. Anti-Pattern
  5. Good Tests
  6. Planning Questions
  7. Final Report
  8. Attribution
Sekcje z nagłówków SKILL.md, w oryginale · 57 linii, 388 słów
Podgląd SKILL.md
---
name: test-driven-execution
description: Execute feature work and bug fixes with a tracer-bullet red-green-refactor loop. Use when building behavior that should be guided by tests, when fixing regressions, or when the user wants TDD or test-first execution. Prefer public interfaces, vertical slices, and behavior-focused tests that survive refactors.
license: MIT
metadata:
  abvx_status: experimental
  abvx_origin: adapted
---

# Test Driven Execution

Use tests as the feedback loop that shapes the implementation one vertical slice at a time.

## Core Rules

- Test behavior through public interfaces.
- Prefer integration-style tests over implementation-coupled tests.
- Work in vertical slices, not horizontal batches.
- One failing test -> one minimal implementation -> repeat.
- Refactor only while green.

## Workflow

1. Confirm the behavior to build or fix.
2. Inspect the repo, branch, and existing worktree changes; identify the highest useful seam to test. Isolate only when work overlaps or runs concurrently, and preserve pre-existing changes.
3. Write one failing test for one observable behavior.
4. Implement the minimum code to make it pass.
5. Repeat for the next behavior.
6. Refactor only after the slice is green.

## Evidence and handoff

- Use the narrowest check that proves the changed behavior, then run relevant broader checks. A green test proves only the behavior and environment it exercised.
- For visually material UI changes, compare the same important viewport and state before and after when feasible; do not require screenshots for non-visual changes.
- Report local tests, CI, deployment, and public release as separate gates. Do not claim a later gate from an earlier one.
- Completion means verified work and an honest handoff; commit, push, PR creation, and deployment still require task authorization.

For a diagnosed regression that needs durable proof, capture the exact same targeted command before and after with `bug-evidence-protocol`, then capture relevant broader checks. Do not infer `FIX_PROVEN` from a green targeted test alone.

## Anti-Pattern

Do not write all tests first and all code later. That produces test suites for imagined behavior instead of validated behavior.

## Good Tests

- name the user-visible behavior;
- survive internal refactors;
- avoid private methods and internal collaborator trivia;
- verify what the system does, not how it does it.

## Planning Questions

- Which behaviors matter most?
- Which seams already exist?
- What should not be tested at this layer?
- What prior art already exists in the repo?

## Final Report

Include the behaviors covered, the seams used, what remains untested, and any refactor opportunities exposed by the loop.

## Attribution

The scoped isolate/prove/ship and visual before/after evidence ideas were informed by [michaelshimeles/skills](https://github.com/michaelshimeles/skills); this skill retains ABVX's behavior-first testing and authorization boundaries.
Pliki w paczce (3)
  • SKILL.md 3 KB
  • SKILL_CARD.md 2 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie test-driven-execution.

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

  • 100tdd
    Prowadzi przez TDD z pętlą red-green-refactor przy budowie funkcji i naprawie błędów, także z testami integracyjnymi.
  • 100tdd
    Prowadzi przez TDD z pętlą red-green-refactor przy budowie funkcji i naprawie błędów, także z testami integracyjnymi.
  • 100tdd
    Prowadzi przez TDD z pętlą red-green-refactor przy budowie funkcji i naprawie błędów, także z testami integracyjnymi.
  • 100tdd
    Prowadzi TDD pionowymi wycinkami funkcji, cyklem czerwony, zielony, refaktoryzacja, z testami przeżywającymi refaktoryzację.
  • 90test-first-implementation
    Wdraża zachowania w pętli czerwony, zielony, refaktoryzacja, w małych pionowych krokach, także przy poprawkach regresji.
  • 100flux-tdd
    Prowadzi wytwarzanie funkcji i poprawek metodą TDD w pionowych plasterkach red-green-refactor, po jednym teście naraz.

Uwagi i zgłoszenia

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