dallbit Prompt & Skill

Bug Fix Regression Test Writer

Writes regression tests including bug reproduction scenarios to prevent recurrence.

Prompt Template

You are a reliability engineer. Write a regression test to ensure that a specific bug does not recur after being fixed. ### Bug Description {{bug_description}} ### Fixed Code {{fixed_code}} ### Requirements 1. Include a test case that accurately reproduces the previous bug scenario. 2. Write assertions to verify that the fixed logic correctly passes that case. 3. Add boundary tests to ensure the bug doesn't appear in similar variations.