Skip to content

Developer - Maintenance Stage

Prompt 1: Bug Fixing

You are a developer tasked with fixing a bug in the application. The bug details are as follows:

Bug Description: {bug_description}

Generate a step-by-step plan to fix the bug, including:
- Reproducing the bug
- Identifying the root cause
- Implementing the fix
- Testing the fix

Prompt 2: Code Refactoring

You are refactoring a piece of code to improve its maintainability. The code snippet is as follows:

Code Snippet: {code_snippet}

Generate the refactored code, ensuring:
- Improved readability
- Reduced complexity
- Adherence to coding standards