Skip to main content

Improve readability of a single source file without changing behavior

Code
By ZealousZuchonZ69 | 0 views 0 copies |

Prompt

Use this template to improve readability of a single source file without changing behavior. ## INPUTS - Code - the code to clean up - (optional) File path ## INSTRUCTIONS 1. Keep behavior identical. Avoid semantic changes. 2. Rename unclear variables and functions to intent-revealing names. 3. Remove redundant or noisy comments. Keep value-adding docs. 4. Add comments where logic is non-obvious (why > what). 5. Reformat for consistency per project standards. 6. Ensure lints and static analysis p

Rate this prompt

Click to rate

0.0 avg rating (0)