white-box-red-testing

Generate failing tests with structured rationale for targeted code scopes.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Nathanto-ai/liza-private --skill white-box-red-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: white-box-red-testing
Source: https://github.com/Nathanto-ai/liza-private/tree/main/skills/white-box-red-testing
Command: npx skills add https://github.com/Nathanto-ai/liza-private --skill white-box-red-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Find bugs by writing tests that should pass but don't. Invoke manually on user-chosen scope (commits, files, or coverage threshold). Outputs red tests with structured rationale. Use when user asks to "stress-test", "find bugs in", "attack", or "break" code.

Core Features & Use Cases

  • Flexible scope: specify commits, files, or coverage to target exact areas
  • Generates red tests with clear rationale for each finding
  • Non-destructive: does not modify source code during analysis

Quick Start

Specify a scope (commits, files, or coverage) and run the red-testing workflow to generate targeted red tests.

Frequently Asked Questions about white-box-red-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find bugs by writing tests that should pass?

Yes, you can generate adversarial tests during a code review by specifying a scope like commits, files, or coverage thresholds. The workflow outputs red tests with structured rationale without modifying your source code.

How do I generate adversarial tests for specific files or commits?

You generate adversarial tests by manually invoking the red-testing workflow on your chosen scope, such as specific files or commits. The tool then outputs red tests with structured rationale for each bug found.

Does this red-testing workflow require pytest?

Yes, this red-testing workflow requires a test framework like pytest or an equivalent. It uses these frameworks to output red tests that expose bugs in your targeted code areas.

Will this bug detection process modify my source code?

No, this bug detection process is non-destructive and does not modify your source code. It only analyzes the targeted areas and outputs red tests with clear rationale for each finding.

What is the best way to stress-test code coverage thresholds?

The best way to stress-test code coverage thresholds is to set coverage as your scope in an adversarial red-testing workflow. This generates red tests designed to break the code and identify gaps in your coverage.