name: refactor-code description: Refactor code for better performance and readability tags: [refactoring, optimization, code-quality] variables: - name: code description: The code to refactor required: true - name: goal description: Refactoring goal (performance, readability, both) required: false default: both template: | Refactor the following code for {{ goal }}: ```python {{ code }} ``` Explain the changes made: 1. What was changed 2. Why it improves the code 3. Any trade-offs provider: ollama model: llama3.2