regression-test-generator

Generate regression tests from bug reports and detected test frameworks.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor --skill regression-test-generator-sjdjdiejdrirhdkjej
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regression-test-generator
Source: https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor/tree/main/.claude/skills/regression-test-generator
Command: npx skills add https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor --skill regression-test-generator-sjdjdiejdrirhdkjej

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automatically generates regression tests when bugs are discovered during debugging sessions or continuous checks, ensuring bugs are captured before they reappear.

Core Features & Use Cases

  • Automated regression test generation: Creates test files that reproduce the bug, verify the fix, and reference error-log.md.
  • Framework detection: Auto-detects the project's test framework (e.g., Jest, Vitest, pytest, Playwright) and generates framework-compatible tests.
  • Error-log integration: Links each generated test to the corresponding error-log.md entry for traceability.
  • Review-driven flow: Presents the generated test to the user for save/edit/skip decisions and updates error records accordingly.

Quick Start

  • Collect bug details (error ID, title, symptoms, reproduction steps)
  • Detect the test framework from the project configuration
  • Generate a framework-compatible regression test file in the appropriate location
  • Present the test to you for Save, Edit, or Skip actions
  • Save to the repository and update error-log.md

Frequently Asked Questions about regression-test-generator

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

FAQPage Schema
How do I generate regression tests from a bug report automatically?

You can generate regression tests from bug reports automatically by collecting error details and detecting your project's test framework. This Skill creates Arrange-Act-Assert structured tests that reproduce the bug and verify the fix.

What is automated regression test generation and how does it prevent bug recurrence?

Automated regression test generation creates test files that reproduce discovered bugs to prevent recurrence. It captures the bug scenario as a test case, ensuring that if the bug reappears, the test will fail and catch it.

Does the regression test generator support multiple test frameworks like Jest and pytest?

Yes, the regression test generator supports frameworks like Jest, Vitest, pytest, and Playwright. It detects the current project's test framework from the configuration to generate compatible tests automatically.

How do I integrate regression tests with an existing error log?

To integrate regression tests with an error log, this Skill links each generated test file to the corresponding error-log.md entry. This provides full traceability from the test case back to the original bug report.

Where are generated regression test files placed in the project directory?

Generated regression test files are placed in the tests/regression directory. This Skill saves the framework-compatible tests to this specific location to keep regression cases organized and separated from standard tests.

Can I review and edit regression tests before saving them to my repository?

Yes, you can review and edit regression tests before saving them to your repository. This Skill presents the generated test for Save, Edit, or Skip decisions, and updates error-log.md records accordingly based on your choice.