Toolverse
All skills

improve-ut

by mindfold-ai

Improve Unit Test Coverage for New Changes

Installation

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

Installation

Quick info

Category
Testing
Views
2

About this skill

Improve Unit Test Coverage for New Changes

How to use

  1. Upewnij się, że masz zainstalowany skill improve-ut w swoim projekcie. Skill odczytuje specyfikacje testów z katalogu .trellis/spec/ — są to dokumenty definiujące konwencje testowania dla Twojego projektu.

  2. Przed uruchomieniem skilla odkryj dostępne pakiety i ich warstwy specyfikacji, uruchamiając polecenie python3 ./.trellis/scripts/get_context.py --mode packages. Poszukaj pakietów z warstwą unit-test i przejrzyj wszystkie pliki specyfikacji w katalogu unit-test/ (np. index.md, conventions.md, integration-patterns.md, mock-strategies.md).

  3. Uruchom skill poleceniem $improve-ut. Skill automatycznie sprawdzi zmienione pliki za pomocą git diff --name-only i określi, jakie testy są potrzebne.

  4. Skill przeanalizuje zakres testów (czy potrzebne są testy jednostkowe, integracyjne czy regresyjne) oraz zdecyduje, czy użyć mockowania czy rzeczywistych zasobów. Następnie doda lub zaktualizuje testy zgodnie z istniejącymi wzorcami w projekcie.

  5. Skill uruchomi walidację za pomocą pnpm lint, pnpm typecheck i pnpm test. Sprawdź wyniki — jeśli któreś polecenie zwróci błąd, skill wyświetli szczegóły.

  6. Przejrzyj raport skilla, który pokaże zmienione obszary, dodane lub zaktualizowane testy, wyniki walidacji oraz ewentualne luki w testach. Jeśli specyfikacje projektu konfliktują z decyzjami skilla, specyfikacje mają priorytet.

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

hono

by openstatusHQ

Efficiently develop Hono applications using Hono CLI. Supports documentation search, API reference lookup, request testing, and bundle optimization.

Testing
1257

webapp-testing

by anthropics

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

Testing
130255

testing-workflow

by amo-tech-ai

Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.

Testing
1076

code-review-excellence

by wshobson

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

Testing
1145

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862