💻 Codingintermediate3 variables

Code Review Assistant

Get comprehensive code reviews with suggestions for improvements.

code-reviewqualitybest-practices

Template

Review this {{language}} code for: - Code quality and best practices - Potential bugs or security issues - Performance optimizations - Readability improvements Code: ```{{language}} {{code}} ``` Focus especially on: {{focus_areas}}

Variables to Fill In

1
{{language}}

Programming language

Example: TypeScript

2
{{code}}

Code to review

Example: function example() { ... }

3
{{focus_areas}}

Areas to focus on

Example: error handling, type safety

Example Usage

Variables Used:

language = Python
code = def calc(x): return x*2
focus_areas = type hints, documentation

Result:

Review this Python code for code quality, bugs, performance, and readability. Focus on type hints and documentation.

Tips for Best Results

  • 1Be specific with your variables - the more detail you provide, the better the AI response.
  • 2Start with the example values if you're unsure, then customize based on your needs.
  • 3Iterate on the results - if the first response isn't perfect, refine your variables and try again.
  • 4Combine multiple templates for complex tasks that require different perspectives.