tdd-red-green-refactor
/tdd-red-green-refactor
Prowadzi zmianę w krótkich cyklach czerwony, zielony, refaktoryzacja, z Claude w roli dyscyplinowanego partnera i widoczną listą testów.
- Autor
- RobinBeraud ↗
- Repozytorium
- claude-qa-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Prowadzi zmianę w krótkich cyklach czerwony, zielony, refaktoryzacja, z Claude w roli dyscyplinowanego partnera i widoczną listą testów.
Oryginalny opis (EN)
Drive a change with test-driven development in short red-green-refactor cycles, with Claude as a disciplined pair: write one failing test, the minimum code to pass, refactor with tests green, repeat; keeps a visible test list. Use when implementing new logic, fixing a bug the TDD way, or coaching a team on TDD with an AI agent.
Jak działa
- Cycle (repeat, 2-10 minutes each)
- Rules for the agent
- Output
Podgląd SKILL.md
--- name: tdd-red-green-refactor description: "Drive a change with test-driven development in short red-green-refactor cycles, with Claude as a disciplined pair: write one failing test, the minimum code to pass, refactor with tests green, repeat; keeps a visible test list. Use when implementing new logic, fixing a bug the TDD way, or coaching a team on TDD with an AI agent." --- # TDD: red, green, refactor ## Cycle (repeat, 2-10 minutes each) 1. **Test list**: write the behaviours to implement as a checklist; start with the simplest. 2. **Red**: write *one* failing test. Run it. It must fail for the expected reason (assertion, not compile error). 3. **Green**: write the minimum code that passes. Hard-coding is fine at first; the next test forces generalisation (triangulation). 4. **Refactor**: remove duplication, improve names, in code **and** tests, with all tests green. Run them. 5. Tick the item, add newly discovered cases to the list, next. ## Rules for the agent - Never write production code without a failing test that requires it. - Never write more than one failing test at a time. - Show the test run after each step (red output, green output). - Do not change a test to make it pass unless the test was wrong; say so explicitly. - Commit at each green + refactor if the user wants small commits. ## Output The evolving test list, each cycle's test and code diff, and the final run.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · RobinBeraud/claude-qa-skills | 90 | MIT |
| google-labs-code/design.md | 100 | Apache-2.0 |
| google-labs-code/stitch-sdk | 95 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 0edfca4242ea (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 6 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100tdd
Prowadzi pracę test-first w cyklu czerwony, zielony, refaktoryzacja, przy nowych funkcjach i poprawkach błędów. - 100tdd
Prowadzi pracę test-first w cyklu czerwony, zielony, refaktoryzacja, przy nowych funkcjach i poprawkach błędów. - 100tdd
Prowadzi pracę test-first w cyklu czerwony, zielony, refaktoryzacja, przy nowych funkcjach i poprawkach błędów. - 100tdd
Prowadzi pracę test-first w cyklu czerwony, zielony, refaktoryzacja, przy nowych funkcjach i poprawkach błędów. - 100red-green-refactor
Prowadzi przez cykl TDD red-green-refactor: najpierw test, który pada, potem minimalny kod przechodzący test i refaktoryzacja przy zielonych testach. - 100tdd
Prowadzi przenośny przepływ czerwony, zielony, refaktoryzacja dla funkcji, poprawek i zmian semantyki istniejącego kodu.