Refactor code snippets for clarity, maintainability, and performance using Claude. Accepts source code and target goals