Toolverse
All skills

essential-test-design

by growilabs

Write tests that verify observable behavior (contract), not implementation details. Auto-invoked when writing or reviewing tests.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
growilabs
Category
Testing
Views
6

About this skill

Write tests that verify observable behavior (contract), not implementation details. Auto-invoked when writing or reviewing tests.

How to use

  1. Zainstaluj skill essential-test-design w swoim środowisku Claude'a (dodaj go do konfiguracji .claude/skills lub załaduj z repozytorium growilabs).

  2. Otwórz plik testowy lub zacznij pisać nowy test dla funkcji, którą chcesz pokryć. Skill automatycznie się aktywuje, gdy Claude'a poprosisz o pomoc w pisaniu lub recenzji testów.

  3. Zamiast skupiać się na szpiegowaniu implementacji (np. czy setTimeout został wywołany), opisz, co użytkownik Twojej funkcji faktycznie obserwuje — na przykład: "funkcja nie powinna się rozwiązać przed upływem opóźnienia, a powinna się rozwiązać dokładnie po nim".

  4. Skill pokaże Ci antywzorce, takie jak testy zależne od szczegółów (spies na setTimeout, mock'i wewnętrznych funkcji), i zaproponuje korektę: test zachowania zamiast mechanizmu.

  5. Podczas recenzji kodu testowego Claude z tym skillem wskaże, czy test rzeczywiście łapie błędy w zachowaniu czy tylko przechodzi przez self-fulfilling prophecy — czyli test, który nie ma sensu, bo arrange jest ustawiony tylko po to, by assert przeszedł.

  6. Iteruj: przepisz test tak, aby testował kontrakt (obserwowalne zachowanie), a nie implementację. Skill potwierdzi, że test przetrwa refaktoring i będzie łapać rzeczywiste regresje.

Related skills

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

playwright-cli

by microsoft

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

Testing
45103

code-reviewer

by google-gemini

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

Testing
1248

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

qa-tester

by svilupp

\

Testing
2399