bug-reproduction-test-generator

Generate minimal reproducible test cases from bug reports and stack traces.

1|2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/santosomar/general-secure-coding-agent-skills --skill bug-reproduction-test-generator-santosomar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bug-reproduction-test-generator
Source: https://github.com/santosomar/general-secure-coding-agent-skills/tree/main/skills/debugging/bug-reproduction-test-generator
Command: npx skills add https://github.com/santosomar/general-secure-coding-agent-skills --skill bug-reproduction-test-generator-santosomar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill transforms bug reports, stack traces, or prose descriptions into minimal, executable tests that reliably reproduce the bug, ensuring it can be fixed and prevented from recurring.

Core Features & Use Cases

  • Test Generation: Creates failing tests from bug descriptions.
  • Minimization: Reduces tests to their essential components for clarity.
  • Stabilization: Handles intermittent bugs by stabilizing their execution.
  • Use Case: When a user reports a crash without a clear error message, this skill can generate a test that isolates the exact input and action causing the crash.

Quick Start

Use the bug-reproduction-test-generator skill to create a test case from the provided stack trace.

Frequently Asked Questions about bug-reproduction-test-generator

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

FAQPage Schema
How do I generate a test case from a bug report?

You can generate a reproducible test from a stack trace by using this Skill to isolate the exact input and action causing the defect. It transforms crash reports and prose descriptions into minimal, executable tests that reliably reproduce the bug.

What is the best way to create regression tests from stack traces?

Creating regression tests from stack traces involves extracting the setup, action, and assertion triple to build a failing test case. This Skill mechanically minimizes the generated test for clarity and stability to confirm defects and prevent recurring issues.

Can I use bug reproduction tests for intermittent failures?

Yes, you can stabilize intermittent failures during bug reproduction. This Skill applies stabilization techniques during test generation, ensuring the executable test reliably reproduces the defect without flakiness.

How do I minimize test cases for debugging?

You minimize test cases for debugging by reducing them to their essential components. This Skill mechanically minimizes generated tests by isolating the exact setup, action, and assertion needed to trigger the defect, improving clarity and stability.

Does the bug reproduction test generator work without specific testing frameworks?

The bug reproduction test generator works by extracting the setup, action, and assertion triple from bug reports or prose descriptions. It generates minimal, executable tests mechanically, independent of specific external testing framework dependencies.