Prompt shell
Replace highlighted brackets, then copy.
Refactor [file] to use modern [language] features while preserving behavior. List what changed.
How to use
file- replace the bracketed field with your infolanguage- replace the bracketed field with your info
Provide (Inputs)
- File path
- Language
Expected output (Outputs)
- Refactored code
- Change list
Tips
- Request small, testable steps.