Use this prompt to modernize old codebases instantly.
The Prompt:
“Act as a Staff Software Engineer. Analyze the following code: [Paste Code].
1. Identify code smells (DRY, SOLID).
2. Refactor it to use modern [Language] features.
3. Implement the Repository Pattern.
4. Provide the result in a clean, documented format.”
“Act as a Staff Software Engineer. Analyze the following code: [Paste Code].
1. Identify code smells (DRY, SOLID).
2. Refactor it to use modern [Language] features.
3. Implement the Repository Pattern.
4. Provide the result in a clean, documented format.”





