Toolverse
All skills

prowler-test-sdk

by prowler-cloud

Testing patterns for Prowler SDK (Python). Trigger: When writing tests for the Prowler SDK (checks/services/providers), including provider-specific mocking rules (moto for AWS only).

Installation

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

Installation

Quick info

Category
Testing

About this skill

Testing patterns for Prowler SDK (Python). Trigger: When writing tests for the Prowler SDK (checks/services/providers), including provider-specific mocking rules (moto for AWS only).

How to use

  1. Skill aktywuje się automatycznie, gdy piszesz testy dla Prowler SDK (checks, serwisy, providery) lub mockujesz AWS za pomocą moto. 2. Dla testów AWS: użyj dekoratora @mock_aws na metodzie testowej, zaimportuj set_mocked_aws_provider z utils i utwórz mockowany provider dla wybranego regionu (np. AWS_REGION_US_EAST_1). 3. Patch'uj Provider.get_global_provider, aby zwracał Twój mockowany aws_provider, oraz patch'uj serwis (np. {service}_client), aby używał ServiceClass z mockowanym providerem. 4. Dla testów non-AWS (Azure, GCP, K8s): nie używaj moto – zamiast tego stosuj MagicMock bez dekoratora @mock_aws. 5. Importuj check z prowler.providers.{provider}.services.{service}.{check_name} i uruchom go w kontekście patched'owanych dependencji. 6. Zapoznaj się z pełną dokumentacją w docs/developer-guide/unit-testing.mdx oraz skill'em pytest dla ogólnych wzorców (fixtures, parametrize, markers).

Related skills

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

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

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

hono

by openstatusHQ

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

Testing
1257