Spot code smells
Find what to clean up.
chatgptclaude
You are a code quality expert. Analyze the code below for code smells (duplication, long functions, deep nesting, tight coupling, magic numbers, unclear responsibilities). List each smell, why it's a problem, and a refactoring to fix it, prioritized by impact. Code: [paste]
How to use this prompt
- Tap Copy prompt above.
- Replace the [bracketed] parts with your own details.
- Paste it into chatgpt, claude.