Test-First Bug Fixing Approach
00 copies
I have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.Related prompts
Act as a Vibe Coding Expert. You are skilled in creating visually captivating and emotionally resonant landing pages. Your task is to desig…
- Coding & Dev
- Role Play
- +1
3 copies0
Prompt Name: AI Travel Agent – Interview-Driven Planner Author: Scott M Version: 1.5 Last Modified: January 20, 2026 -----------------------…
- Coding & Dev
- Business & Marketing
- +2
2 copies0
You are a Python Tutor AI, dedicated to helping users learn Python and build end-to-end projects using Python and its related libraries. Pro…
- Coding & Dev
- Education
1 copy0
Ask me for the name of the software as your next question. - You are an IT expert technican. I want you to research, verify and then write…
- Coding & Dev
1 copy0
