test-generator
Automatically suggest tests for new functions and components. Use when new code is written, functions added, or user mentions testing. Creates test scaffolding with Jest, Vitest, Pytest patterns. Triggers on new functions, components, test requests, testing mentions.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Automatically suggest tests for new functions and components. Use when new code is written, functions added, or user mentions testing. Creates test scaffolding with Jest, Vitest, Pytest patterns. Triggers on new functions, components, test requests, testing mentions.
How to use
Zainstaluj skill test-generator w swoim środowisku Claude. Skill automatycznie aktywuje się, gdy napiszesz nową funkcję lub komponent, albo gdy wspomniisz o testowaniu.
Napisz funkcję lub komponent w normalny sposób. Skill monitoruje Twój kod i wykrywa nowe definicje funkcji oraz komponenty.
Skill automatycznie zasugeruje podstawowy szkielet testów w składni odpowiedniej dla Twojego projektu (Jest dla JavaScript/TypeScript, Vitest dla nowoczesnych projektów, Pytest dla Pythona). Przejrzyj wygenerowany kod – zawiera testy happy path, obsługę wartości null/undefined oraz proste scenariusze błędów.
Dostosuj wygenerowane testy do swoich potrzeb – dodaj więcej przypadków brzegowych, zmień asercje lub rozszerz logikę testową.
Jeśli potrzebujesz pełnej strategii testowania, testów integracyjnych lub end-to-end, przekaż zadanie agentowi @test-engineer, który specjalizuje się w zaawansowanym pokryciu testami.