Toolverse
All skills

security-integration-tests

by alex-ilgayev

Use this agent when working with prompt injection detection integration tests, including running tests, debugging failures, or adding new test samples.

Installation

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

Installation

Quick info

Category
Testing

About this skill

Use this agent when working with prompt injection detection integration tests, including running tests, debugging failures, or adding new test samples.

How to use

  1. Ustaw zmienną środowiskową HF_TOKEN z tokenem dostępu do HuggingFace API (wymagana do testów integracyjnych). 2. Uruchom testy integracyjne poleceniem make test-integration — narzędzie automatycznie wykonuje wszystkie testy z rzeczywistymi wywołaniami API i weryfikuje dokładność detekcji. 3. Jeśli chcesz użyć innego modelu detekcji, ustaw zmienną HF_MODEL przed uruchomieniem testów (domyślnie używany jest model protectai/deberta-v3-base-prompt-injection-v2). 4. Przeglądaj plik samples.json w pkg/security/testdata/ — zawiera próbki benign (bezpieczne) i malicious (złośliwe) wraz z oczekiwanymi wynikami detekcji i progami ryzyka. 5. Dodaj nowe próbki testowe do samples.json, definiując opis, tekst do analizy, oczekiwany wynik detekcji i minimalny wynik ryzyka — testy automatycznie je zweryfikują. 6. Do szybkiego testowania bez kosztów API użyj go test ./pkg/security/... — uruchamia testy jednostkowe z mock serverem bez rzeczywistych wywołań do HuggingFace.

Related skills

python-testing-patterns

by wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Testing
46146

performing-penetration-testing

by jeremylongshore

This skill enables automated penetration testing of web applications. It uses the penetration-tester plugin to identify vulnerabilities, including OWASP Top 10 threats, and suggests exploitation techniques. Use this skill when the user requests a \

Testing
1546

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

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

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

playwright

by BloomBooks

How to make good playwright (e2e) tests for this project.

Testing
1298